[asterisk-dev] format_xxx required?

Ian Hailey lists at dinplug.com
Fri Jan 12 01:29:44 MST 2007


Tilghman Lesher wrote:

>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.
>
>  
>
Thanks Tilghman,

So I am also correct in assuming that I do not need to implement the 
format_xxx.so as I am not insterested in saving this data to a file. In 
general is this saving to a file used when performing a monitor for example?

Ian.


More information about the asterisk-dev mailing list