Перегрузили оборудование, возникла проблема с регистрацией телефона, хотя все настройки остались в первоначальном состоянии. Есть SIP телефон, есть Asterisk, между сетями поднят VPN канал.
Вот что говорит sip debug:
Код: Выделить всё
<--- SIP read from UDP:192.168.0.155:5060 --->
REGISTER sip:192.168.0.251:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.155:5060;branch=z9hG4bK1162415765
From: "304" <sip:304@192.168.0.251:5060>;tag=1155964943
To: "304" <sip:304@192.168.0.251:5060>
Call-ID: 0_1793122602@192.168.88.40
CSeq: 1 REGISTER
Contact: <sip:304@192.168.0.155:5060;line=542e1390ccbb925>
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T21P_E2 52.80.14.1
Expires: 3600
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
Sending to 192.168.0.155:5060 (NAT)
<--- Transmitting (NAT) to 192.168.0.155:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.155:5060;branch=z9hG4bK1162415765;received=192.168.0.155;rport=5060
From: "304" <sip:304@192.168.0.251:5060>;tag=1155964943
To: "304" <sip:304@192.168.0.251:5060>;tag=as55523ec8
Call-ID: 0_1793122602@192.168.88.40
CSeq: 1 REGISTER
Server: FPBX-2.8.1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4e9f1d5e"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '0_1793122602@192.168.88.40' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:192.168.0.155:5060 --->
REGISTER sip:192.168.0.251:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.155:5060;branch=z9hG4bK1752122187
From: "304" <sip:304@192.168.0.251:5060>;tag=1155964943
To: "304" <sip:304@192.168.0.251:5060>
Call-ID: 0_1793122602@192.168.88.40
CSeq: 2 REGISTER
Contact: <sip:304@192.168.0.155:5060;line=542e1390ccbb925>
Authorization: Digest username="304", realm="asterisk", nonce="4e9f1d5e", uri="sip:192.168.0.251:5060", response="97f8238a93eb20cb3adf390804da42f2", algorithm=MD5
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T21P_E2 52.80.14.1
Expires: 3600
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0
<------------->
--- (14 headers 0 lines) ---
Sending to 192.168.0.155:5060 (NAT)
<--- Transmitting (NAT) to 192.168.0.155:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.0.155:5060;branch=z9hG4bK1752122187;received=192.168.0.155;rport=5060
From: "304" <sip:304@192.168.0.251:5060>;tag=1155964943
To: "304" <sip:304@192.168.0.251:5060>;tag=as55523ec8
Call-ID: 0_1793122602@192.168.88.40
CSeq: 2 REGISTER
Server: FPBX-2.8.1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
Спасибо!