<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 9/30/11 12:51 AM, Krishna Kurapati wrote:
    <blockquote
cite="mid:CAOzCjAccKgUj5CVtD83q-kppYsx4QGsuJuCdS9JvhjvB=hrRfQ@mail.gmail.com"
      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'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>
    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 class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/usrloc.html">http://kamailio.org/docs/modules/stable/modules_k/usrloc.html</a><br>
    <a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/nathelper.html">http://kamailio.org/docs/modules/stable/modules_k/nathelper.html</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>