<div dir="ltr">Here are the contents of the presentity table for the test call.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 5:54 PM, SamyGo <span dir="ltr"><<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Daniel,<div>Thanks alot for your time, please see the log file attached.</div><div><br></div><div>If needed, I can provide sip captures received at the phone .</div><div><br></div><div>Thanks,</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 4:42 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></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,<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<div><div><br>
    <br>
    <div>On 05/02/15 22:21, SamyGo wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div>
      <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>"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></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span><font color="#888888">
</font></span></pre><span><font color="#888888">
    </font></span></blockquote><span><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>