<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Asterisk destroys SIP dialogs in 32 secs, so increased the UAC registry expiration to 300 secs just in case, but that didn't help either.<br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: mistral9999@hotmail.com<br>To: asterisk-users@lists.digium.com<br>Date: Sun, 1 Jan 2012 18:13:07 -0500<br>Subject: [asterisk-users] registration not authorized - stale nonce<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
I have a very basic setup where a UAC registers with Asterisk 1.8.7.2 - both on the same subnet, no nat. <br><br>The following is the flow of messages:<br>1. UAC sends the registration request<br>2. Asterisk responds with 401 Unauthorized with a new nonce<br>3. UAC sends a new digest with the nonce received from Asterisk<br>4. Asterisk authorizes UAC and sends OK<br><br>This works as expected when there is no load on the Asterisk server.<br><br>For testing asterisk under load, I use Sipp (runnig at a server on the same subnet) with a very basic scenario (call is placed, moh played, sipp hangs up after 20 secs). Max calls on the system at one time is 50. <br><br>My problem happens when the above UAC tries to register while the Sipp test is running.<br><br>Steps 1 and 2 above happen as expected, Asterisk sends a new nonce to the UAC, but at step 3, UAC sends the old digest (old nonce) back to Asterisk. Asterisk doesn't authorize the UAC with "Correct auth, but based on stale nonce" warning.<br><br>UAC registration expiry is 60 seconds. As I mentioned, if the test is not running, everything seems to be OK. If I adjust the max calls to 10 in the test and reduce the load, the registrations go thru. <br><br>Any ideas?<br><br>Thanks,<br>Matt<br>                                            </div>
<br>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users</div>                                            </div></body>
</html>