<div dir="ltr">You could try <br><a href="https://www.kamailio.org/docs/modules/devel/modules/pua_dialoginfo">https://www.kamailio.org/docs/modules/devel/modules/pua_dialoginfo</a><br>I did not have much luck with the module (it seemed to have intermittent issues with BLF lighting up/down) but I also did not invest a ton of time figuring it out. <br>I ultimately took a different approach, which is to <i>extract</i> the presence out of other services (e.g. FreeSWITCH via ESL) using custom code and then publishing the presence updates via modules such as <a href="https://www.kamailio.org/docs/modules/devel/modules/evapi">evapi</a> or <a href="https://www.kamailio.org/docs/modules/devel/modules/nsq">nsq</a> or <a href="https://www.kamailio.org/docs/modules/devel/modules/xhttp">xhttp</a> combined with <a href="https://www.kamailio.org/docs/modules/devel/modules/pua_json">pua_json</a> and <a href="https://www.kamailio.org/docs/modules/devel/modules/presence">presence</a> modules.<br>This approach seemed to provide the flexibility I needed and allowed me to expose an external API for controlling presence (e.g. fire MWI updates, parking lot update, etc...)<br>I hope this helps!<div>Thanks,</div><div>Emmanuel<br><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 28, 2020 at 9:20 AM Michel Pelletier <<a href="mailto:michelpelletier07@gmail.com">michelpelletier07@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>What is the recommended practice for implementing a self-sustained Presence server from my current Kamailio configuration?  That is I want the Presence module to be fed status updates as Kamailio is routing calls and handling registrations.  So when a user registers, his phone is ringing, he is on the phone, etc.., the Presence module gets notified and can update its subscribers accordingly.  Must I add snippets of codes to all of these events and generate local Publish messages, or is there a better way?</div><div><br></div><div>I'm using the latest version 5.4.x.</div><div><br></div><div>Regards,</div><div><br clear="all"><div><div dir="ltr">Michel Pelletier</div></div></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>