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

2009-08-21 Thread Tzafrir Cohen
On Thu, Aug 20, 2009 at 05:36:47PM -0700, Steve Edwards wrote: On Fri, 21 Aug 2009, Lee, John (Sydney) wrote: How can I check what format my channels are using? Format? Format is the envelope. Codec is the algorithm used to encode and decode. Try sip show peer peer-name to see which

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

2009-08-20 Thread Johan Sandgren
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?

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

2009-08-20 Thread Danny Nicholas
...@lists.digium.com [mailto:asterisk-users-boun...@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

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

2009-08-20 Thread Steve Howes
On 20 Aug 2009, at 16:47, Johan Sandgren wrote: 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

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

2009-08-20 Thread Miguel Molina
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

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

2009-08-20 Thread Johan Sandgren
: '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

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

2009-08-20 Thread Johan Sandgren
-Commercial Discussion Ämne: Re: [asterisk-users] Cannot play soundfile, doesnt find it or wrong format? Weird, worked yesterday! :-) On 20 Aug 2009, at 16:47, Johan Sandgren wrote: 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

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

2009-08-20 Thread Tzafrir Cohen
On Thu, Aug 20, 2009 at 10:55:50AM -0500, Danny Nicholas wrote: BTW, you eat CPU trying to play wav files across channels (gsm is preferable (IMO) ) Huh? I assume that by wav you refer to a standard WAV/RIFF file. This is basically a simple PCM file with a short header. gsm is a compressed

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

2009-08-20 Thread Steve Edwards
On Thu, 20 Aug 2009, Danny Nicholas wrote: 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. On Thu, 20 Aug 2009, Johan Sandgren wrote: Advice taken! Ok I'll use gsm/8kHz instead, I sure want

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

2009-08-20 Thread Steve Edwards
On Thu, 20 Aug 2009, Danny Nicholas wrote: Did you try streaming it without the .wav extension? How many times a month do you think people do this? (I'll confess I still do it on occasion.) Wouldn't it be nice if after trying all the file types for all the loaded formats, Asterisk would try

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

2009-08-20 Thread Danny Nicholas
...@lists.digium.com] On Behalf Of Steve Edwards Sent: Thursday, August 20, 2009 12:24 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Cannot play soundfile, doesnt find it or wrong format? Weird, worked yesterday! :-) On Thu, 20 Aug 2009, Danny Nicholas wrote: Did you

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

2009-08-20 Thread Lee, John (Sydney)
It also means that unless your target cchannel is in gsm format How can I check what format my channels are using? ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register

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

2009-08-20 Thread Steve Edwards
On Fri, 21 Aug 2009, Lee, John (Sydney) wrote: How can I check what format my channels are using? Format? Format is the envelope. Codec is the algorithm used to encode and decode. Try sip show peer peer-name to see which codecs are configured (allowed) for that peer. Some variant of show

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

2009-08-20 Thread Lee, John (Sydney)
Is this the one you are talking about? Do you mean that if I play MOH using any of the formats below, then there will be no CPUs wasted for translation purposes? *CLI core show codecs Disclaimer: this command is for informational purposes only. It does not indicate anything about your

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

2009-08-20 Thread Steve Edwards
On Fri, 21 Aug 2009, Lee, John (Sydney) wrote: Is this the one you are talking about? Do you mean that if I play MOH using any of the formats below, then there will be no CPUs wasted for translation purposes? *CLI core show codecs [irrelevant display of codecs snipped] Nope. That