[OpenSIPS-Devel] [OpenSIPS/opensips] c35696: Removed useless SQL condition

Bogdan Andrei IANCU noreply at github.com
Mon Nov 18 09:52:46 EST 2019

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c3569665050557faf63d26af4a995aa19b201546
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/usrloc/ucontact.c

  Log Message:
  Removed useless SQL condition

The contact_id is an unique ID of the contact, so using the callid (as part of the query key) is redundant and useless (probabaly a leftover from the code re-factoring when the contact_id concept was introduced)

(cherry picked from commit 312cad88869c84d98307b800975ba41b5e5b65d5)

More information about the Devel mailing list