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@HOSTNAME" ? Is this HOSTNAME a turn/stun server?

modparam("nat_traversal", "keepalive_from", "sip:keepalive@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@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

--


View this message in context: Re: User offline
Sent from the Users mailing list archive at Nabble.com.