[OpenSIPS-Devel] [OpenSIPS/opensips] b46313: dialog: update contact on TMCB_RESPONSE_FWDED
Răzvan Crainea
noreply at github.com
Tue Apr 6 06:06:54 EST 2021
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: b463132c1b718c6905f3260917d7298a49939d29
https://github.com/OpenSIPS/opensips/commit/b463132c1b718c6905f3260917d7298a49939d29
Author: Razvan Crainea <razvan at opensips.org>
Date: 2021-04-06 (Tue, 06 Apr 2021)
Changed paths:
M modules/dialog/dlg_handlers.c
Log Message:
-----------
dialog: update contact on TMCB_RESPONSE_FWDED
Before this change, the contact was updated on the RESPONSE_OUT callback
- the problem is that in that callback, when using topology hiding, you
wouldn't know the actual Contact advertised (or fixed) by the client,
because you would only see the topology hiding's advertised Contact.
Thus, on replies, we couldn't update the remote's target properly.
Moving the update logic on TMCB_RESPONSE_FWDED exposes the right
Contact.
Credits go to John Burke (@john08burke) for documenting this in
ticket #2444.
(cherry picked from commit 50858e8aa823f9f4b4ff3bd0b8f069d1df3d25c8)
More information about the Devel
mailing list