<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div>You might want to call dispatch route route(1) if aliase lookup succeed <br></div><div><br></div><div>like below,</div><div><br></div><div>&nbsp;&nbsp; if (alias_db_lookup("dbaliases")){<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog(" applying dbaliases\n");</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br></div><div>&nbsp;&nbsp;&nbsp; }<br><br><span></span></div><div><span>hope this may help you.</span></div><div><br><span></span></div><div><span></span></div><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Akib Sayyed
 &lt;akibsayyed@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Pasan Meemaduma &lt;pasandev@ymail.com&gt;; OpenSIPS users mailling list &lt;users@lists.opensips.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 19, 2011 5:13 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] aliasing in opensips not working<br></font><br><div id="yiv692229922">I did that but still its not working<br><br><br><div class="yiv692229922gmail_quote">On Tue, Jul 19, 2011 at 12:22 PM, Pasan Meemaduma <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:pasandev@ymail.com" target="_blank" href="mailto:pasandev@ymail.com">pasandev@ymail.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv692229922gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 10pt;">
<div><span></span></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><span>HI <br></span></div><div><br><span></span></div><div><span>I think you should enable a dbaliase lookup as below</span></div>
<div><br><span></span></div><div><div class="yiv692229922im">&nbsp;&nbsp;&nbsp; # apply DB based aliases (uncomment to enable)<br></div>&nbsp;&nbsp;&nbsp; alias_db_lookup("dbaliases");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;-- uncomment this line<br></div><div><br></div><font face="Arial" size="2"><hr size="1">
</font></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Akib Sayyed<br>Matrix-Shell<br><a rel="nofollow" ymailto="mailto:akibsayyed@gmail.com" target="_blank" href="mailto:akibsayyed@gmail.com">akibsayyed@gmail.com</a><br><a rel="nofollow" ymailto="mailto:akibsayyed@matrixshell.com" target="_blank" href="mailto:akibsayyed@matrixshell.com">akibsayyed@matrixshell.com</a><br>
Mob:- +91-966-514-2243<br><br><br>
</div><br><br></div></div></div></body></html>