[OpenSIPS-Devel] [OpenSIPS/opensips] 95f81b: usrloc: Fix broken contact_id generation

Liviu Chircu liviu at opensips.org
Thu Jan 18 11:09:24 EST 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 95f81bb8768b6fb5b660352960c72cf93ad96088
      https://github.com/OpenSIPS/opensips/commit/95f81bb8768b6fb5b660352960c72cf93ad96088
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M lib/reg/ci.c
    M modules/usrloc/ureplication.c

  Log Message:
  -----------
  usrloc: Fix broken contact_id generation

Commit b2554c3c3a actually broke contact_id generation during replicated
usrloc contact inserts. We now ensure all registrar insert_ucontact() calling
code passes on a zeroed "ucontact_info_t" struct, such that new contact_ids get
properly generated with every call.

Reported by @sekil on IRC

(cherry picked from commit 8d3daae21d32c703b883d3f665a5c37fe3c17e20)




More information about the Devel mailing list