Hi all,<br>I am using an asterisk as a client to connect to another asterisk server by registering with the register string. Registration is done without any hassel, but after sometime my asterisk loses the registration with the server and the server starts displaying the following msgs repeatedly:
<br><br><span style="color: rgb(0, 153, 0);">[Aug&nbsp; 9 06:37:59] NOTICE[8380]: chan_sip.c:8151 check_auth: Correct auth, but based on stale nonce received from &#39;&lt;<a href="mailto:sip:diet@magnum.axvoice.com">sip:diet@magnum.axvoice.com
</a>&gt;&#39;</span><br clear="all"><br>I dont know what is the problem. Can somebody explain me this?&nbsp; Below is my client configuration.<br><br><span style="color: rgb(204, 102, 0);">[general]</span><br style="color: rgb(204, 102, 0);">
<span style="color: rgb(204, 102, 0);">bindport=9060</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">bindaddr=<a href="http://0.0.0.0">0.0.0.0</a></span><br style="color: rgb(204, 102, 0);">
<span style="color: rgb(204, 102, 0);">disallow=all</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">allow=ulaw</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">
allow=alaw</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">allow=g729</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">allow=gsm</span><br style="color: rgb(204, 102, 0);">
<span style="color: rgb(204, 102, 0);">context=incoming</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">allowexternalinvites=yes</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 51, 204);">
register=&gt; <a href="http://diet:pepsi@magnum.axvoice.com:9060">diet:pepsi@magnum.axvoice.com:9060</a></span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">registertimeout=10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;(default 20 secs)
</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">registerattempts=10&nbsp;&nbsp;&nbsp;&nbsp; ;set it to zero for infinit attempts</span><br style="color: rgb(204, 102, 0);"><br>Following is the server sip account im using for my client asterisk to register:
<br><br><span style="color: rgb(204, 102, 0);">[diet]</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">username=diet</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">
type=friend</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">secret=pepsi</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">qualify=no</span><br style="color: rgb(204, 102, 0);">
<span style="color: rgb(204, 102, 0);">nat=yes</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">mailbox=12129339033</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">
insecure=invite,port</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">call-limit=2</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">host=dynamic</span><br style="color: rgb(204, 102, 0);">
<span style="color: rgb(204, 102, 0);">dtmfmode=rfc2833</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">context=local</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">
canreinvite=no</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">callerid=&quot;formula one&quot; &lt;13232044055&gt;</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">
accountcode=1:0:abc</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">amaflags=default</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">disallow=all</span><br style="color: rgb(204, 102, 0);">
<span style="color: rgb(204, 102, 0);">allow=ulaw</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">allow=alaw</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">
allow=gsm</span><br style="color: rgb(204, 102, 0);"><span style="color: rgb(204, 102, 0);">allow=g729</span><br style="color: rgb(204, 102, 0);"><br>-- <br>Best Regards<br>Rizwan Hisham<br>Software Engineer<br>Axvoice Inc.
<br><a href="http://www.axvoice.com">www.axvoice.com</a>