@gaaf - I see that dlg_update_rr_set() is used only for DLG_CALLER_LEG, no need to do it
for CALLEE as well?
Having an option to update Record-Route sets within dialog can be useful, I think at this
moment they are stored only during the call setup.
On the other hand, for what you try to achieve, I wonder if it would not be simpler to use
somehow the caller/callee sockets fields, they are already stored inside the dialog record
and they should overlap in address, port and transport with local record-route. So based
on modparam, the local requests are sent to the caller/callee socket, with top record
route built at storage time or at send time (store vs cpu question here, like none that
relevant to decide for one or the other option) -- this just as an idea, I haven't
really analyzed if it is a simpler solution, I just thought that those addresses are
already stored.
--
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/pull/1832#issuecomment-462518197