[SR-Users] User offline
ycaner
yasin.caner at netgsm.com.tr
Fri May 6 08:05:09 CEST 2016
Hello;
at registration route , you can use nat traversal function , there
is a sample on kamailio.cfg
that parameter is just adding from and request header for
information on OPTIONS packet. you can add your 120.XXX.XXX.XXX
Cheers.
2016-05-06 08:59 tarihinde 王欣鑫 [via SIP
Router] yazdı:
Hello,ycaner!
Thanks for your advice!
I searched nat_traversal in kamailio.cfg in PCSCF module, and
found that I should define WITH_NATPING.
After doing this, a new problem came. What does this line mean?
What should I configure to replace
"sip:keepalive at HOSTNAME" ? Is this HOSTNAME a turn/stun server?
modparam("nat_traversal", "keepalive_from", "sip:keepalive at HOSTNAME")
#!ifdef WITH_NATPING
# ----- nat_traversal params -----
# If another keepalive is wanted, this is the place
modparam("nat_traversal", "keepalive_interval", 20)
# If another method than NOTIFY is wanted:
modparam("nat_traversal", "keepalive_method", "OPTIONS")
# From?
modparam("nat_traversal", "keepalive_from",
"sip:keepalive at HOSTNAME")
# Where we store information about keep-alives:
modparam("nat_traversal", "keepalive_state_file",
"/var/run/kamailio/keepalive_state")
#!endif
If you reply to this email, your
message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148177.html
To unsubscribe from User offline, click
here .
NAML
--
yasin-imza-2014.jpg (51K) <http://sip-router.1086192.n5.nabble.com/attachment/148178/0/yasin-imza-2014.jpg>
--
View this message in context: http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148178.html
Sent from the Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160505/4f03f0c8/attachment.html>
More information about the sr-users
mailing list