well in this case im using asterisk as a client(UA) to connect to my other asterisk server. So is this a bug in asterisk. im using asterisk 1.4.2 both as a client and server.<br><br><div><span class="gmail_quote">On 8/15/07,
<b class="gmail_sendername">Watkins, Bradley</b> <<a href="mailto:Bradley.Watkins@compuware.com">Bradley.Watkins@compuware.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You have on your hands a broken UA, since it is not responding to the<br>changing nonce value.<br><br>- Brad<br><br>________________________________<br><br> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">
asterisk-users-bounces@lists.digium.com</a><br>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Rizwan<br>Hisham<br> Sent: Wednesday, August 15, 2007 7:52 AM
<br> To: Asterisk Users Mailing List - Non-Commercial Discussion<br> Subject: Re: [asterisk-users] why is nonce="584760da" used in<br>sip packets?<br><br><br> <--- Transmitting (NAT) to <a href="http://208.120.167.146:80">
208.120.167.146:80</a> ---><br> SIP/2.0 401 Unauthorized<br> Via: SIP/2.0/UDP<br><a href="http://208.120.167.146:80">208.120.167.146:80</a>;branch=z9hG4bK722c974c;received=<a href="http://208.120.167.146">
208.120.167.146</a><br> From: <<a href="mailto:sip:bernart48@magnum.axvoice.com">sip:bernart48@magnum.axvoice.com</a>>;tag=as1acc7245<br> To: <<a href="mailto:sip:bernart48@magnum.axvoice.com">sip:bernart48@magnum.axvoice.com
</a>>;tag=as1d329593<br> Call-ID: <a href="mailto:48f3a8b426c375a161dc1f4479bba956@127.0.0.1">48f3a8b426c375a161dc1f4479bba956@127.0.0.1</a><br> CSeq: 19710 REGISTER<br> User-Agent: Asterisk PBX<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,<br>NOTIFY<br> Supported: replaces<br> WWW-Authenticate: Digest algorithm=MD5, realm="asterisk",<br>nonce="4f90fab4", stale=true
<br> Content-Length: 0<br><br> this stale=true field causes the asterisk server to display the<br>following NOTICE on the cli<br><br> NOTICE[8380]: chan_sip.c:8151 check_auth: Correct auth, but<br>based on stale nonce received from '<
<a href="mailto:sip:bernart48@magnum.axvoice.com">sip:bernart48@magnum.axvoice.com</a><br><mailto:<a href="mailto:sip">sip</a>:<a href="mailto:bernart48@magnum.axvoice.com">bernart48@magnum.axvoice.com</a>> >'
<br><br> and this will continue happening unless the next register<br>request uses the nonce field recieved in latest unauthorisation response<br>from server, and untill then the user agent will not be able to register
<br>with the server. This will cause problems in our services.<br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--
</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>Software Engineer<br>Axvoice Inc.<br><a href="http://www.axvoice.com">www.axvoice.com</a>