Yealink не регистрируется на сервере
Такая ситуация - есть VPN между офисами, но со странностями (порты транслирует криво, судя по логу)
вот что в консоли:
<------------->
[Nov 26 12:37:33] --- (12 headers 0 lines) ---
[Nov 26 12:37:33] Sending to 192.168.5.183 : 5062 (no NAT)
[Nov 26 12:37:33]
<--- Transmitting (no NAT) to 192.168.5.183:5062 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.5.183:5062;branch=z9hG4bK2096545799;received=192.168.5.183
From: "Conf.Room.K" <sip:5001@192.168.1.131>;tag=581168740
To: "Conf.Room.K" <sip:5001@192.168.1.131>;tag=as25cf4094
Call-ID: 945695964@192.168.5.183
CSeq: 7 REGISTER
Server: Asterisk PBX 1.6.1.20
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="593f9c5f"
Content-Length: 0
<------------>
[Nov 26 12:37:33] Scheduling destruction of SIP dialog '945695964@192.168.5.183' in 32000 ms (Method: REGISTER)
[Nov 26 12:37:35]
<--- SIP read from UDP://192.168.5.183:10994 --->
REGISTER sip:192.168.1.131 SIP/2.0
Via: SIP/2.0/UDP 192.168.5.183:5062;branch=z9hG4bK2096545799
From: "Conf.Room.K" <sip:5001@192.168.1.131>;tag=581168740
To: "Conf.Room.K" <sip:5001@192.168.1.131>
Call-ID: 945695964@192.168.5.183
CSeq: 7 REGISTER
Contact: <sip:5001@192.168.5.183:5062>
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T20P 9.43.14.5
Expires: 3600
Content-Length: 0
<------------->
сип конф:
[5001]
type=friend
host=dynamic
context=internal
qualify=yes
canreinvite=no
disallow=all
allow=all
secret=5001-User
nat=no
|