Hi Friends,<br><br>need to help.<br><br><b>I have problem about sip : SIP/2.0 401 Unauthorized</b><br>Is it require to nathelper module in kamailio ?<br><b>what can i write kamailio.cfg file when kamailio and Asterisk on same network?</b><br>
<br>Scenario is like as :<br>-----------------------------<br>1) kamailio server on 172.18.100.74<br>kamailio.cfg ( nathelpler module )<br>-----------------<br>loadmodule &quot;nathelper.so&quot;<br>modparam(&quot;nathelper&quot;, &quot;rtpproxy_sock&quot;, &quot;unix:/var/run/rtpproxy.sock&quot;)<br>
modparam(&quot;nathelper&quot;, &quot;natping_interval&quot;, 60)<br>modparam(&quot;nathelper&quot;, &quot;ping_nated_only&quot;, 1)<br>modparam(&quot;nathelper&quot;, &quot;rtpproxy_disable_tout&quot;, 60)<br>modparam(&quot;nathelper&quot;, &quot;rtpproxy_tout&quot;, 1)<br>
modparam(&quot;nathelper&quot;, &quot;rtpproxy_retr&quot;, 5)<br>modparam(&quot;nathelper&quot;, &quot;sipping_method&quot;, &quot;OPTIONS&quot;)<br>modparam(&quot;nathelper&quot;, &quot;received_avp&quot;, &quot;$avp(i:801)&quot;)<br>
<br>2) Asterisk server on 172.18.100.65<br>sip.conf<br>-----------<br>[rajnikant]<br>nat=yes<br>disallow=all<br>allow=alaw<br>allow=ulaw<br>allow=gsm<br>type=peer<br>context=default<br>host=172.18.100.74<br>fromdomain=<a href="http://rajnikant.net">rajnikant.net</a><br>
mailbox=user@context<br><br>-- <br>Thanks and  Regards<br>Rajnikant Vanza<br>