<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you reproduce this with three phones (not to get too much
    traffic)? Use debug=3 in kamailio.cfg and send to me all the logs
    from kamailio start. I will look to see what happens.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 05/02/15 22:21, SamyGo wrote:<br>
    </div>
    <blockquote
cite="mid:CAJUJwtgWGNju7dtPE8iszxH5N56NCWuYj_yCTrN_KMwiXH-UuQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi community,
        <div><br>
        </div>
        <div>I'm dealing with a problem here related to presence module
          handling BLF. My BLF phones are Yealink T28p with latest
          firmware and work perfectly with Asterisk and FreeSwitch but
          not with Kamailio as expected. </div>
        <div><br>
        </div>
        <div>What I'm observing here is a malfunctioning statuses due to
          accumulation of multiple entries of just one status in
          "presentitiy" table. These entries neither get expired not
          cleared from DB hence I see atleast 21 XML tags combined in
          the NOTIFY sent to Phones.</div>
        <div><br>
        </div>
        <div>Here is what I've figured out a manual way to make the BLF
          work fine again.</div>
        <div><br>
        </div>
        <div><b>Step -1</b> Make call between two endpoints. see entries
          in presentitiy table showing up. </div>
        <div><b>Step -2</b> NOTIFYs sent to phones subscribing those
          users from Kamailio and phones show correct flashing red BLF
          lights </div>
        <div><br>
        </div>
        <div><b>Step -3</b> clear the entries from presentity table
          manually i.e mysql> truncate presentity;</div>
        <div><br>
        </div>
        <div><b>Step -4</b> Hangup the phones, presentity table shows
          few more entries with state='terminated' NOTIFY sent again to
          subscribers.. BLF lighst turn green happily.</div>
        <div><br>
        </div>
        <div>Here are my module params:</div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
          <div>modparam("presence", "db_url", DBURL)</div>
          <div>modparam("presence", "notifier_processes", 1)<br>
          </div>
          <div>modparam("presence", "server_address", <a class="moz-txt-link-rfc2396E" href="sip:1.2.5.5">"sip:1.2.5.5"</a> )</div>
          <div>modparam("presence", "send_fast_notify", 0)</div>
          <div>modparam("presence", "db_update_period", 1)</div>
          <div>modparam("presence", "clean_period", 4)</div>
          <div>modparam("presence", "subs_db_mode", 2)</div>
          <div>modparam("presence", "max_expires", 36)</div>
          <div>modparam("presence", "expires_offset", 10)</div>
          <div>modparam("presence", "subs_htable_size", 12)<br>
          </div>
          <div>modparam("presence", "pres_htable_size", 12)</div>
          <div>modparam("presence", "fetch_rows", 1000)</div>
        </div>
        <div>(these params were set as default earlier but I changed
          them as above hoping they'll help)</div>
        <div><br>
        </div>
        <div>Kindly share your expert opinion.</div>
        <div><br>
        </div>
        <div>Best Regards,</div>
        <div>Sammy</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </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 World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>