В консоли CLI следующая ошибка
*CLI> core stop now[Aug 28 21:12:39] NOTICE[17319]: chan_sip.c:27017 sip_poke_noanswer: Peer 'Lync_Trunk' is now UNREACHABLE! Last qualify: 0
UNREACHABLE означает что клиент не ответил на пинг через SIP OPTIONS пакет. как его можно проследить?
Конфиги на данный момент следующие:
*sip.conf
[general]
context=default ; Default context for incoming calls
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
bindport=5061
bindaddr=0.0.0.0
tcpenable=yes ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
notifyhold = yes ; Notify subscriptions on HOLD state (default: no)
[1001] ; A locally attached SIP extension
type=friend
callerid=1001
canreinvite=no
dtmfmode=rfc2833
mailbox=1001
disallow=all
allow=ulaw
transport=udp
secret=password
host=dynamic
context=default
[Lync_Trunk] ; Our Lync trunk
type=friend
port=5061 ; This is the default Lync Server TCP listening port
host=192.168.10.29 ; This should be the IP address of your Lync Server
dtmfmode=rfc2833
context=from-lync
qualify=yes
transport=tcp,udp
*Extensional.conf
[general]
static=yes
writeprotect=no
[globals]
[default]
;dialling other extensions starting with 1 followed by three digits
exten=>_1XXX,1,Dial(SIP/${EXTEN},20)
exten=>_1XXX,n,hangup()
;send every digit after 9 to Skype for Asterisk
exten=>_9.,1,Dial(Skype/${EXTEN:1},20)
exten=>_9.,n,hangup()
;dialling other extensions starting with 2 followed by three digits
exten=>_2XXX,1,Dial(SIP/Lync_Trunk/${EXTEN},20)
exten=>_2XXX,n,hangup()
[from-lync]
;dialling other extensions starting with 1 followed by three digits
exten=>_1XXX,1,Dial(SIP/${EXTEN},20)
exten=>_1XXX,n,hangup()
;send other calls to Skype for Asterisk
exten=>_.,1,Dial(Skype/${EXTEN},20)
exten=>_.,n,hangup()