Johan Sandgren escribió:

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! J

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   [email protected]

Website www.svep.se <http://www.svep.se/>

Hi,

Try specifying the file without the extension on your AGI:

AGI Rx << STREAM FILE "test" "12345"

Just like the Playback() application, asterisk should look for the filename in any compatible format that it supports.

Cheers,

--
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to