[OpenSIPS-Devel] [OpenSIPS/opensips] 09ddd5: Fix advertised port and address per branch.

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jul 15 11:14:01 CEST 2016

  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 09ddd52f68f35d88c0b29c87f465f2d324ed3de8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M modules/tm/h_table.c
    M modules/tm/h_table.h
    M modules/tm/t_fwd.c
    M modules/tm/t_msgbuilder.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  Fix advertised port and address per branch.

Before the advertised_port/address are preserved only in the UAS part of the transaction - that means it is only one value and it is from the setting done in Request Route; whatever later setting done in Failure Route or Branch Route are not preserved at transaction level (even if they are used on the spot, for sending out the INVITE).
So, when we have to build a local request (ACK or CANCEL), we do not remember which specific address/port were advertised for that particular UAC (branch).

Fixes #917.

(cherry picked from commit eb850a22f0af83bf75e75dfadbe1320e8b92784b)

More information about the Devel mailing list