Daniel.

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


пт, 1 окт. 2021 г. в 07:17, Daniel-Constantin Mierla <miconda@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@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)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/


--
Best regards,
Igor