Hi,<br><br>When client trying to REGISTER, kamailio responses with 401 Unauthorized.<br>&nbsp;<br>&nbsp;&nbsp; if (is_method(&quot;REGISTER&quot;))<br>&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!www_authorize(&quot;&quot;, &quot;subscriber&quot;))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www_challenge(&quot;&quot;, &quot;0&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!save(&quot;location&quot;))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp; }<br><br>Here is my debug log:<br><br>
Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:core:get_hdr_field: cseq &lt;CSeq&gt;: &lt;1&gt; &lt;REGISTER&gt;<br>Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:tm:t_lookup_request: start searching: hash=39046, isACK=0<br>Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:tm:matching_3261: <span style="background-color: rgb(255, 255, 51);">RFC3261 transaction matching failed</span><br>
Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:tm:t_lookup_request:<span style="background-color: rgb(255, 255, 51);"> no transaction found</span><br>Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:core:grep_sock_info: checking if host==us: 14==14 &amp;&amp;&nbsp; [<a href="http://209.16.123.160">209.16.123.160</a>] == [<a href="http://209.16.123.160">209.16.123.160</a>] <br>
Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:auth:pre_auth:<span style="background-color: rgb(255, 255, 51);"> credentials with given realm not found</span><br>Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:auth:reserve_nonce_index: second= 36, sec_monit= -1,&nbsp; index= 0<br>
Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:auth:build_auth_hf: nonce index= 0<br>Nov 10 13:52:46&nbsp;&nbsp; kamailio: DBG:auth:build_auth_hf: &#39;WWW-Authenticate: Digest realm=&quot;xx.xx.xx.xx&quot;, nonce=&quot;4918842a00000000663ef5a903a02d6628e7e8e8b093c44b&quot;^M &#39;<br>
<br>Am I missing something in the config?<br><br>Regards,<br>RR<br><br>