<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", "sip:1.2.5.5" )</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>