[Asterisk-Users] Codec?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Aug 12 12:29:31 MST 2003


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




More information about the asterisk-users mailing list