[SR-Users] Querying presence state from config file

Igor Olhovskiy igorolhovskiy at gmail.com
Fri Oct 1 09:55:44 CEST 2021


Daniel.

Thanks, will have a look on this approach as well!


пт, 1 окт. 2021 г. в 07:17, Daniel-Constantin Mierla <miconda at gmail.com>:

> Hello,
>
> 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
> response.
>
> If not and no exiting function in the readmes can help, then it requires c
> code to implement a new function.
>
> Cheers,
> Daniel
> On 01.10.21 09:07, Igor Olhovskiy wrote:
>
> Hello!
>
> 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,
> Igor
>
> __________________________________________________________
> 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.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>

-- 
Best regards,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211001/9d067abf/attachment.htm>


More information about the sr-users mailing list