[SR-Users] How to implement a self-sustained Presence server

E. Schmidbauer eschmidbauer at gmail.com
Mon Dec 28 18:57:08 CET 2020

You could try
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.
I ultimately took a different approach, which is to *extract* the presence
out of other services (e.g. FreeSWITCH via ESL) using custom code and then
publishing the presence updates via modules such as evapi
<https://www.kamailio.org/docs/modules/devel/modules/evapi> or nsq
<https://www.kamailio.org/docs/modules/devel/modules/nsq> or xhttp
<https://www.kamailio.org/docs/modules/devel/modules/xhttp> combined with
pua_json <https://www.kamailio.org/docs/modules/devel/modules/pua_json> and
presence <https://www.kamailio.org/docs/modules/devel/modules/presence>
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...)
I hope this helps!

On Mon, Dec 28, 2020 at 9:20 AM Michel Pelletier <
michelpelletier07 at gmail.com> wrote:

> Hi,
> 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?
> I'm using the latest version 5.4.x.
> Regards,
> Michel Pelletier
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201228/b1a9c44d/attachment.htm>

More information about the sr-users mailing list