[asterisk-users] Cannot play soundfile, doesnt find it or wrong format? Weird, worked yesterday! :-)

Johan Sandgren jsa at svep.se
Thu Aug 20 11:18:33 CDT 2009


Advice taken!  Ok I'll use gsm/8kHz instead, I sure want to save CPU!

It was the .wav that made it not find the file.
Great!
:)
/Johan

Från: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] För Danny Nicholas
Skickat: den 20 augusti 2009 17:56
Till: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Ämne: Re: [asterisk-users] Cannot play soundfile,doesnt find it or wrong format? Weird, worked yesterday! :-)

Can you play it from a Playback or Background command?  Did you try streaming it without the .wav extension?  BTW,  you eat CPU trying to play wav files across channels (gsm is preferable (IMO) ) and the file has to be at 8000 Khz for Asterisk to like it.

________________________________
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Johan Sandgren
Sent: Thursday, August 20, 2009 10:47 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Cannot play soundfile, doesnt find it or wrong format? Weird, worked yesterday! :-)


I'm trying to play a wav-file on a channel.

This is what I see in the asterisk debug console

AGI Rx << STREAM FILE "test.wav" "12345"
[Aug 20 16:10:19] WARNING[25219]: file.c:602 ast_openstream_full: File test.wav does not exist in any format

So it doesn't find the file, or it's in a wrong format?

I can listen to it with windows media player... it's a wave-file.
I even recorded it yesterday with asterisk recordFile as a wav-file.
And it did play yesterday! :)
Weird!

It's still in the same folder: /var/lib/asterisk/sounds/

But even then, I get this error message mentioned.

Where should I search for the error?

I'm out of ideas

/Johan

_______________
Johan Sandgren
Svep Design Center AB
Phone +46 46 192 722
Mobile +46 70 173 4152
Box 1233, 221 05 Lund, Sweden
E-mail   jsa at svep.se
Website www.svep.se<http://www.svep.se/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090820/fafb0edf/attachment.htm 


More information about the asterisk-users mailing list