A quick follow up on this, I enabled some logging, but the retcode is not making any sense to me (probably because I&#39;m using it wrong).  <br><br>From my config:<br><br>                xlog (&quot;REGISTER $fu&quot;);<br>
                # authenticate the REGISTER requests (uncomment to enable auth)<br>                if (!www_authorize(&quot;&quot;, &quot;subscriber&quot;))<br>                {<br>                        xlog (&quot;Not authorized - challenging, error: $retcode&quot;);<br>
                        www_challenge(&quot;&quot;, &quot;1&quot;);<br>                        exit;<br>                }<br><br>Then in the log:<br><br>Apr  2 13:49:38 ip-10-160-23-47 /usr/local/sbin/opensips[30180]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>
Apr  2 13:49:38 ip-10-160-23-47 /usr/local/sbin/opensips[30180]: Not authorized - challenging, error: 4294967293<br>Apr  2 13:49:38 ip-10-160-23-47 /usr/local/sbin/opensips[30182]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>
Apr  2 13:49:58 ip-10-160-23-47 /usr/local/sbin/opensips[30180]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>Apr  2 13:50:18 ip-10-160-23-47 /usr/local/sbin/opensips[30182]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>
Apr  2 13:50:18 ip-10-160-23-47 /usr/local/sbin/opensips[30182]: Not authorized - challenging, error: 4294967292<br>Apr  2 13:50:18 ip-10-160-23-47 /usr/local/sbin/opensips[30180]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>
Apr  2 13:50:38 ip-10-160-23-47 /usr/local/sbin/opensips[30182]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>Apr  2 13:50:58 ip-10-160-23-47 /usr/local/sbin/opensips[30180]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>
Apr  2 13:50:58 ip-10-160-23-47 /usr/local/sbin/opensips[30180]: Not authorized - challenging, error: 4294967292<br>Apr  2 13:50:58 ip-10-160-23-47 /usr/local/sbin/opensips[30182]: REGISTER <a href="mailto:sip%3A1001@vidtel.com">sip:1001@vidtel.com</a><br>
<br>Also I&#39;m running 1.6.2-tls compiled today from latest 1_6 branch in SVN.<br><br>-dg<br>
<br><br><div class="gmail_quote">On Fri, Apr 2, 2010 at 1:40 PM, Daniel Goepp <span dir="ltr">&lt;<a href="mailto:dan@goepp.net">dan@goepp.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I&#39;m having some trouble with nonce expiring I believe.  The problem is that every other one of my endpoint registrations is doing an auth challenge w/401.<br><br>From my config:<br>modparam(&quot;registrar&quot;, &quot;default_expires&quot;, 60)<br>

modparam(&quot;registrar&quot;, &quot;min_expires&quot;, 60)<br>modparam(&quot;registrar&quot;, &quot;max_expires&quot;, 60<br><br>modparam(&quot;auth&quot;, &quot;nonce_expire&quot;, 3600)<br><br>From this I would expect the devices to try to register every 60 seconds, and get challenged every hour with a new nonce.<br>

<br>Comments on why OpenSIPS is challenging every other registration?<br><br>Thanks<br><font color="#888888"><br>-dg<br>
</font></blockquote></div><br>