<p>My suggestion here would be to change the method signature:<br>
ds_select_domain(set, alg [,[flags] [,max_results]]).</p>

<p>Where:</p>

<ul class="task-list">
<li>set, alg and max_results can be a list (same as before);</li>
<li>flags is a global param (just like it was with a module param).</li>
</ul>

<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/269#issuecomment-57804269">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNzk2NjExOSwiZGF0YSI6eyJpZCI6MzcxMjc5MzR9fQ==--b2d12aa7a84b6bef36f311e348827c7524dab1f0.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/pull/269#issuecomment-57804269","name":"View Pull Request"}}</script>