[sr-dev] [kamailio/kamailio] Presence module RPC command to dump active watchers from memory. (#2188)

VolodyaIvanets notifications at github.com
Thu Jan 2 14:46:47 CET 2020


### Description

Explain what you did, what you expected to happen, and what actually happened.

I'm looking at using presence module with **subs_db_mode** parameter set to 0-2 where it uses memory to store and query active watchers. I noticed that sometimes Kamailio will throw following message during PUBLISH processesing and it will not generate appropriate NOTIFY for watchers:
`DEBUG: presence [notify.c:1234]: publ_notify(): Could not find subs_dialog `

RPC command to dump current active watchers will be helpful during troubleshooting. Currently with **subs_db_mode** set to 0 you can not tell for sure if subsciption already expired or not. And with **subs_db_mode** set to 1 or 2 you can get information from DB with delay. This command will also allow to clarify subscriber _domain_ value which if I understood correctly must match domain from presentity.

Thanks a lot!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2188
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200102/3aebe111/attachment.html>


More information about the sr-dev mailing list