<div class="gmail_quote">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 "nathelper.so"<br>modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")<br>
modparam("nathelper", "natping_interval", 60)<br>modparam("nathelper", "ping_nated_only", 1)<br>modparam("nathelper", "rtpproxy_disable_tout", 60)<br>modparam("nathelper", "rtpproxy_tout", 1)<br>
modparam("nathelper", "rtpproxy_retr", 5)<br>modparam("nathelper", "sipping_method", "OPTIONS")<br>modparam("nathelper", "received_avp", "$avp(i:801)")<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" target="_blank">rajnikant.net</a><br>
mailbox=user@context<br></div><br>-- <br>Thanks and Regards<br>Rajnikant Vanza<br><br>