[asterisk-users] Does 'file' command work with asterisk genereted alaw file

Tilghman Lesher tlesher at digium.com
Sun Apr 25 23:39:51 CDT 2010


On Sunday 25 April 2010 23:22:21 Pham Quy wrote:
> I record an alaw file by asterisk's record monitor command, and i  use
> linux's file command to check it information.
>
> file command recognized the alaw file as "DATA", is it correct?

The file command works by recognizing certain header data in a file.  As the
alaw format has no header, that command won't recognize the data as
any particular format, so it tells you "DATA" as its fallback.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list