<p>Hi <a href="https://github.com/wdoekes" class="user-mention">@wdoekes</a> , <a href="https://github.com/razvancrainea" class="user-mention">@razvancrainea</a>  - my 2 cents on the matter : to solve both problems in the same time (working with in mem contact and being sure we are SQL simple) we can do the listener-based filtering after the contacts are aquired (mem or db), in the OpenSIPS code -&gt; single piece of code doing this task, which can be on/off via modparam</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#issuecomment-53180662">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDQ4MDc4NiwiZGF0YSI6eyJpZCI6MjAyNjE1NTR9fQ==--c6e15cc3af6f435897d6190cd2535d8245591224.gif" width="1" /></p>