[SR-Users] Mutiple branch forking and voicemail
Marino Mileti
marino.mileti at alice.it
Fri Jul 31 11:31:04 CEST 2015
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?
Marino
---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
More information about the sr-users
mailing list