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

Liviu Chircu liviu at opensips.org
Tue Aug 14 12:15:39 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d6733cb42ea1a6505486bc02266bf418b97207f
      https://github.com/OpenSIPS/opensips/commit/1d6733cb42ea1a6505486bc02266bf418b97207f
  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


  Commit: 20b063f9bf781c569cf8fba8dad9367c7bb9f726
      https://github.com/OpenSIPS/opensips/commit/20b063f9bf781c569cf8fba8dad9367c7bb9f726
  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


Compare: https://github.com/OpenSIPS/opensips/compare/8369c3191ed0...20b063f9bf78
      **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