[OpenSIPS-Devel] [OpenSIPS/opensips] 5e2597: mid_registrar: Fix broken AoR throttling with use_...

Liviu Chircu liviu at opensips.org
Tue Aug 14 12:16:09 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5e259756b4a15077da80d5c529e2b6435d89466b
      https://github.com/OpenSIPS/opensips/commit/5e259756b4a15077da80d5c529e2b6435d89466b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M modules/mid_registrar/lookup.c
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix broken AoR throttling with use_domain = 1

Enabling both usrloc's "use_domain" and mid-registrar's AoR throttling
mode would cause broken advertised Contact header field URIs such as:

    sip:alice at atlanta.com@10.0.0.10:5060

This patch fixes this issue such that the mid-registrar advertises:

    sip:alice%40atlanta.com at 10.0.0.10:5060

Fixes half of issue #1431

(cherry picked from commit 1d6733cb42ea1a6505486bc02266bf418b97207f)


  Commit: 2b78f1746dbf501c3763e905919a62429e54c01b
      https://github.com/OpenSIPS/opensips/commit/2b78f1746dbf501c3763e905919a62429e54c01b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M modules/mid_registrar/lookup.c

  Log Message:
  -----------
  mid_registrar: Add the "global lookup" flag

Fixes #1431

(cherry picked from commit 20b063f9bf781c569cf8fba8dad9367c7bb9f726)


Compare: https://github.com/OpenSIPS/opensips/compare/e4f409e2fd5d...2b78f1746dbf
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list