Hi Gustavo,<div>I'm doing something similar, being that I need a lookup per INVITE. Bogdan's recommendation for me was to use the memcaching functions in 1.5:</div><div><a href="http://www.opensips.org/index.php?n=Resources.DocsTutMemcache">http://www.opensips.org/index.php?n=Resources.DocsTutMemcache</a></div>
<div><br class="webkit-block-placeholder"></div><div><br><br><div class="gmail_quote">On Wed, Feb 18, 2009 at 8:45 AM, Gustavo Mistrinelli <span dir="ltr"><<a href="mailto:gmistrinelli@gmail.com">gmistrinelli@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all, I'm trying to figure out if we can use or add functionalities to dynamic routing module to do "incoming routing" based on callee destination ($ru) per user<br>
The idea is to have inbound rules per user (username/domain or user aliases i.e. numbers ) <br>
Each user will set their incoming rules, i.e. First rule ring my numbers and username (lookup registered devices) for 15 seconds, then call my cellphone for 10 second, then call<br clear="all">
home number for 20 seconds and then call my voicemail, each step may ring on more than one devices at the same time, it's a mix of serial and parallel forking. Condition to do next step is if get 4XX errors (not found, busy, etc)<br>
We can add also time conditions and black/white list. <br><br>I did it using custom avp_db_query but will be nice have rules on memory without querying tables every time.<br><br>I'll be waiting for your suggestions<br>
<br>Best,<br><br>-- <br><font color="#888888">
Gustavo Mistrinelli<br>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>