[SR-Users] Querying presence state from config file
miconda at gmail.com
Fri Oct 1 09:17:20 CEST 2021
if there is a rpc command for that, jsonrpcs has a function to execute
from routing blocks, then jansson module can be used to dissect the rpc
If not and no exiting function in the readmes can help, then it requires
c code to implement a new function.
On 01.10.21 09:07, Igor Olhovskiy wrote:
> Is there any method of querying presence (dialog) state for particular
> endpoint from config file other than that direct query to presence
> tables in database?
> Idea is to reflect server-side DND state as "confirmed" (talking) , so
> I need to skip certain PUBLISH messages not to reset this state.
> Best regards,
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users