[cisco-voip] How to play G729 audio prompt in a TCL IVR scrip
Andrea Cerioli
cerioli at alter.it
Fri Aug 25 07:21:05 EDT 2006
Hi there,
we are tring to use a TCL IVR on a SIP call leg.
Everithing works fine if we use G711ULAW or G711ALAW.
When we try to use G729 we get:
Aug 25 10:33:46.143: %IVR_MSB-3-NOPROMPT: Could not create IVR prompt
flash:test_codec.g729-corrected.wav
errno=0=Unsupported codec type
Some background follows to increase clarity:
AFAIK the IVR system match the codec negotiated for the SIP call leg,
with the encoding in the WAV header of the audio file.
If the match is successful, the audio prompt is played back,
otherwise it fails.
From CISCO DOCs and form TAC it looks like ANY codec is supported.
Thus we produced our audio files, correcting them with an hex editor as
described
in cisco Documentation:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide_chapter09186a00800b5ddb.html
All works fine if we use G711A or G711U.
We double checked by using the wrong file or wrong codec to make it fail.
It only works when they match, and works for both codecs.
For G729 it always fail with the error above.
Thus I wonder if we are trying to do something unsupported.
Maybe we need to use VXML instead of TCL to make it work? Do we need an
XML header?
If yes, will a mixed language application work? (i.e. using a VXML
utility in the main TCL script to play
the audio prompt and collect DTMF ...)
Thanks for your help.
Andrea.
--
| Andrea Cerioli alter.net Srl |
| e-mail: cerioli at alter.it Via Attilio Ambrosini, 177 |
| VOICE: +39-6-5405740 I-00147 Rome |
| FAX: +39-6-5405883 Italy |
More information about the cisco-voip
mailing list