[asterisk-users] file command with alaw file

Pham Quy quyps at vega.com.vn
Mon May 17 01:06:29 CDT 2010


hi all,

I install Asterisk 1.6 on Centos 5.2 (kernel 2.6.18-92.el5 #1 SMP Tue
Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux) and do record
audio clip with mixmonitor() as alaw file (softphone is also configured
with alaw active only). Using file command i can get the following
information

983006584-20100517-125002.alaw: RIFF (little-endian) data, WAVE audio,
ITU G.711 A-law, mono 8000 Hz

But when i install the same system on Centos 5.5 (kernel 2.6.18-92.el5
#1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux) i
could get the same information with file command. File command
recognized alaw file as JPEG image:

983006584-20100517-123825.alaw: JPEG image data

I guess i may miss something when i setup the new on on Centos 5.5, but
u dont know what it is. Anyone have idea about this?

please help.

Thanks in advance.
Quyps




More information about the asterisk-users mailing list