[OpenSIPS-Devel] [OpenSIPS/opensips] 303b00: mid_registrar: Do not ignore "advertised address"

Liviu Chircu noreply at github.com
Thu Mar 7 08:45:47 EST 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 303b00dec93051c1cd24f2bdb136fe32176d6bbd
      https://github.com/OpenSIPS/opensips/commit/303b00dec93051c1cd24f2bdb136fe32176d6bbd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-03-07 (Thu, 07 Mar 2019)

  Changed paths:
    M modules/mid_registrar/save.c
    M msg_translator.h

  Log Message:
  -----------
  mid_registrar: Do not ignore "advertised address"

Whenever the send socket address is overridden, in decreasing
precedence order, through either:

    * listen = <sock> AS <advertised_address>
    * set_advertised_address() script function
    * advertised_address = <adddress> global parameter

... the mid-registrar will now properly take this into account and
include the advertised address in all REGISTER Contacts header fields it
relays.

Many thanks to Italo Rossi (@italorossi) for reporting this issue.
Fixes #1619

(cherry picked from commit 5c893731666ff374e9cc3183d3358f195dd7087d)





More information about the Devel mailing list