[OpenSIPS-Users] call to the mobile/ landline when all the contacts fail

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Oct 13 05:08:53 CEST 2009


such redirects can be easily done via failure_route() and loading new 
destination from DB (see avpops, the avp_db_load and avp_db_query 
functions).

In failure_route[], when you detected the failed call, simply load and 
set a new RURI and to t_relay() again -> serial forking.

You do not need usrloc at all in this case.

Regards,
Bogdan

osiris123d wrote:
> Via a web interface the user should be able to set their conditional call
> forwarding(Findme/followme).  So they should be able to do multiple
> scenario's
>
> Ring Office, Mobile and Home at same time (This seems easy enough with
> Parrallel forking)
>
> Ring Office first for 15 seconds, then Mobile and Home at same time for 20
> and finally to voicemail (I can accomplish the first 15 seconds with the
> fr_inv_timer, but i am not sure how to reference the second 20 seconds.  I
> don't think I will have issues with the first serial call and then the
> parrallel forking)
>
> Ring Office for 15 seconds, then Mobile for 20 seconds, next Home for 13 and
> finally send to Voicemail  (I believe I can accomplish this with the
> fr_inv_timer for the first 15 seconds, but I don't know how the second and
> third timers are referenced)
>
> The other part of this scenario would be to set up Time Periods like "Only
> call Office number from 8 till 5 on weekdays and only call home phone after
> 5pm and on weekends" and etc.  I am currently looking at Dynamic Routing for
> the Time-Based features but not sure.
>
>
>
>
> Bogdan-Andrei Iancu wrote:
>   
>> Hi,
>>
>> what exactly is your scenario? what you want to achieve ?
>>
>> Regards,
>> Bogdan
>>
>> osiris123d wrote:
>>     
>>> I can see how to use the serialize and append branches, but will this
>>> allow
>>> you to first call office phone, then mobile and finally home?  I have
>>> read
>>> about the "contacts" part in the Location database table, but the thing
>>> thats confusing about that is that the contacts has an expire parameter
>>> which makes me think the contact won't be permanent.  I figured you had
>>> to
>>> use an AVP for your home and mobile.
>>>
>>>
>>>
>>> Iñaki Baz Castillo wrote:
>>>   
>>>       
>>>> El Jueves, 25 de Junio de 2009, ASHWINI NAIDU escribió:
>>>>     
>>>>         
>>>>> hi all,
>>>>>
>>>>>     I wanted to implement this feature under serial forking. Whn all
>>>>> the
>>>>> contacts are busy/ unavailable i would like to forward the call to the
>>>>> person's landline or mobile number. how can this be accomplished. can
>>>>> any
>>>>> one help me out with this issue.
>>>>>       
>>>>>           
>>>> failure_route and append_branch. Reading the doc is also useful since
>>>> serial 
>>>> forking (what you mean in fact) is well explained.
>>>>
>>>> -- 
>>>> Iñaki Baz Castillo <ibc at aliax.net>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>>
>>     
>
>   




More information about the Users mailing list