[Asterisk-Users] ztcfg Kills My Dial Tone

Shaw Terwilliger sterwill at sourcegear.com
Wed Sep 7 09:50:28 MST 2005


I'm using two Rhino channel banks (first 12FXO/12FXS, second 24FXS).
These connect to a Digium TE210P card.  I'm running kernel 2.6.10
and I've tried Asterisk (w/zaptel) 1.0.9, 1.2 beta, and CVS from today.
The results are the same for all versions:

Right after I reboot, and modprobe wct4xxp, my analog phone connected
to port 13 of the first channel bank (first FXS port) gets a dial tone.
Asterisk is not running yet, and I have NOT run ztcfg.

As soon as I run ztcfg, the port goes dead.  No dial tone, but I can
hear things I say into the phone's microphone come out of the speaker,
se there's voltage.  Starting Asterisk makes no difference.  The port is
dead until I unload and reload the wct4xxp module.

HOWEVER, when the port is dead, I can ring it from a SIP extension, and
the analog phone rings.  If I pick up the phone, Asterisk has no clue,
and keeps ringing forever.

My guess is this is a problem with the TE210P card or drivers.  

Any suggestions?

*** Here's my /etc/zaptel.conf (all non comment lines): ***

span=1,1,0,esf,b8zs
span=2,0,0,esf,b8zs
fxsks=1-12
fxoks=13-48
defaultzone = us
loadzone = us

*** Here's the output of ztcfg -vvv: ***

Zaptel Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Slaves: 08)
Channel 09: FXS Kewlstart (Default) (Slaves: 09)
Channel 10: FXS Kewlstart (Default) (Slaves: 10)
Channel 11: FXS Kewlstart (Default) (Slaves: 11)
Channel 12: FXS Kewlstart (Default) (Slaves: 12)
Channel 13: FXO Kewlstart (Default) (Slaves: 13)
Channel 14: FXO Kewlstart (Default) (Slaves: 14)
Channel 15: FXO Kewlstart (Default) (Slaves: 15)
Channel 16: FXO Kewlstart (Default) (Slaves: 16)
Channel 17: FXO Kewlstart (Default) (Slaves: 17)
Channel 18: FXO Kewlstart (Default) (Slaves: 18)
Channel 19: FXO Kewlstart (Default) (Slaves: 19)
Channel 20: FXO Kewlstart (Default) (Slaves: 20)
Channel 21: FXO Kewlstart (Default) (Slaves: 21)
Channel 22: FXO Kewlstart (Default) (Slaves: 22)
Channel 23: FXO Kewlstart (Default) (Slaves: 23)
Channel 24: FXO Kewlstart (Default) (Slaves: 24)
Channel 25: FXO Kewlstart (Default) (Slaves: 25)
Channel 26: FXO Kewlstart (Default) (Slaves: 26)
Channel 27: FXO Kewlstart (Default) (Slaves: 27)
Channel 28: FXO Kewlstart (Default) (Slaves: 28)
Channel 29: FXO Kewlstart (Default) (Slaves: 29)
Channel 30: FXO Kewlstart (Default) (Slaves: 30)
Channel 31: FXO Kewlstart (Default) (Slaves: 31)
Channel 32: FXO Kewlstart (Default) (Slaves: 32)
Channel 33: FXO Kewlstart (Default) (Slaves: 33)
Channel 34: FXO Kewlstart (Default) (Slaves: 34)
Channel 35: FXO Kewlstart (Default) (Slaves: 35)
Channel 36: FXO Kewlstart (Default) (Slaves: 36)
Channel 37: FXO Kewlstart (Default) (Slaves: 37)
Channel 38: FXO Kewlstart (Default) (Slaves: 38)
Channel 39: FXO Kewlstart (Default) (Slaves: 39)
Channel 40: FXO Kewlstart (Default) (Slaves: 40)
Channel 41: FXO Kewlstart (Default) (Slaves: 41)
Channel 42: FXO Kewlstart (Default) (Slaves: 42)
Channel 43: FXO Kewlstart (Default) (Slaves: 43)
Channel 44: FXO Kewlstart (Default) (Slaves: 44)
Channel 45: FXO Kewlstart (Default) (Slaves: 45)
Channel 46: FXO Kewlstart (Default) (Slaves: 46)
Channel 47: FXO Kewlstart (Default) (Slaves: 47)
Channel 48: FXO Kewlstart (Default) (Slaves: 48)

48 channels configured.

*** Here are the kernel messages emitted when I run ztcfg -vvv: ***

Sep  7 11:46:22 localhost kernel: About to enter spanconfig!
Sep  7 11:46:22 localhost kernel: About to enter startup!
Sep  7 11:46:22 localhost kernel: wct2xxp: Setting yellow alarm on span 1
Sep  7 11:46:22 localhost kernel: Zaptel: Master changed to TE2/0/2
Sep  7 11:46:22 localhost kernel: TE2XXP: Span 1 configured for ESF/B8ZS
Sep  7 11:46:22 localhost kernel: Putting 0 in register 2f on span 1
Sep  7 11:46:22 localhost kernel: Putting 0 in register 30 on span 1
Sep  7 11:46:22 localhost kernel: Putting 0 in register 31 on span 1
Sep  7 11:46:22 localhost kernel: SPAN 1: Primary Sync Source
Sep  7 11:46:22 localhost kernel: Completed startup!
Sep  7 11:46:22 localhost kernel: About to enter spanconfig!
Sep  7 11:46:22 localhost kernel: About to enter startup!
Sep  7 11:46:22 localhost kernel: wct2xxp: Setting yellow alarm on span 2
Sep  7 11:46:22 localhost kernel: TE2XXP: Span 2 configured for ESF/B8ZS
Sep  7 11:46:22 localhost kernel: Putting 0 in register 2f on span 2
Sep  7 11:46:22 localhost kernel: Putting 0 in register 30 on span 2
Sep  7 11:46:22 localhost kernel: Putting 0 in register 31 on span 2
Sep  7 11:46:22 localhost kernel: Completed startup!
Sep  7 11:46:22 localhost kernel: Putting 0 in register 2f on span 1
Sep  7 11:46:22 localhost kernel: Putting 0 in register 30 on span 1
Sep  7 11:46:22 localhost kernel: Putting 0 in register 31 on span 1
Sep  7 11:46:22 localhost kernel: Unassigning channel 0/1!
[it's all the same for the other channels up to 1/23]
Sep  7 11:46:22 localhost kernel: Putting 0 in register 2f on span 2
Sep  7 11:46:22 localhost kernel: Putting 0 in register 30 on span 2
Sep  7 11:46:22 localhost kernel: Putting 0 in register 31 on span 2
Sep  7 11:46:22 localhost kernel: Unassigning channel 1/24!
Sep  7 11:46:22 localhost kernel: Registered tone zone 0 (United States / North America)
Sep  7 11:46:27 localhost kernel: wct2xxp: Clearing yellow alarm on span 1
Sep  7 11:46:27 localhost kernel: wct2xxp: Clearing yellow alarm on span 2
Sep  7 11:46:28 localhost kernel: Zaptel: Master changed to TE2/0/1

-- 
Shaw Terwilliger <sterwill at sourcegear.com>
SourceGear LLC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050907/fc3d408d/attachment.pgp


More information about the asterisk-users mailing list