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

Aman Dhally aman.dhally at live.com
Thu Jul 9 05:11:17 CDT 2009


Hi, all , hope u all are good and fine .

 

me getting new error which i am pasting below.. This will came when i am reloading the asterisk. i also tried [reload chan_zap.so ] on asterisk cli, then out is same as
i mention below, i there is any misconfiguration in zapata.conf?? i am posting below mine zapta.conf. hope that we help u to solve it .....

Thanks a lot...

aman DhallY

============================================================================

[Jul 9 14:52:41] WARNING[32279] chan_zap.c: Ignoring signalling
[Jul 9 14:52:41] WARNING[32279] chan_zap.c: Ignoring rxwink
[Jul 9 14:52:41] WARNING[32279] chan_zap.c: Ignoring switchtype
[Jul 9 14:52:41] WARNING[32279] chan_zap.c: Ignoring signalling
[Jul 9 14:52:41] WARNING[32279] chan_zap.c: Ignoring pridialplan
[Jul 9 14:52:41] WARNING[32279] chan_zap.c: Ignoring resetinterval
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 1, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 2, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 3, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 4, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 5, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 6, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 7, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 8, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 9, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 10, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 11, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 12, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 13, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 14, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 15, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 17, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 18, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 19, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 20, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 21, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 22, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 23, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 24, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 25, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 26, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 27, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 28, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 29, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 30, ISDN PRI signalling
[Jul 9 14:52:41] DEBUG[32279] chan_zap.c: Failed to read gains: Invalid argument
[Jul 9 14:52:41] VERBOSE[32279] logger.c: -- Reconfigured channel 31, ISDN PRI signalling

======================================================================================

zapata.conf

---------------------------------------------------------------------------------------------------------------------

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-channels.conf
#include zapata-auto.conf

group=1

;Include AMP configs

#include zapata_additional.conf
-----------------------------------------------------------------------------------------------

_________________________________________________________________
cricket and news. Logon to MSN Video for the latest clips
http://www.exploremyway.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090709/d5f7f679/attachment.htm 


More information about the asterisk-users mailing list