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

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


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 59f153743b5bfa2c184dc03e32574a4f80135c1e
      https://github.com/OpenSIPS/opensips/commit/59f153743b5bfa2c184dc03e32574a4f80135c1e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-07-14 (Thu, 14 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

  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