[asterisk-dev] format_xxx required?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Jan 11 07:19:16 MST 2007


On Thursday 11 January 2007 04:25, Ian Hailey wrote:
> I have created a new codec (i.e. codec_xxx.so) for Asterisk and would
> like to know if I need to also create a new format module (i.e.
> format_xxx.so) supporting the new format? Do the format_xxx.so modules
> just provide file support for the different formats (e.g. the
> format_gsm.so allows Asterisk to save or read data from files in GSM
> format)?

That is correct.  The codec_*.so files provide translations from and to a
particular codec, while the format_*.so provide a method by which to store
frames from a particular codec to files on disk.

-- 
Tilghman


More information about the asterisk-dev mailing list