Код: Выделить всё
<--- SIP read from UDP:xxx.xxx.xxx.xxx:5060 --->
REGISTER sip:xxx.xxx.xxx.xxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.240:5060;branch=z9hG4bK60f5431934af8ce6
From: "130" <sip:130@xxx.xxx.xxx.xxx>;tag=ad6e815b-705355
To: "130" <sip:130@xxx.xxx.xxx.xxx>
Call-ID: D1B9-1112-4668481081A368EA413A-001@SipHost
CSeq:548 REGISTER
Contact: <sip:130@xxx.xxx.xxx.xxx:5060>
Expires:600
Max-Forwards:70
User-Agent:dlink 12-3854-2923-0.10.37.1-DS+
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Sending to xxx.xxx.xxx.xxx:5060 (NAT)
<--- Transmitting (NAT) to xxx.xxx.xxx.xxx:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.240:5060;branch=z9hG4bK60f5431934af8ce6;received=89.105.148.197;rport=5060
From: "130" <sip:130@xxx.xxx.xxx.xxx>;tag=ad6e815b-705355
To: "130" <sip:130@xxx.xxx.xxx.xxx>;tag=as424a4fda
Call-ID: D1B9-1112-4668481081A368EA413A-001@SipHost
CSeq: 548 REGISTER
Server: Asterisk PBX 1.8.11-cert2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="57e8344d"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1112-4668481081A368EA413A-001@SipHost' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:xxx.xxx.xxx.xxx:5060 --->
REGISTER sip:xxx.xxx.xxx.xxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.240:5060;branch=z9hG4bK58d8217ce1116d0d
From: "130" <sip:130@xxx.xxx.xxx.xxx>;tag=ad6e815b-705355
To: "130" <sip:130@xxx.xxx.xxx.xxx>
Call-ID: D1B9-1112-4668481081A368EA413A-001@SipHost
CSeq:549 REGISTER
Contact: <sip:130@192.168.0.240:5060>
Expires:600
Max-Forwards:70
Authorization:Digest username="130",realm="asterisk",nonce="57e8344d",uri="sip:46.38.57.146:5060",response="0b5fdbc402c3288c2244b79173dae462",algorithm=MD5
User-Agent:dlink 12-3854-2923-0.10.37.1-DS+
Content-Length: 0
<------------->
--- (12 headers 0 lines) ---
Sending to xxx.xxx.xxx.xxx:5060 (NAT)
[Jul 5 18:49:44] NOTICE[1081]: chan_sip.c:14583 check_auth: Correct auth, but based on stale nonce received from '"130" <sip:130@xxx.xxx.xxx.xxx>;tag=ad6e815b-705355'
<--- Transmitting (NAT) to xxx.xxx.xxx.xxx:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.240:5060;branch=z9hG4bK58d8217ce1116d0d;received=89.105.148.197;rport=5060
From: "130" <sip:130@xxx.xxx.xxx.xxx>;tag=ad6e815b-705355
To: "130" <sip:130@xxx.xxx.xxx.xxx>;tag=as77ce8113
Call-ID: D1B9-1112-4668481081A368EA413A-001@SipHost
CSeq: 549 REGISTER
Server: Asterisk PBX 1.8.11-cert2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="53efe344", stale=true
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'D1B9-1112-4668481081A368EA413A-001@SipHost' in 32000 ms (Method: REGISTER)
Really destroying SIP dialog 'D1B9-1112-4668481081A368EA413A-001@SipHost' Method: REGISTER
Reliably Transmitting (NAT) to xxx.xxx.xxx.xxx:5060:
OPTIONS sip:131@192.168.0.240:5060 SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK733b9855;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@xxx.xxx.xxx.xxx>;tag=as458c750e
To: <sip:131@192.168.0.240:5060>
Contact: <sip:asterisk@xxx.xxx.xxx.xxx:5060>
Call-ID: 33cba3b5164f89b6370c2bcc3282f232@46.38.57.146:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.11-cert2
Date: Thu, 05 Jul 2012 14:49:55 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:xxx.xxx.xxx.xxx:5060 --->
SIP/2.0 200 OK
Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,REFER,SUBSCRIBE,NOTIFY,UPDATE
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;rport;branch=z9hG4bK733b9855
From: "asterisk" <sip:asterisk@xxx.xxx.xxx.xxx>;tag=as458c750e
To: <sip:131@192.168.0.240:5060>;tag=7c85b4d0-705367
Call-ID: 33cba3b5164f89b6370c2bcc3282f232@46.38.57.146:5060
CSeq:102 OPTIONS
Contact: <sip:131@192.168.0.240:5060>
User-Agent:dlink 12-3854-2923-0.10.37.1-DS+
Content-Length: 0
<------------->