<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>For the topic here I need to look a bit at the code in order to
      see what can be done now in an easier way. If I find it easier to
      just add some C code to simplify a bit kamailio.cfg, will you be
      interested in testing with kamailio master branch (devel version)?
      Because it would be rather impossible for me these days to setup
      quickly a testbed for such case..<br>
    </p>
    <p>If you control the client, one thing is to rely on push
      notifications to optimize some communication with the server. I
      will also write more once I know how they can be related with the
      internal structures we have.</p>
    <p>Also, for battery life of the watcher as well as getting most up
      to date information, by subscribing only when the person it's
      looking at the contact in the body list and subscribe with
      expires=0 in order to get only one notification...</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 21/11/16 12:43, João Resende wrote:<br>
    </div>
    <blockquote
cite="mid:CAJaiw=F9Z4nKXo-dnmtoDnd4KVi3z6fT_pzDLU4zpEdAM1JRdQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Sorry for the double email, 
        <div><br>
        </div>
        <div>I do not use UDP.</div>
        <div><br>
        </div>
        <div>I can control also the client side, what do you think that
          is the simplest way to archive this goal?</div>
        <div><br>
        </div>
        <div>best<br>
          João</div>
        <div><br>
          <br>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-11-21 11:37 GMT+00:00 João Resende
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ms92resende@gmail.com" target="_blank">ms92resende@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr"><span style="font-size:12.8px">Hello,<br>
                <br>
                Can be both option TCP or TLS. I don't test with udp.</span>
              <div><span style="font-size:12.8px"><br>
                </span></div>
              <div><span style="font-size:12.8px">best,<br>
                  João<br>
                </span>
                <div class="gmail_extra">
                  <div class="gmail_quote"><br>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>