Hello,
I wish to play a recorded announcement on reply to 4xx 5xx 6xx messages .
According to the status a audio file would be played from asterisk server via ser to the caller
How can I configure a such feature ?
My configuration: Ser act as an outbound sip proxy . Asterisk a sip media server and registrar.
sip agents ---- SER -----Asterisk
Harry
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com
Hi!
hgaillac-sip@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)