[asterisk-users] Asterisk does not translate from wav to alaw

Tilghman Lesher tlesher at digium.com
Sat Aug 28 09:31:08 CDT 2010


On Saturday 28 August 2010 04:22:18 Jonas Kellens wrote:
> Hello list,
>
> I have a file to be played in wav-format.
>
> I thought Asterisk would automatically take the wav-file and translate
> it to the codec used, but I see this :
>
> [Aug 28 11:16:29] WARNING[2705]: file.c:664 ast_openstream_full: File
> /var/lib/asterisk/sounds/vprompts/*zip-code.wav* does not exist in any
> format
> [Aug 28 11:16:29] WARNING[2705]: file.c:991 ast_streamfile: Unable to
> open /var/lib/asterisk/sounds/vprompts/*zip-code.wav* (format 0x8
> (*alaw*)): No such file or directory
> [Aug 28 11:16:29] WARNING[2705]: pbx.c:5752 pbx_builtin_background:
> ast_streamfile failed on SIP/test1-0000000f for
> /var/lib/asterisk/sounds/vprompts/*zip-code.wav*
>
>
> Am I missing a module to translate from wav to alaw/gsm/g726/... ??

Please drop the ".wav" extension from the Playback/Background.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list