Problem: chan_zap.c: Failed to read gain: Invalid argument?


#1

Hello friends,

I have just started to try to quench echo in a new installation on a PRI with TE110P card and cannot seem to adjust the gain settings. I have moved them around in /etc/asterisk/zapata.conf and cannot get the syntax correct? All works except there is echo that I may be able to fix with the gain adjustments. All is 1.2.1 (libpri, zaptel, and *)


I get these errors in the logs:

Jan 11 21:08:14 VERBOSE[15189] logger.c: == Parsing ‘/etc/asterisk/zapata.conf’: Jan 11 21:08:14 VERBOSE[15189] logger.c: == Parsing ‘/etc/asterisk/zapata.conf’: Found
Jan 11 21:08:14 DEBUG[15189] chan_zap.c: Failed to read gains: Invalid argument
Jan 11 21:08:14 DEBUG[15189] chan_zap.c: Failed to read gains: Invalid argument
Jan 11 21:08:14 DEBUG[15189] chan_zap.c: Updated conferencing on 1, with 0 conference users

(same error on every PRI channel during load)

Here is my zapata.conf

[trunkgroups]

[channels]
language=en
context=from-pstn
switchtype=national
pridialplan=unknown
signalling=pri_cpe
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=-4.0
txgain=-4.0
immediate=no
group = 0
channel => 1-16
group = 1
channel => 17-20


#2

Is it just something in the format of my zapata.conf?