[asterisk-users] wav to gsm can't play

Kyle Kienapfel doctor.whom at gmail.com
Wed Jan 20 18:08:54 CST 2010


The playback command is designed to work with multiple formats
If the channel in question is gsm it'll use a .gsm file before a .wav file

if the .wav file is in the directory, is it playable by asterisk?
(8000hz sample rate, etc etc)

On Tue, Jan 19, 2010 at 8:20 AM, Danny Nicholas <danny at debsinc.com> wrote:
> Just a WAG - Playback is freaking out because you have the wav and gsm file
> there concurrently.  Remove the wav file and try it again.
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zhang Shukun
> Sent: Tuesday, January 19, 2010 12:47 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] wav to gsm can't play
>
> hi,
>
> i try to convert wav file to gsm format.use following commands;
>
> sox net263-welcome.wav -r 8000 -g -c 1 net263-welcome.gsm resample -ql
>
> the file is located in /var/lib/asterisk/sounds/net263
>  but cant' play.do you know what's wrong?
>
>    -- Executing Playback("SIP/1001-00000091", "net263/net263-welcome")
>    -- <SIP/1001-00000091> Playing 'net263/net263-welcome' (language 'en')
> [Jan 19 14:36:06] WARNING[21397]: app_playback.c:440 playback_exec:
> ast_streamfile failed on SIP/1001-00000091 for net263/net263-welcome
>    -- Executing WaitExten("SIP/1001-00000091", "60")
>
>
> --
> Best regards,
> Sucan
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list