I added t_check_status as follows:
failure_route[1] {
if(t_check_status("487")){ log("\n MARKER IN FAILURE ROUTE START");
revert_uri(); rewritehostport("telth3.dyndns.org:5061"); append_branch(); log("\n MARKER IN FAILURE ROUTE AFTER APPEND BRANCH\n"); t_relay_to_udp("telth3.dyndns.org","5061"); log("\n MARKER IN FAILURE ROUTE END"); break;
}; }
Now it hangs up after 15 seconds as it should but no forwarding to voicemail happens.... Also where as before if the destination was busy forwarding to voicemail would occur but now it doesn't. Am I using this correctly?
Muhammad Nasim TelAppliant Ltd Tel: 020 7740 3492 Int: +44 20 7740 3492 Main: 0845 004 4040 Fax: 0845 004 4041 www.telappliant.com
TelAppliant is the UK's provider of IP telephony solutions for small and medium-sized businesses
_____
The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.
-----Original Message----- From: GR S [mailto:gr_sh2003@yahoo.com] Sent: 05 July 2004 14:27 To: Muhammad Nasim Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER + Asterisk Voicmail forward on failure
Hi,
--- Muhammad Nasim muhammad@telappliant.com wrote:
There is a CANCEL message but then another INVITE is sent from SER for
some reason even though I do not dial again or anything.
Try adding t_check_status("487") in your failure route.
Regards,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Nasim,
--- Muhammad Nasim muhammad@telappliant.com wrote:
I added t_check_status as follows:
failure_route[1] {
<snip>
Now it hangs up after 15 seconds as it should but no forwarding to voicemail happens.... Also where as before if the destination was busy forwarding to voicemail would occur but now it doesn't. Am I using this correctly?
Muhammad Nasim
Try like this:
failure_route[1]{ if (t_check_status("408|486|487")){ revert_uri (); rewritehostport ("192.168.68.20:5070"); append_branch(); t_relay(); break; } }
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail