[SR-Users] R: Mutiple branch forking and voicemail

Daniel-Constantin Mierla miconda at gmail.com
Wed Aug 5 16:24:17 CEST 2015


Indeed usually there are few options for same functionality, good to
hear you found a solution.

Cheers,
Daniel

On 03/08/15 14:53, Marino Mileti wrote:
> Thanks Daniel, 
>
> I've found another way using a seturi for mediaserver that will be executed
> after all branch (using t_load_contacts and t_next_contacts)
> In this way I can complete my scenario in the right way
>
> -----Messaggio originale-----
> Da: sr-users [mailto:sr-users-bounces at lists.sip-router.org] Per conto di
> Daniel-Constantin Mierla
> Inviato: lunedì 3 agosto 2015 12:37
> A: Kamailio (SER) - Users Mailing List
> Oggetto: Re: [SR-Users] Mutiple branch forking and voicemail
>
> Hello,
>
> On 31/07/15 11:31, Marino Mileti wrote:
>> Hello,
>>
>> I would like to implement a voicemail services but i'm trying 
>> everything without good results :(
>>
>> My scenario is:
>>
>>  - A make a parallel forking to B(1001) and C(1002)
>>  - If timeout, call is routed to voicemail
>>
>> I've done something like this...very simple
>>
>> seturi("sip:1001 at 172.20.40.103");
>>
>> append_branch("1002 at 172.20.40.103");
>> route(RELAY)
>>
>> on failure_route..
>> if (t_check_status("486|408")) {
>> 	$ru = "sip:8000 at 172.20.40.103:5090";
>>
>>       route(RELAY);
>>
>>       exit;
>>
>> }
>>
>> The scenario is working but on log there are some error...
>> t_should_relay_response
>>
>> I would like that when a branch reach the failure route, all other 
>> branches will be cancelled..and call is routed to VM.
>> Can anyone help me?
>>
>>
> When the failure_route is executed, no branch is active anymore.
>
> To be able to assist further, you have to send here the errors you get in
> the log, to understand what is wrong.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Book: SIP Routing With Kamailio - http://www.asipto.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> ---
> Questa e-mail è stata controllata per individuare virus con Avast antivirus.
> https://www.avast.com/antivirus
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com




More information about the sr-users mailing list