Summary:ASTERISK-01446: [patch] show file formats
Reporter:Brian West (bkw918)Labels:
Date Opened:2004-04-21 00:29:40Date Closed:2011-06-07 14:04:45
Versions:Frequency of
Environment:Attachments:( 0) show_file_formats.diff.txt
Description:Request a "show file formats" to show the registered formats and their valid file extensions.
Comments:By: twisted (twisted) 2004-04-28 19:05:55

patch applied cleanly to cvs 04/28/04, with warnings on compile:
sterisk.c: In function `main':
asterisk.c:1604: warning: implicit declaration of function `ast_file_init'

Otherwise, compiles in fine, works as advertised with 'show file formats'

pablo*CLI> show file formats
Format     Name       Extensions
ADPCM      vox        vox
SLINR      wav        wav
ULAW       pcm        pcm|ulaw|ul|mu
G723       g723.1     g723.1
GSM        gsm        gsm
H263       h263       h263
ILBC       iLBC       ilbc
ALAW       alaw       alaw|al
G729A      g729       g729
G726       g726-16    g726-16
G726       g726-24    g726-24
G726       g726-32    g726-32
G726       g726-40    g726-40
GSM        wav49      WAV|wav49

By: Brian West (bkw918) 2004-04-30 00:19:41

I'm going to rework this a bit.