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

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jul 12 14:28:13 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: eb850a22f0af83bf75e75dfadbe1320e8b92784b
      https://github.com/OpenSIPS/opensips/commit/eb850a22f0af83bf75e75dfadbe1320e8b92784b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-07-12 (Tue, 12 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.




More information about the Devel mailing list