[OpenSIPS-Devel] [OpenSIPS/opensips] 8c67f2: Add adv_contact ONLY if it is a local contact

Bogdan Andrei IANCU noreply at github.com
Tue May 14 17:33:50 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8c67f2b9511ec0c0e44b5bcfc2df7d7f73ac67f7
      https://github.com/OpenSIPS/opensips/commit/8c67f2b9511ec0c0e44b5bcfc2df7d7f73ac67f7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-15 (Wed, 15 May 2019)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  Add adv_contact ONLY if it is a local contact

Extract the outgoing contact and store it as adv_contact ONLY is a self-point contact resulted from Topo Hiding.

(cherry picked from commit bab898eb3a5bb2dc2dc0e28c2fa9e82cd63d1e6b)


  Commit: 852e629e4700494db15358fd2105d58c292aa195
      https://github.com/OpenSIPS/opensips/commit/852e629e4700494db15358fd2105d58c292aa195
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-15 (Wed, 15 May 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  Fixed missing replication for the adv_contact

This affected clustering scenarios where dialog module is used with Topo-Hiding and re-Invite pinging - the contact of the re-INVITE pings will be wrong on the nodes receiving the replicated dialog

(cherry picked from commit 58343d45ac450f8bb15a6dbfa9da164ff944424b)


  Commit: 7bb2fcc8b51c68677a9be1c9048492c62ecef5bc
      https://github.com/OpenSIPS/opensips/commit/7bb2fcc8b51c68677a9be1c9048492c62ecef5bc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-15 (Wed, 15 May 2019)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  Fixed testing wrong flags for TH status

(cherry picked from commit 80479f53d9d3c4da9019b85718bbfedd7fc091b7)


  Commit: ebd512a627c6e7745c57bfb97fb626b2484f6809
      https://github.com/OpenSIPS/opensips/commit/ebd512a627c6e7745c57bfb97fb626b2484f6809
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-15 (Wed, 15 May 2019)

  Changed paths:
    M modules/dialog/dlg_hash.c

  Log Message:
  -----------
  Fixed updating replicating advertised contact

In a TH scenario, during the dialog replication, the advertised contact may change, if the interface/socket has a different name than on the original server (due tagging, advertising, etc)

(cherry picked from commit c5d60c815096f67b9750c44390260343e7a792eb)


Compare: https://github.com/OpenSIPS/opensips/compare/48e5293fea01...ebd512a627c6



More information about the Devel mailing list