[OpenSIPS-Users] dlg_send_sequential and topology hiding

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Dec 9 08:57:39 UTC 2024


Hi,

Could you please open a bug report on the github tracker for this issue?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 23.11.2024 16:02, M S wrote:
> Hi guys,
> There seems to be a bug in dlg_send_sequential when working in 
> topology hiding mode. If we use topology hiding with the "C" flag that 
> changes callid, every request sent with dlg_send_sequential is sent 
> with changed CallId, regardless of direction.
> For example, if a call comes in with callid x and topology hiding 
> changes it to y and sends it out, then every in-dialog message is sent 
> with callid y, which is wrong if it is sent to the caller. It should 
> be checked if the call is sent to the caller and use x instead.
> I tried to trace it back and dialog.c sends a request to tm and tm (in 
> build_uac_req) just uses dialog->id.call_id which after topo hiding i 
> assume is changed callid. Unfortunately at this point "leg" is not 
> available in tm.c, so I could not think of an easy fix.
>
> Thanks,
> M
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list