[asterisk-users] chan_zap.c: Failed to read gains: Invalid argument

Eric "ManxPower" Wieling eric at fnords.org
Fri Jan 5 01:10:29 MST 2007


Lee Archer wrote:
> I am running Asterisk 1.2.14 and Zaptel 1.2.12 and using a Digium TE110P 
> card in E1 mode.  I've recently noticed in my logs the following
> 
> Jan  5 01:27:11 VERBOSE[22490] logger.c:  [chan_zap.so]Jan  5 01:27:11 
> VERBOSE[22490] logger.c:  [chan_zap.so] => (Zapata Telephony w/PRI)
> 
> Jan  5 01:27:11 VERBOSE[22490] logger.c:   == Parsing 
> '/etc/asterisk/zapata.conf': Jan  5 01:27:11 VERBOSE[22490] logger.c:   
> == Parsing '/etc/asterisk/zapata.conf': Found
> 
> Jan  5 01:27:11 DEBUG[22490] chan_zap.c: Failed to read gains: Invalid 
> argument
> Jan  5 01:27:11 DEBUG[22490] chan_zap.c: Failed to read gains: Invalid 

> 
> Which seems to suggest that I've done something wrong with the rx and 
> txgain option in /etc/asterisk/zapata.conf.  But these haven't been 
> changed in 18 months and still say
> 
> ; You may also set the default receive and transmit gains (in dB)
> ;
> rxgain=4.0
> txgain=0.0
> 
> Have I done something wrong or has something changed?

Don't use fractional gains.  i.e. use rxgain=4 and txgain=0



More information about the asterisk-users mailing list