________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rizwan
Hisham
        Sent: Wednesday, August 15, 2007 7:52 AM
        To: Asterisk Users Mailing List - Non-Commercial Discussion
        Subject: Re: [asterisk-users] why is nonce="584760da" used in
sip packets?
        
        
        

        This causes the asterisk server to send another unauthorisation
response with an additional parameter stale in WWW-Authenticate section
as shown below 
        
        <--- Transmitting (NAT) to 208.120.167.146:80 --->
        SIP/2.0 401 Unauthorized 
        Via: SIP/2.0/UDP
208.120.167.146:80;branch=z9hG4bK722c974c;received=208.120.167.146 
        From: <sip:[EMAIL PROTECTED]>;tag=as1acc7245
        To: <sip:[EMAIL PROTECTED]>;tag=as1d329593
        Call-ID: [EMAIL PROTECTED]
        CSeq: 19710 REGISTER 
        User-Agent: Asterisk PBX
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY 
        Supported: replaces
        WWW-Authenticate: Digest algorithm=MD5, realm="asterisk",
nonce="4f90fab4", stale=true
        Content-Length: 0
        
        this stale=true field causes the asterisk server to display the
following NOTICE on the cli 
        
        NOTICE[8380]: chan_sip.c:8151 check_auth: Correct auth, but
based on stale nonce received from '<sip:[EMAIL PROTECTED] >'
        
        and this will continue happening unless the next register
request uses the nonce field recieved in latest unauthorisation response
from server, and untill then the user agent will not be able to register
with the server. This will cause problems in our services. 
        
          

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Reply via email to