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, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3005/c1019849022@github.com>