[OpenSIPS/opensips] 5c8937: mid_registrar: Do not ignore "advertised address"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[OpenSIPS/opensips] 5c8937: mid_registrar: Do not ignore "advertised address"

Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5c893731666ff374e9cc3183d3358f195dd7087d
  Author: Liviu Chircu <[hidden email]>
  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

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

Devel mailing list
[hidden email]