Hi,
I’m using Asterisk for an internal project, and I’m currently using zaptel 1.2.6 and Asterisk 1.0.7 (old, I know, but I have made some mods and right now its a bit too much of a pain to upgrade: its on the schedule).
The application is deployed in India (and not sure if it matters, but the phone lines are from BSNL). We’ve been having intermittent disconnect problems with the lines, and we thought it was a problem with the provider, but it turns out its a problem with our setup. We have a single TDM400P REV I board with 2 FXO boards (configured with the FXS kewlstart protocol) and although the configuration appears to be fine the lines are permanently engaged once they are plugged into the asterisk board, even if I unload the zaptel and wctdm modules. I’ve verified the lines are fine because when plugged into a regular phone I can call them and they ring and pick up, but only when plugged into the zaptel modules do they stop functioning (even more annoying is the fact that the provider periodically goes “this must be a malfunction: I’m going to reset the lines”, making it particularly difficult to debug).
The zaptel.conf is this:
loadzone=in
defaultzone=in
fxsks=3-4
and the zapata.conf is this:
[trunkgroups]
[channels]
context=default
signalling=fxo_ls
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=1.0
txgain=1.0
group=1
callgroup=1
pickupgroup=1
immediate=no
hanguponpolarityswitch=yes
answeronpolarityswitch=yes
busydetect=no
busycount=4
callprogress=no
progzone=in
context=default
signalling=fxs_ks
channel => 3
channel => 4
After bootup (or when I manually load/unload the modules), I get this from dmesg:
Zapata Telephony Interface Unloaded
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.6 Echo Canceller: KB1
ACPI: PCI Interrupt 0000:01:04.0[A] -> GSI 20 (level, low) -> IRQ 209
Freshmaker version: 73
Freshmaker passed register test
Module 0: Not installed
Module 1: Not installed
Module 2: Installed – AUTO FXO (INDIA mode)
Module 3: Installed – AUTO FXO (INDIA mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (2 modules)
Registered tone zone 28 (India)
Registered tone zone 28 (India)
ztmonitor shows this:
( # = Audio Level * = Max Audio Hit )
<----------------(RX)----------------> <----------------(TX)---------------->
Rx: 29 ( 29) Tx: 0 ( 0)
regardless of whether or not I call the phone line or if the phone line is plugged in, which is rather confusing.
Any help/advice would be appreciated.