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

Bogdan Andrei IANCU noreply at github.com
Mon Nov 18 09:51:58 EST 2019

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 561086c3d1dd44531cc1672650ae81e93a1fa43a
  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