Hallo,
ich habe heute mein Snom360 mit meinem lokalen Asterisk verbunden.
Register klappt, telefonieren klappt. Doch nach ca. 40 Sekunden zeigt mein Snom an, dass es nicht mehr registriert sei.
Habe mal die Logs ausgewertet im Asterisk und festgestellt, dass ihm die nince nicht gefällt.
Aber mein Snom antwortet doch mit dem(?) richtigen Code oder nicht?
LG
taaz
ich habe heute mein Snom360 mit meinem lokalen Asterisk verbunden.
Register klappt, telefonieren klappt. Doch nach ca. 40 Sekunden zeigt mein Snom an, dass es nicht mehr registriert sei.
Habe mal die Logs ausgewertet im Asterisk und festgestellt, dass ihm die nince nicht gefällt.
Aber mein Snom antwortet doch mit dem(?) richtigen Code oder nicht?
Code:
<--- SIP read from UDP:192.168.1.11:5066 --->
REGISTER sip:192.168.1.9 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-5d1sqrhuymo2;rport
From: "snom" <sip:[email protected]>;tag=r7rizmr5xi
To: "snom" <sip:[email protected]>
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 34 REGISTER
Max-Forwards: 70
Contact: <sip:[email protected]:5066>;flow-id=1;q=1.0;+sip.instance="<urn:uuid:47404ca5-6e77-46a5-b3f4-6901016965c3>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
User-Agent: snom360/7.1.30
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.11
Expires: 60
Content-Length: 0
<------------->
--- (14 headers 0 lines) ---
Sending to 192.168.1.11:5066 (NAT)
<--- Transmitting (no NAT) to 192.168.1.11:5066 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-5d1sqrhuymo2;received=192.168.1.11;rport=5066
From: "snom" <sip:[email protected]>;tag=r7rizmr5xi
To: "snom" <sip:[email protected]>;tag=as70ac03cf
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 34 REGISTER
Server: Asterisk PBX 1.8.13.1~dfsg1-3+deb7u3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2a285520"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '3c2670197442-9jtiuirriaeb' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:192.168.1.11:5066 --->
REGISTER sip:192.168.1.9 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-rgcxkamhve76;rport
From: "snom" <sip:[email protected]>;tag=r7rizmr5xi
To: "snom" <sip:[email protected]>
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 35 REGISTER
Max-Forwards: 70
Contact: <sip:[email protected]:5066>;flow-id=1;q=1.0;+sip.instance="<urn:uuid:47404ca5-6e77-46a5-b3f4-6901016965c3>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
User-Agent: snom360/7.1.30
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.11
Authorization: Digest username="snom",realm="asterisk",nonce="2a285520",uri="sip:192.168.1.9",response="fd20332f4dee11b07b5c94701d40855c",algorithm=MD5
Expires: 60
Content-Length: 0
<------------->
--- (15 headers 0 lines) ---
Sending to 192.168.1.11:5066 (no NAT)
-- Registered SIP 'snom' at 192.168.1.11:5066
<--- Transmitting (no NAT) to 192.168.1.11:5066 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-rgcxkamhve76;received=192.168.1.11;rport=5066
From: "snom" <sip:[email protected]>;tag=r7rizmr5xi
To: "snom" <sip:[email protected]>;tag=as70ac03cf
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 35 REGISTER
Server: Asterisk PBX 1.8.13.1~dfsg1-3+deb7u3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Expires: 60
Contact: <sip:[email protected]:5066>;expires=60
Date: Fri, 02 Jan 2015 19:55:52 GMT
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '3c2670197442-9jtiuirriaeb' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:192.168.1.11:5066 --->
REGISTER sip:192.168.1.9 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-qj7f6i38fu8b;rport
From: "snom" <sip:[email protected]>;tag=vp92yz5wdc
To: "snom" <sip:[email protected]>
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 36 REGISTER
Max-Forwards: 70
Contact: <sip:[email protected]:5066>;flow-id=1;q=1.0;+sip.instance="<urn:uuid:47404ca5-6e77-46a5-b3f4-6901016965c3>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
User-Agent: snom360/7.1.30
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.11
Expires: 60
Content-Length: 0
<------------->
--- (14 headers 0 lines) ---
Sending to 192.168.1.11:5066 (NAT)
<--- Transmitting (no NAT) to 192.168.1.11:5066 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-qj7f6i38fu8b;received=192.168.1.11;rport=5066
From: "snom" <sip:[email protected]>;tag=vp92yz5wdc
To: "snom" <sip:[email protected]>;tag=as34322a5f
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 36 REGISTER
Server: Asterisk PBX 1.8.13.1~dfsg1-3+deb7u3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="20f4b326"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '3c2670197442-9jtiuirriaeb' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:192.168.1.11:5066 --->
REGISTER sip:192.168.1.9 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-1obe935sv4jx;rport
From: "snom" <sip:[email protected]>;tag=vp92yz5wdc
To: "snom" <sip:[email protected]>
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 37 REGISTER
Max-Forwards: 70
Contact: <sip:[email protected]:5066>;flow-id=1;q=1.0;+sip.instance="<urn:uuid:47404ca5-6e77-46a5-b3f4-6901016965c3>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
User-Agent: snom360/7.1.30
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.11
Authorization: Digest username="snom",realm="asterisk",nonce="20f4b326",uri="sip:192.168.1.9",response="83906404e3c5435311041a5e5134c9d5",algorithm=MD5
Expires: 60
Content-Length: 0
<------------->
--- (15 headers 0 lines) ---
Sending to 192.168.1.11:5066 (no NAT)
[Jan 2 20:56:22] NOTICE[6199]: chan_sip.c:14503 check_auth: Correct auth, but based on stale nonce received from '"snom" <sip:[email protected]>;tag=vp92yz5wdc'
<--- Transmitting (no NAT) to 192.168.1.11:5066 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.11:5066;branch=z9hG4bK-1obe935sv4jx;received=192.168.1.11;rport=5066
From: "snom" <sip:[email protected]>;tag=vp92yz5wdc
To: "snom" <sip:[email protected]>;tag=as70ac03cf
Call-ID: 3c2670197442-9jtiuirriaeb
CSeq: 37 REGISTER
Server: Asterisk PBX 1.8.13.1~dfsg1-3+deb7u3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="15371914", stale=true
Content-Length: 0
<------------>
LG
taaz