[Asterisk-Dev] zaptel "rest value" of 0xff is not appropriate when ALAW is in use

Kevin P. Fleming kpfleming at digium.com
Sat Sep 10 12:09:02 MST 2005


steve at daviesfam.org wrote:

> By contrast, AST_ULAW(255) is 0.
> 
> od -x </dev/zap/1 shows that channels not otherwise in use  receive 
> nonstop 0xff.
> 
> So for channels that are being used for alaw, the "rest value" shouldn't 
> be 0xff but rather 0xd5, being AST_LIN2A(0).

That sounds like a correct analysis. Can you provide a patch to make 
this happen, or does this assistance from Mark?



More information about the asterisk-dev mailing list