On 10/3/05, Morten Isaksen <[EMAIL PROTECTED]> wrote:

On 10/3/05, Olle E. Johansson <[EMAIL PROTECTED] > wrote:
> Does anyone know what "stale nonce" is?
I've answered this question many times, so you should be able to find
the answer...

A stale nonce is when a device tries to re-authenticate with a nonce
that is no longer valid. We are telling them that the nonce they used is
invalid, and re-issue a new challenge and a fresh nonce. It's just an
informative message, that I propably should move away to a debug level
of some kind.
 
 
I get this error when I use a Audiocodes MP-124 against Asterisk 1.2beta1 and asterisk refuses the call. When I use CVS-D2005.02.12.14.37.11-04/13/05-16:14:03 it works fine.
 
I do not have access to the debug and log file now, but I will send them tomorrow.
 
 
Here is the output from sip debug. I hope someone can explain what is wrong.

<-- SIP read from 10.131.2.1:5060:
INVITE sip:[EMAIL PROTECTED];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.131.2.1 ;branch=z9hG4bKaciipncbQ
Max-Forwards: 70
From: <sip:[EMAIL PROTECTED]>;tag=1c1850211233
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Contact: <sip:[EMAIL PROTECTED]>
Supported: em,100rel,timer,replaces,path
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.008.006
Content-Type: application/sdp
Content-Length: 242

v=0
o=AudiocodesGW 644554 101011 IN IP4 10.131.2.1
s=Phone-Call
c=IN IP4 10.131.2.1
t=0 0
m=audio 6070 RTP/AVP 8 0 96
a=rtpmap:8 pcma/8000
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ptime:20
a=sendrecv

--- (13 headers 12 lines)---
Using INVITE request as basis request - [EMAIL PROTECTED]
Sending to 10.131.2.1 : 5060 (non-NAT)
Reliably Transmitting (no NAT) to 10.131.2.1:5060:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.131.2.1;branch=z9hG4bKaciipncbQ
From: <sip:[EMAIL PROTECTED]>;tag=1c1850211233
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as6a339401
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Contact: <sip:[EMAIL PROTECTED]>
Proxy-Authenticate: Digest realm="asterisk", nonce="22a96479"
Content-Length: 0


---
Scheduling destruction of call '[EMAIL PROTECTED]' in 15000 ms
Found user '070001'
localhost*CLI>
<-- SIP read from 10.131.2.1:5060:
ACK sip:[EMAIL PROTECTED];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.131.2.1;branch=z9hG4bKaciipncbQ
Max-Forwards: 70
From: < sip:[EMAIL PROTECTED]>;tag=1c1850211233
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as6a339401
Call-ID: [EMAIL PROTECTED]
CSeq: 1 ACK
Contact: <sip:[EMAIL PROTECTED]>
Supported: em,timer,replaces,path
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.008.006
Content-Length: 0


--- (12 headers 0 lines)---
localhost*CLI>
<-- SIP read from 10.131.2.1:5060:
INVITE sip:[EMAIL PROTECTED];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.131.2.1;branch=z9hG4bKaclMBIpvu
Max-Forwards: 70
From: <sip:[EMAIL PROTECTED]>;tag=1c1850211233
To: < sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 2 INVITE
Proxy-Authorization: Digest username="070001",realm="asterisk",nonce="22a96479" ",uri=" sip:[EMAIL PROTECTED]",algorithm=MD5,response="41cc6e74fc333e770fa28a7db158a495"
Contact: <sip:[EMAIL PROTECTED]>
Supported: em,100rel,timer,replaces,path
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.008.006
Content-Type: application/sdp
Content-Length: 242

v=0
o=AudiocodesGW 644554 101011 IN IP4 10.131.2.1
s=Phone-Call
c=IN IP4 10.131.2.1
t=0 0
m=audio 6070 RTP/AVP 8 0 96
a=rtpmap:8 pcma/8000
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ptime:20
a=sendrecv

--- (14 headers 12 lines)---
Using INVITE request as basis request - [EMAIL PROTECTED]
Sending to 10.131.2.1 : 5060 (non-NAT)
Oct  4 13:20:51 NOTICE[4078]: chan_sip.c:5710 check_auth: stale nonce received from '<sip:[EMAIL PROTECTED];user=phone>'
Reliably Transmitting (no NAT) to 10.131.2.1:5060:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.131.2.1;branch=z9hG4bKaclMBIpvu
From: <sip:[EMAIL PROTECTED] >;tag=1c1850211233
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as6a339401
Call-ID: [EMAIL PROTECTED]
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Contact: <sip:[EMAIL PROTECTED]>
Proxy-Authenticate: Digest realm="asterisk", nonce="0e317db4"
Content-Length: 0


---
Scheduling destruction of call '[EMAIL PROTECTED]' in 15000 ms
Found user '070001'
localhost*CLI>
<-- SIP read from 10.131.2.1:5060:
ACK sip:[EMAIL PROTECTED];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.131.2.1;branch=z9hG4bKaclMBIpvu
Max-Forwards: 70
From: < sip:[EMAIL PROTECTED]>;tag=1c1850211233
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as6a339401
Call-ID: [EMAIL PROTECTED]
CSeq: 2 ACK
Contact: <sip:[EMAIL PROTECTED]>
Supported: em,timer,replaces,path
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
User-Agent: Audiocodes-Sip-Gateway-MP-124 FXS/v.4.60A.008.006
Content-Length: 0


--- (12 headers 0 lines)---



--
Morten Isaksen
http://www.misak.dk/blog/
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to