[asterisk-users] [Asterisk-users] Error : SIP/2.0 401 Unauthorized
RAJNIKANT VANZA
rajnivanza at gmail.com
Sun Dec 6 23:04:03 CST 2009
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 at context
--
Thanks and Regards
Rajnikant Vanza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091207/bd2d1ee5/attachment.htm
More information about the asterisk-users
mailing list