Take care if you are using realtime,  I saw that asterisk erase for some reason the &quot;username&quot; field in the sipusers table when you do sip reload.<div><br></div><div>Regards,</div><div><br></div><div>Lucas<br><br>
<div class="gmail_quote">On Fri, Oct 22, 2010 at 11:59 AM, Ovidiu Sas <span dir="ltr">&lt;<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If you use that particular config, you need to disable authentication<br>
on the asterisk side.<br>
Just read careful the tutorial.<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div><div></div><div class="h5"><br>
On Fri, Oct 22, 2010 at 9:15 AM, Sundeep Kumar Mishra<br>
&lt;<a href="mailto:sundeep123kumariiit@gmail.com">sundeep123kumariiit@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;          I have installed an asterisk server at <a href="http://10.3.3.143:5080" target="_blank">10.3.3.143:5080</a> and a<br>
&gt; kamailio at <a href="http://10.3.3.85:5060" target="_blank">10.3.3.85:5060</a>. I am using sip communicator as softphone SIP<br>
&gt; Client. It is able to register at kamailio but the kamailio is not able to<br>
&gt; forward register request to asterisk.<br>
&gt;<br>
&gt; We have gone through the tutorial<br>
&gt; <a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb</a><br>
&gt; and used the configuration file after changing the asterisk ip and kamailio<br>
&gt; ip.<br>
&gt;<br>
&gt; We found out that when a normal softphone authenticates directly to asterisk<br>
&gt; it sends and recieve<br>
&gt;<br>
&gt; |--softphone -- REGISTER<br>
&gt; |--asterisk -- 401 Unauthorised . CHallenge<br>
&gt; |--softphone -- REGISTER - Response to Challenge<br>
&gt; |--asterisk -- 200 OK (If response was correct)<br>
&gt;<br>
&gt; But I saw that when  kamailio forwards register to asterisk, it sends first<br>
&gt; REGISTER packet but doesn&#39;t second the second one. It sends SUBSCRIBE<br>
&gt; instead of REGISTER with response to the challenge.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Sundeep Kumar Mishra<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
<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>
</blockquote></div><br></div>