Hi!
hgaillac-sip(a)yahoo.fr wrote:
I wish to play a recorded announcement on reply to
4xx
5xx 6xx messages .
Use t_on_failure() to trigger the transaction stateful handling
of failures in SER. Inside your failure route use something like this:
if (t_check_status("480")) {
rewriteuser("someannouncementindicator");
t_relay_to_udp("10.1.1.1", "5060"); # add your Asterisk here
break;
}
This has been documented on
onsip.org.
Cheers,
Hendrik
P.S. Please refrain from crossposting! (asterisk-users@ removed)
--
Hendrik Scholz - <hscholz(a)raisdorf.net> -
http://www.wormulon.net/