[sr-dev] [kamailio/kamailio] dialog: Add dlg_get_matches function (PR #3005)

rhys-hanrahan notifications at github.com
Mon Jan 24 09:42:44 CET 2022


Thanks Daniel! As it happens, I just finished re-writing this code. I did end up creating a struct to return each matching dlg ptr, along with it's table entry index, to allow for locking. After some basic testing, this seems to be working for me, without copying the dialogs.

There's more cleanup I'd do before merging but I wanted to check if you have any issues with this overall approach before spending more time on it.

Thanks for the tip on jsonrpcs_exec - I was trying to find something like this originally but couldn't. As of right now, the solution in this PR is working well for me. But l will look at jsonrpcs_exec as a plan B. 

Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3005#issuecomment-1019849022
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3005/c1019849022 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220124/b68803d9/attachment.htm>


More information about the sr-dev mailing list