[asterisk-users] realtime sip peers : musiconhold class
Gareth Blades
list-asterisk at skycomuk.com
Fri Aug 13 06:49:01 CDT 2010
The wav file is not in the correct format. Also the number of channels
and sampling frequency it is reporting is complete nonsense. This is
what it should display:-
RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz
Jonas Kellens wrote:
>
> 1. the converting is not working
>
> [root at asterisk testing]# file 01Long.wav
> 01Long.wav: RIFF (little-endian) data, WAVE audio, 20294 channels
> 1414676809 Hz
>
> [root at asterisk testing]# asterisk -rx "file convert
> /var/lib/asterisk/testing/01Long.wav /var/lib/asterisk/testing/01Long.alaw"
> Unable to open input file: /var/lib/asterisk/testing/01Long.wav
>
>
> 2. This does not explain why I can't use class "default" AND class
> "whatever".
>
>
> Jonas.
>
>
> On 08/13/2010 12:47 PM, Gareth Blades wrote:
>> Asterisk can convert from wav but it still needs to be in the correct
>> format. See
>> http://www.voip-info.org/tiki-index.php?page=Convert+WAV+audio+files+for+use+in+Asterisk
More information about the asterisk-users
mailing list