<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  
  
    <font face="Courier New, Courier, monospace">Hello;<br>
      at registration route , you can use nat traversal function , there
      is a sample on kamailio.cfg<br>
      that parameter is just adding from and request header for
      information on OPTIONS packet. you can add your 120.XXX.XXX.XXX <br>
      <br>
      Cheers.<br>
      <br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">2016-05-06 08:59 tarihinde 王欣鑫 [via SIP
      Router] yazdı:<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' cite="mid:1462514384738-148177.post@n5.nabble.com"
      type="cite"> Hello,ycaner!
      <br>
      <br>
      Thanks for your advice!
      <br>
      <br>
      I searched nat_traversal in kamailio.cfg in PCSCF module, and
      found that I should define WITH_NATPING.
      <br>
      <br>
      After doing this, a new problem came. What does this line mean?
      What should I configure to replace
      <br>
      "sip:keepalive@HOSTNAME" ? Is this HOSTNAME a turn/stun server?
      <br>
      <br>
      modparam("nat_traversal", "keepalive_from", <b>"sip:keepalive@HOSTNAME"</b>)
      <br>
      <br>
      <br>
      #!ifdef WITH_NATPING
      <br>
      # ----- nat_traversal params -----
      <br>
      # If another keepalive is wanted, this is the place
      <br>
      modparam("nat_traversal", "keepalive_interval", 20)
      <br>
      # If another method than NOTIFY is wanted:
      <br>
      modparam("nat_traversal", "keepalive_method", "OPTIONS")
      <br>
      # From?
      <br>
      modparam("nat_traversal", "keepalive_from",
      "sip:keepalive@HOSTNAME")
      <br>
      # Where we store information about keep-alives:
      <br>
      modparam("nat_traversal", "keepalive_state_file",
      "/var/run/kamailio/keepalive_state")
      <br>
      #!endif
      <br>
      <br>
      <br>
      <br>
      <br>
      <hr color="#cccccc" noshade="noshade" size="1">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148177.html" target="_top" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148177.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To unsubscribe from User offline, <a moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title></title>
      <div align="left">
        <div style="width:300px;" align="left">
          <a href="http://www.netgsm.com.tr" target="_blank" rel="nofollow" link="external">
            <img src="http://sip-router.1086192.n5.nabble.com/attachment/148178/0/yasin-imza-2014.jpg"
              alt"netgsm"="" border="0">
          </a>
        </div>
      </div>
    </div>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148178.html">Re: User offline</a><br/>
Sent from the <a href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users mailing list archive</a> at Nabble.com.<br/>