[Voiceglue] 'wav' audio file format does not support

Doug Campbell voiceglue at campbellcastle.com
Fri Nov 6 17:07:42 UTC 2009


> I tried to interpret .wav file using voiceglue 0.9 and Asterisk 1.6.  
> Asterisk CLI gives the error message as 'Unable to open format wav' . 
> But according to the documentations of voiceglue and Asterisk, it 
> supports 'wav' audio format.

Voiceglue's documentation states that voiceglue only supports the
.wav extension in so far as it will attempt to interpret it as
"slin", or 16-bit 8khz signed linear, when the HTTP content-type
returns "text/plain".  This is a convenience, and not required or
mentioned in the VXML 2.0 specification.  Any other type of .wav
will fail to play in Asterisk, because that's all that the Asterisk
format_wav module will accept.

To play by the rules, your HTTP server should return a correct
content-type as one of those listed in the voiceglue docs here:
http://voiceglue.org/wiki/doku.php?id=voiceglue_0.11_user_guide#audio_file_formats

Doug Campbell


More information about the Voiceglue mailing list