[OpenSIPS-Devel] [OpenSIPS/opensips] b9b2bf: dialog: update contact on TMCB_RESPONSE_FWDED
Răzvan Crainea
noreply at github.com
Tue Apr 6 10:36:48 EST 2021
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: b9b2bf9d1ffb721cac13e17decb020e4bff7c703
https://github.com/OpenSIPS/opensips/commit/b9b2bf9d1ffb721cac13e17decb020e4bff7c703
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