[SR-Users] How to implement a self-sustained Presence server
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
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:
> 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.
> Michel Pelletier
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users