<p>In modules/usrloc/dlist.c:</p>
<pre style='color:#555'>&gt; @@ -130,6 +131,18 @@ static int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
&gt;  
&gt;          LM_DBG(&quot;buf: %p. flags: %d\n&quot;, buf, flags);
&gt;  
&gt; +        if (sockaddr_list_str.s) {
&gt; +                i = snprintf(query_socket, sizeof(query_socket), &quot; and socket in (%.*s)&quot;,
</pre>
<p>Is this IN operator compliant with all SQL standards (Postgres, MySQL, etc.)? Or should we convert it to a standard format like "... AND (socket = IP1 or socket = IP2 ...)"?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/pull/127/files#r12153160'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNDQ5NjAzOCwiZGF0YSI6eyJpZCI6MjAyNjE1NTR9fQ==--55059c1e02842a4d46a9705723c071b4e32572a7.gif' height='1' width='1'></p>