Hi I try to play a wav file in asterisk ,but its accepting only gsm files.Do u know where I need to change to make it works. Thanks Nikhil
-----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nikhil Sent: Tuesday, March 01, 2011 3:21 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] wav files are not playing asterisk Hi I try to play a wav file in asterisk ,but its accepting only gsm files.Do u know where I need to change to make it works. Thanks Nikhil -- If you have foo.gsm and foo.wav, foo.gsm will always play. Rename foo.gsm to foo1.gsm and foo.wav should play.
Do you have complied wav file support in asterisk? -- Sent from my iPhone On Mar 1, 2011, at 9:11 AM, "Danny Nicholas" <danny at debsinc.com> wrote:> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nikhil > Sent: Tuesday, March 01, 2011 3:21 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] wav files are not playing asterisk > > Hi > I try to play a wav file in asterisk ,but its accepting only gsm > files.Do u know where I need to change to make it works. > Thanks > Nikhil > > -- > > If you have foo.gsm and foo.wav, foo.gsm will always play. Rename > foo.gsm > to foo1.gsm and foo.wav should play. > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
On Tue, 1 Mar 2011, Nikhil wrote:> I try to play a wav file in asterisk ,but its accepting only gsm > files.Do u know where I need to change to make it works.Asterisk chooses a file encoding based on the channel encoding. If your channel is encoded as GSM, Asterisk will not look for a .wav of the same name if a .gsm is available. If the .gsm is not available, Asterisk will use the .wav with the additional 'overhead' of transcoding the data to GSM. Without any console log, these are just guesses: 1) Don't specify the file type in your dialplan. Asterisk chooses a file type for you based on channel encoding and formatting modules loaded. Is format_wav.so loaded? 2) Your WAV file is not encoded correctly. The 'file' command should show something like 'RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz' 3) You have permission issues. From a shell, as the user your instance of Asterisk runs as, can you access the file? If this doesn't help, please repost including the relevant dialplan context (as displayed by 'dialplan show <relevant-context-name>) and a snippet of the console log of a call playing the WAV file. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Any reply.. On 03/01/2011 02:50 PM, Nikhil wrote:> Hi > I try to play a wav file in asterisk ,but its accepting only gsm > files.Do u know where I need to change to make it works. > Thanks > Nikhil > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
At least 3 replies earlier today on list. Nikhil wrote:> Any reply.. > > > On 03/01/2011 02:50 PM, Nikhil wrote: >> Hi >> I try to play a wav file in asterisk ,but its accepting only gsm >> files.Do u know where I need to change to make it works. >> Thanks >> Nikhil >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> 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 -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Dog is my Co-pilot
sory satish...my thunderbrid was not load. Thanks for reply... On 03/02/2011 09:59 AM, Nikhil wrote:> Any reply.. > > > On 03/01/2011 02:50 PM, Nikhil wrote: >> Hi >> I try to play a wav file in asterisk ,but its accepting only gsm >> files.Do u know where I need to change to make it works. >> Thanks >> Nikhil >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> 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 -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >