[OpenSIPS-Devel] [OpenSIPS/opensips] 1cd794: usrloc: use contact id in update replicated msg

Razvan Crainea razvan at opensips.org
Thu Nov 1 13:26:15 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1cd794c4dedf4881db8b4ffc04a76b34c53a5bab
      https://github.com/OpenSIPS/opensips/commit/1cd794c4dedf4881db8b4ffc04a76b34c53a5bab
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-11-01 (Thu, 01 Nov 2018)

  Changed paths:
    M modules/usrloc/ureplication.c

  Log Message:
  -----------
  usrloc: use contact id in update replicated msg

This commit also sends the contact_id in a replicated update packet.
This is useful when the instance that receives the replicated update
does not have the actual contact (it previously expired), and needs to
treat the update as an insert - before this patch insert would have
generated a new contact_id, possibly overlapping with another one
generated by the primary server.

(cherry picked from commit 7c13f2e7d89a8e5f297f0d29faa047b1b1a5cb04)



      **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