Кроме того прописаны 4 пира (SIP провайдеры). Сразу после перезагрузки * - все ОК. Через пару минут - все пиры UNREACHABLE.
Вот что пишет:
sip.conf:*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Description
20/20 (Unspecified) D A 0 Unmonitored
51/51 (Unspecified) D A 0 Unmonitored
52/52 (Unspecified) D A 0 Unmonitored
61/61 (Unspecified) D A 0 Unmonitored
62/62 (Unspecified) D A 0 Unmonitored
71/71 (Unspecified) D A 0 Unmonitored
72/72 (Unspecified) D A 0 Unmonitored
73/73 (Unspecified) D A 0 Unmonitored
74/74 192.168.2.72 D A 40394 Unmonitored
75/75 (Unspecified) D A 0 Unmonitored
76/76 (Unspecified) D A 0 Unmonitored
pctelru/flamingo 217.73.112.14 N 5060 OK (103 ms)
powertelecomru/10000244 109.73.36.98 N 5060 OK (15 ms)
sip.rynga.com/flamispm 77.72.174.128 N 5060 OK (50 ms)
sipnetru/0041895711 212.53.40.40 N 5060 LAGGED (34020 ms)
15 sip peers [Monitored: 4 online, 0 offline Unmonitored: 1 online, 10 offline]
[2013-09-04 12:16:54] WARNING[16454]: chan_sip.c:4169 retrans_pkt: Retransmission timeout reached on transmission 16ca9e9c11c3937725a6c78f44be7dad@192.168.0.9 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32037ms with no response
[2013-09-04 12:17:26] NOTICE[16454]: chan_sip.c:15024 sip_reg_timeout: -- Registration for '10000244@sip.powertelecom.ru' timed out, trying again (Attempt #3)
[2013-09-04 12:17:26] NOTICE[16454]: chan_sip.c:15024 sip_reg_timeout: -- Registration for 'flamingo@sip.pctel.ru' timed out, trying again (Attempt #2)
[2013-09-04 12:17:26] NOTICE[16454]: chan_sip.c:29240 sip_poke_noanswer: Peer 'sipnetru' is now UNREACHABLE! Last qualify: 34020
[2013-09-04 12:17:58] WARNING[16454]: chan_sip.c:4169 retrans_pkt: Retransmission timeout reached on transmission 16ca9e9c11c3937725a6c78f44be7dad@192.168.0.9 for seqno 103 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32039ms with no response
[2013-09-04 12:17:58] NOTICE[16454]: chan_sip.c:29240 sip_poke_noanswer: Peer 'pctelru' is now UNREACHABLE! Last qualify: 103
[2013-09-04 12:17:58] NOTICE[16454]: chan_sip.c:29240 sip_poke_noanswer: Peer 'powertelecomru' is now UNREACHABLE! Last qualify: 15
[2013-09-04 12:17:58] NOTICE[16454]: chan_sip.c:29240 sip_poke_noanswer: Peer 'sip.rynga.com' is now UNREACHABLE! Last qualify: 50
Шаблон телефонов:[general]
canreinvite=no
use_q850_reason=yes
externip=188.123.248.01
localnet=192.168.2.0/24
nat=route
language=ru
register => flamingo:xxxxxx@sip.pctel.ru
register => 10000244:xxxxxx@sip.powertelecom.ru
context=nocontext
allowguest=no
match_auth_username=no
alwaysauthreject=yes
useragent=Asterisk
bindport=5060
bindaddr=0.0.0.0
videosupport=no
disallow = all
allow = ulaw
allow = alaw
allow = gsm
callcounter=yes
Шаблон пиров:[sip-users-office](!)
busylevel=1
limitonpeers=yes
type=friend
host=dynamic
context=office
nat=no
canreinvite=no
callgroup=1
pickupgroup=1 ; группа
transfer=yes
canpark=yes
qualify=no
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.0.0
disallow=all
allow=ulaw
allow=alaw
allow=gsm
Интересно, что раньше этот сервер стоял в той же сети, но за Керио (подключенному к тому же 804) и всё было нормально, за исключением долгих входящих дозвонов по SIP (грешили на Керио).[sip-peer](!)
localnet=192.168.2.0/255.255.255.0
externip=188.123.248.01
type=peer
port=5060
nat=yes
canreinvite=no
registersip = yes
hasexten=no
hassip=yes
hasiax=no
insecure=invite
qualify=yes
dtmfmode=rfc2833
disallow=all
;allow=g729
allow=ulaw
allow=alaw
allow=gsm