<div>Thanks for the suggestion. I added following lines to the config</div><div><br></div><div>#!define FLB_NATB 6</div><div>#!define FLB_NATSIPPING 7</div><div># ----- nathelper params -----</div><div><div>modparam(&quot;nathelper&quot;, &quot;natping_interval&quot;, 30)</div>
<div>modparam(&quot;nathelper&quot;, &quot;ping_nated_only&quot;, 1)</div><div>modparam(&quot;nathelper&quot;, &quot;sipping_bflag&quot;, FLB_NATSIPPING)</div><div>modparam(&quot;nathelper&quot;, &quot;sipping_method&quot;, &quot;INFO&quot;)</div>
<div>modparam(&quot;nathelper&quot;, &quot;sipping_from&quot;, &quot;<a href="mailto:sip%3Apinger@10.1.0.6">sip:pinger@10.1.0.6</a>&quot;)</div><div><br></div><div># params needed for NAT traversal in other modules</div><div>
modparam(&quot;nathelper|registrar&quot;, &quot;received_avp&quot;, &quot;$avp(RECEIVED)&quot;)</div><div>modparam(&quot;usrloc&quot;, &quot;nat_bflag&quot;, FLB_NATB)</div></div><div><br></div><div>However, I do not see INFO messages from server to client in ngrep</div>
<div>Am I missing something else to configure here?</div><div><br></div><div>Thanks</div><div>Krish Kura</div><div><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 2:52 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<div><div></div><div class="h5"><br>
    <br>
    On 9/30/11 12:51 AM, Krishna Kurapati wrote:
    <blockquote type="cite">
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi,
          <div><br>
          </div>
          <div>The iPhone client, when it goes into background, can only
            respond to incoming messages.</div>
          <div>That makes the Registration expire when there is no
            communication from the server before</div>
          <div>the expire time. I could make the Registration not expire
            at all. Not sure it&#39;s the only option.</div>
          <div><br>
          </div>
          <div>Is there a way to send a Ping message from server
            periodically to the iPhone SIP client. This</div>
          <div>will wakeup the SIP client and resend REGISTER message.</div>
          <div><br>
          </div>
        </blockquote>
      </div>
    </blockquote></div></div>
    you can set the nat_bflag (see usrloc module) to mark the
    registration as being natted. Then use nathelper module mark it to
    send OPTIONS ping (sipping_bflag parameter).<br>
    <br>
    <a href="http://kamailio.org/docs/modules/stable/modules_k/usrloc.html" target="_blank">http://kamailio.org/docs/modules/stable/modules_k/usrloc.html</a><br>
    <a href="http://kamailio.org/docs/modules/stable/modules_k/nathelper.html" target="_blank">http://kamailio.org/docs/modules/stable/modules_k/nathelper.html</a><br>
    <br>
    Cheers,<br>
    Daniel<br><font color="#888888">
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
  </font></div>

</blockquote></div><br></div>