[OpenSIPS-Devel] [OpenSIPS/opensips] fd15c1: Proper inheriting of branch attributes during DNS-...

Bogdan Andrei IANCU noreply at github.com
Tue Jan 14 10:25:14 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fd15c1c7bcb59fbae32212902baabd73c24262ae
      https://github.com/OpenSIPS/opensips/commit/fd15c1c7bcb59fbae32212902baabd73c24262ae
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of branch attributes during DNS-based failover.

When creating a fake request based on an existing UAC entity, use the DST_URI and PATH_VEC specific to that UAC entity and not the per-message values.
This will correctly preserve the DST_URI and PATH_VEC during a DNS based failover, where the new branch must be a perfect copy of the original failed branch.

(cherry picked from commit 09473b34d94014f3279a3ff53e593bc7d9ba0a41)





More information about the Devel mailing list