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