[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer 'UPSTREAM' is now UNREACHABLE! Last qualify: 28
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2263' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2262' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2261' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2272' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2271' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2274' is now UNREACHABLE! Last qualify: 8
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2276' is now UNREACHABLE! Last qualify: 9
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2201' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2283' is now UNREACHABLE! Last qualify: 64
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2202' is now UNREACHABLE! Last qualify: 8
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2223' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:05] NOTICE[22674] chan_sip.c: Peer '2212' is now UNREACHABLE! Last qualify: 10
[Aug 5 11:12:06] NOTICE[22674] chan_sip.c: Peer '2221' is now UNREACHABLE! Last qualify: 8
[Aug 5 11:12:06] NOTICE[22674] chan_sip.c: Peer '2222' is now UNREACHABLE! Last qualify: 11
[Aug 5 11:12:06] NOTICE[22674] chan_sip.c: Peer '2231' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:06] NOTICE[22674] chan_sip.c: Peer '2232' is now UNREACHABLE! Last qualify: 7
[Aug 5 11:12:06] NOTICE[22674] chan_sip.c: Peer 'UPSTREAM2' is now UNREACHABLE! Last qualify: 39
Затем сразу поднимаются.
Asterisk 11.17.0
Провайдеры за натом
Код: Выделить всё
[general]
register => XXX:XXXX@192.168.130.1:5150/XXXX
register => XXXX:XXXX@login.mtt.ru/XXXX
;register => PTG:K0l0tundr@192.168.196.103/A2
;register => PTG:K0l0tundr@192.168.212.103/ROSTOVO
;register => PTG:K0l0tundr@192.168.240.59/ROSTOVS
;register => PTG:K0l0tundr@192.168.211.215/GK
allowguest=no
allowexternalinvites=yes
useragent=mycomp
lomitonpeeers=yes
defaultexpiry=360
callevents=yes
language=ru
tcpenable=yes
transport=udp,tcp
;videosupport=yes
nat=force_rport,comedia
canreinvite=no
directmedia=no
qualify=3000
qualifyfreq=60
;t38pt_udptl=yes
faxdetect=no
[ipphone](!)
type=friend
host=dynamic
secret=7777777
callgroup=1
pickupgroup=1
allow=alaw
allow=g729
allow=gsm
allow=ulaw
#include "/etc/asterisk/sip_users.conf"
[UPSTREAM]
type=friend
context=incoming
port=5150
defaultuser=xxxx
fromdomain=192.168.130.1
fromuser=xxxx
secret=xxxx
host=192.168.130.1
dtmfmode=inband
disallow=all
allow=alaw
allow=g722
allow=g729
allow=gsm
allow=ulaw
t38pt_udptl=no
insecure=port,invite
[UPSTREAM2]
type=peer
defaultuser=xxxx
fromdomain=login.mtt.ru
;nat=comedia
host=login.mtt.ru
insecure=port,invite
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=g729
allow=ulaw
t38pt_udptl=yes
t38pt_rtp=no
t38pt_tcp=no
fromuser=xxxx
secret=xxxxx
username=xxxx