[OpenSIPS-Users] dlg_send_sequential and topology hiding
M S
medeanwz at gmail.com
Sat Nov 23 14:02:27 UTC 2024
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20241123/cafbdf81/attachment.html>
More information about the Users
mailing list