SIP/2.0 401 Unauthorized
Добавлено: 08 фев 2017, 11:14
Коллеги, есть пачка аккаунтов, одни работают прекрасно в одной сети с asterisk, другие отказываются регистрироваться, разница, они ходят по ipsec.
Код: Выделить всё
[2017-02-08 11:00:20] VERBOSE[444] chan_sip.c: Scheduling destruction of SIP dialog '2058791893-5060-2@BA.HH.BI.CA' in 32000 ms (Method: REGISTER)
[2017-02-08 11:00:22] VERBOSE[444] chan_sip.c:
<--- SIP read from UDP:10.77.18.20:5060 --->
REGISTER sip:10.0.15.2:5160 SIP/2.0
Via: SIP/2.0/UDP 10.77.18.20:5060;branch=z9hG4bK1888020423;rport
From: <sip:7157@10.0.15.2:5160>;tag=2063889987
To: <sip:7157@10.0.15.2:5160>
Call-ID: 2058791893-5060-2@BA.HH.BI.CA
CSeq: 3095 REGISTER
Contact: <sip:7157@10.77.18.20:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B8296655C>"
Max-Forwards: 70
User-Agent: Grandstream GXP1610 1.0.2.27
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Length: 0
<------------->
[2017-02-08 11:00:22] VERBOSE[444] chan_sip.c: --- (13 headers 0 lines) ---
[2017-02-08 11:00:22] VERBOSE[444] chan_sip.c: Sending to 10.77.18.20:5060 (no NAT)
[2017-02-08 11:00:22] VERBOSE[444] chan_sip.c:
<--- Transmitting (no NAT) to 10.77.18.20:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.77.18.20:5060;branch=z9hG4bK1888020423;received=10.77.18.20;rport=5060
From: <sip:7157@10.0.15.2:5160>;tag=2063889987
To: <sip:7157@10.0.15.2:5160>;tag=as130a1868
Call-ID: 2058791893-5060-2@BA.HH.BI.CA
CSeq: 3095 REGISTER
Server: FPBX-13.0.190.11(13.11.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3fef4932"
Content-Length: 0