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(a)github.com>