<p>Have been using openser for a couple of months and i run into a problem.</p><p>Currently i'm using alias_db_lookup, location and t_relay to do the routing.</p><p>Since many clients have many numbers, i need to to rewrite the contact to the right client. It's doing it but only for a client with one number. Need for clients with more numbers.</p><p>This is what i want:</p><p>&nbsp;<br />$client_n = 1234</p><p>alias_db_lookup(&quot;db_aliases&quot;); -&gt; client_number@provider.com</p><p>location(&quot;location&quot;); -&gt; client_number@client_ip</p><p>rewriteuser($client_n);</p><p>t_relay();&nbsp;</p><p>This is what i have:</p><p>alias_db_lookup(&quot;dbaliases&quot;);&nbsp;</p><p>lookup(&quot;location);</p><p>t_relay();</p><p>&nbsp;</p><p>Anyone have this implemented?&nbsp;</p><p><p><br />Nelson Silva
<br />-----------------
<br />email: nelson.silva@neuvex.com
<br />website: http://www.neuvex.com
<br /></p></p><BR>