[OpenSIPS-Users] Sequential search using opensips

osiris123d duane.larson at gmail.com
Mon Oct 12 03:13:12 CEST 2009


How do you add permanent contacts for users?  I see that the "opensipsctl
fifo ul_add" command requires you to input an expire parameter.



Bogdan-Andrei Iancu wrote:
> 
> Hi Ashwini,
> 
> you need to transform the parallel forking into a serial forking, so 
> after the lookup() loaded all the contacts for the user, use the 
> serialize_branches() (see 
> http://www.opensips.org/Resources/DocsCoreFcn15#toc119) to transform 
> into serial forking. After each serial attempt, is failure_route use 
> next_branches() (see 
> http://www.opensips.org/Resources/DocsCoreFcn15#toc103) to get the next 
> branch to use.
> 
> Regards,
> Bogdan
> 
> ASHWINI NAIDU wrote:
>> Hi everybody,
>>
>>
>>      I wanted to implement sequential search for users with different 
>> contacts. now paralled fork is happening. how can i acheive this. 
>> finally when all the contacts are exhausted the call should be 
>> diverted to person's landline/mobile number.
>>  
>>
>> -- 
>> Thanking You,
>> Ashwini BR Naidu
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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/Sequential-search-using-opensips-tp3141786p3805621.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list