Dear all,
I need your help.
my configuration is the following
debian:/var/log/asterisk# uname -a
Linux debian 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux
debian:/var/log/asterisk# lsmod | egrep "zaptel|wc"
wctdm24xxp 109792 1
firmware_class 9600 1 wctdm24xxp
zaptel 186180 8 ztdummy,wctdm24xxp
crc_ccitt 2240 1 zaptel
I tried many parameters in zapata.conf such as hanguponpolarityswitch,
busydetect but neither one is working.
Please tell me how can I enable debugging of zaptel and wctdm24xxp
modules in order to see everything happening on Zap channel during incoming call hangs up. I want to see if reverse polarity supported or not, if busy detect attempts worked or not and etc…
I tried to
cat 2 > /sys/module/zaptel/parameters/debug
cat 64 > /sys/module/wctdm24xxp/parameters/debug
but the only output regarding chan_zap I see
debian:/sys/module# cd /var/log/asterisk/
[May 11 16:11:19] DEBUG[3757] chan_zap.c: No echo training requested
[May 11 16:11:34] DEBUG[3761] chan_zap.c: Took Zap/1-1 off hook
[May 11 16:11:34] DEBUG[3761] chan_zap.c: No echo training requested
[May 11 16:11:54] DEBUG[3768] chan_zap.c: Took Zap/1-1 off hook
[May 11 16:11:54] DEBUG[3768] chan_zap.c: No echo training requested
[May 11 16:12:26] DEBUG[3770] chan_zap.c: Took Zap/1-1 off hook
[May 11 16:12:26] DEBUG[3770] chan_zap.c: No echo training requested
and there are no anything under /var/log/messages
May 11 16:12:45 localhost kernel: NO RING on 1/1!
May 11 16:13:17 localhost kernel: RING on 1/1!
May 11 16:13:17 localhost kernel: NO RING on 1/1!
I am not sure what is happening on hangup, maybe congestion tone sent but not busy…
How to enable full kernel module logging in Debian Linux ???
Thanks in advance,
James