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@172.20.40.103");
>
> append_branch("1002@172.20.40.103");
> route(RELAY)
>
> on failure_route..
> if (t_check_status("486|408")) {
>       $ru = "sip:8000@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to