[Asterisk-Users] Codec?

John Todd jtodd at loligo.com
Tue Aug 12 18:57:58 MST 2003


At 2:29 PM -0500 8/12/03, Tilghman Lesher wrote:
>On Tuesday 12 August 2003 14:19, John Todd wrote:
>>  Look in /usr/src/asterisk/include/asterisk/frame.h  and scan down to
>>  where you see all the codecs listed.  Then, take that number use it
>>  as a power of 2.  In other words, if the number for G729A is 8, then
>>  you need to do 8^2 = 25, so 25 will be the number shown in "sip show
>>  channels" under the "format" column.
>
>Other way around, and you're missing a digit.  2^8 is what you should
>figure and 256 is the resulting number.
>
>-Tilghman

<ahem>  Yeah, that's what I meant to type.  Too many windows, too little time.

JT



More information about the asterisk-users mailing list