[OpenSIPS-Devel] [OpenSIPS/opensips] 8d3daa: usrloc: Fix broken contact_id generation

Liviu Chircu liviu at opensips.org
Thu Jan 18 08:50:50 EST 2018


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




More information about the Devel mailing list