You have to check username, password, realm. Also - whether password is plaintext or not.<div>If this do not work, you can put debug=4 or even more. Then you will receive plenty of messages, but may be you will see what is wrong.<br>
<br><div class="gmail_quote">On Tue, Apr 17, 2012 at 9:16 PM, Saul Waizer <span dir="ltr">&lt;<a href="mailto:saulwaizer@gmail.com">saulwaizer@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello List,<div><br></div><div>I have a fresh install kamailio 3.2.0 running on ubuntu. Everything seems to work fine according to the logs, I have enabled support for the following:</div><div><br></div><div><ul style="padding-right:0px;padding-left:0px;padding-top:0px;list-style-type:square;text-align:justify;margin-bottom:0.5em;padding-bottom:0px;margin-right:0px;color:rgb(99,140,156);margin-left:1.5em;font-family:&#39;Lucida Grande&#39;,Verdana,Lucida,Helvetica,Arial,sans-serif;margin-top:0px">

<li style="font-size:13px;line-height:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><div style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0,0,0)">

enabled support to connect to MySQL server</div></li><li style="font-size:13px;line-height:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">

<div style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0,0,0)">enabled user authentication</div></li><li style="font-size:13px;line-height:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">

<div style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0,0,0)">enabled persistent user location service</div>
</li><li style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><div style="font-size:13px;line-height:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0,0,0)">

enabled NAT traversal and updated RTPProxy control socket parameter</div><div style="font-size:13px;line-height:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0,0,0)">

<br></div><div style="font-size:13px;line-height:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0,0,0)">I added a few users with <span style="background-color:rgb(238,243,248);font-size:12px;line-height:normal">kamctl add user pass but when I try to register with my client I get the following:</span></div>

<div style="font-size:13px;line-height:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0,0,0)"><br></div></li>
</ul></div><div><div>  8.257745 x.x.x.x -&gt; 10.62.99.103 SIP Request: REGISTER sip:x.x.x.x</div><div>  8.258462 10.62.99.103 -&gt; x.x.x.x SIP Status: 401 Unauthorized    (0 bindings)</div></div><div><br></div><div>Here are some detailed logs for the reg process:</div>

<div><br></div><div>







<p>T x.x.x.x:63171 -&gt; <a href="http://10.62.99.103:5060" target="_blank">10.62.99.103:5060</a> [AP]</p>
<p>REGISTER sip:x.x.x.x SIP/2.0.</p>
<p>Via: SIP/2.0/TCP 192.168.126.19:4369;rport;branch=z9hG4bK239028812.</p>
<p>From: &lt;sip:daniel@x.x.x.x&gt;;tag=303867081.</p>
<p>To: &lt;sip:daniel@x.x.x.x&gt;.</p>
<p>Call-ID: 1300614569.</p>
<p>CSeq: 7 REGISTER.</p>
<p>Contact: &lt;sip:daniel@x.x.x.x:63171;transport=tcp;line=5a9552052fb65c8&gt;.</p>
<p>Max-Forwards: 70.</p>
<p>User-Agent: Linphone/3.5.0 (eXosip2/3.6.0).</p>
<p>Expires: 600.</p>
<p>Content-Length: 0.</p>
<p>.</p>
<p><br></p>
<p><br></p>
<p>T <a href="http://10.62.99.103:5060" target="_blank">10.62.99.103:5060</a> -&gt; x.x.x.x:63171 [AP]</p>
<p>SIP/2.0 401 Unauthorized.</p>
<p>Via: SIP/2.0/TCP 192.168.126.19:4369;rport=63171;branch=z9hG4bK239028812;received=x.x.x.x.</p>
<p>From: &lt;sip:daniel@x.x.x.x&gt;;tag=303867081.</p>
<p>To: &lt;sip:daniel@x.x.x.x&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.b260.</p>
<p>Call-ID: 1300614569.</p>
<p>CSeq: 7 REGISTER.</p>
<p>WWW-Authenticate: Digest realm=&quot;x.x.x.x&quot;, nonce=&quot;T42z9U+NssnZP82+sdkwPgl1nRk61QDm&quot;.</p>
<p>Server: kamailio (3.2.0 (i386/linux)).</p>
<p>Content-Length: 0.</p><p><br></p><p>Any help is greatly appreciated.</p></div><div><br></div><div><br></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>