[asterisk-dev] G726

Tim Panton tim at mexuar.com
Tue Feb 20 16:12:23 MST 2007


On 16 Feb 2007, at 23:45, Kevin P. Fleming wrote:

> Steve Langstaff wrote:
>> I think that the sample packing order is different between g726 and
>> g726aal2.
>
> That is correct, it is essentially little-ending vs. big-ending  
> packing
> of the encoded bits into bytes. That is why converting between them is
> so fast.


1.4/include/asterisk/frame.h has this as:
/*! ADPCM (G.726, 32kbps, RFC3551 codeword packing) */
#define AST_FORMAT_G726         (1 << 11)

But
http://www.ietf.org/internet-drafts/draft-guy-iax-02.txt under
Media Format Subclass Values
says:


  0x00000800 | AMR            | Variable

- All of the rest of the codecs match.

Is this a bug in asterisk or in the draft-rfc ?
Or are we putting a translation layer between the values IAX uses  
externally
and that asterisk uses internally?

Tim.


> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

Tim Panton

www.mexuar.net
www.westhawk.co.uk/





More information about the asterisk-dev mailing list