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> &lt;<a href="mailto:Bradley.Watkins@compuware.com">Bradley.Watkins@compuware.com</a>&gt; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sent: Wednesday, August 15, 2007 7:52 AM
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: Asterisk Users Mailing List - Non-Commercial Discussion<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subject: Re: [asterisk-users] why is nonce=&quot;584760da&quot; used in<br>sip packets?<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;--- Transmitting (NAT) to <a href="http://208.120.167.146:80">
208.120.167.146:80</a> ---&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIP/2.0 401 Unauthorized<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From: &lt;<a href="mailto:sip:bernart48@magnum.axvoice.com">sip:bernart48@magnum.axvoice.com</a>&gt;;tag=as1acc7245<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: &lt;<a href="mailto:sip:bernart48@magnum.axvoice.com">sip:bernart48@magnum.axvoice.com
</a>&gt;;tag=as1d329593<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call-ID: <a href="mailto:48f3a8b426c375a161dc1f4479bba956@127.0.0.1">48f3a8b426c375a161dc1f4479bba956@127.0.0.1</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CSeq: 19710 REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User-Agent: Asterisk PBX<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,<br>NOTIFY<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Supported: replaces<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WWW-Authenticate: Digest algorithm=MD5, realm=&quot;asterisk&quot;,<br>nonce=&quot;4f90fab4&quot;, stale=true
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content-Length: 0<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this stale=true field causes the asterisk server to display the<br>following NOTICE on the cli<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTICE[8380]: chan_sip.c:8151 check_auth: Correct auth, but<br>based on stale nonce received from &#39;&lt;
<a href="mailto:sip:bernart48@magnum.axvoice.com">sip:bernart48@magnum.axvoice.com</a><br>&lt;mailto:<a href="mailto:sip">sip</a>:<a href="mailto:bernart48@magnum.axvoice.com">bernart48@magnum.axvoice.com</a>&gt; &gt;&#39;
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp; <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>