[OpenSIPS-Users] User inbound rules

osiris123d duane.larson at gmail.com
Wed Oct 21 20:56:51 CEST 2009


I am also setting up FindMe/FollowMe type conditional based routing on a test
box and have got it working with avp_db_query.  I am inserting the mobile
and home numbers for the called user into the location database table with
specific Q values depending on how the user wants the phones to ring and
then serializing and next_branching to get serial/parrallel calls.  I was
wondering if this is what you guys are doing to accomplish this feature and
also how you are handling the location database cleanup after the call?

Do you delete the mobile and home location entries after the call via the
avp_db_query or do you insert an "expires" time that is set to something
like 10 seconds???  I haven't moved on to the memcache stuff yet since I
first want to get the basics working.  Any info is appreciated.




Brett Nemeroff wrote:
> 
> Hi Gustavo,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:
> http://www.opensips.org/index.php?n=Resources.DocsTutMemcache
> 
> 
> 
> On Wed, Feb 18, 2009 at 8:45 AM, Gustavo Mistrinelli
> <gmistrinelli at gmail.com
>> wrote:
> 
>> 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
>> The idea is to have inbound rules per user (username/domain or user
>> aliases
>> i.e. numbers )
>> 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
>> 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)
>> We can add also time conditions and black/white list.
>>
>> I did it using custom avp_db_query but will be nice have rules on memory
>> without querying tables every time.
>>
>> I'll be waiting for your suggestions
>>
>> Best,
>>
>> --
>> Gustavo Mistrinelli
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/User-inbound-rules-tp2347188p3867601.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list