[Asterisk-Users] TDM400 seems healthy, but no dialtone??

Darren Nickerson darren.nickerson at ifax.com
Tue Apr 20 00:07:21 MST 2004


Folks,

I recently swapped a TDM400 FXS card that was working perfectly into a new
server (running recent CVS), and it's either misbehaving (unlikely), or I've
missed something obvious (much more probable). Everything seems to be
working, but I can't get any dialtone from it when I plug a phone into any
of the 4 ports!! All of the jacks are lit (green lights) but they all seem
dead when I plug an analog phone in, and I don't see them go off-hook in the
asterisk console when I take the phone handset off-hook.

This server also has a TE410P installed (which is working well), which will
make the configs look a little scary, but I'm hoping someone will be able to
point me in the right direction if I offer the details here. The TDM400
channels come last because of the order in which the zaptel init script
loads the modules.

zaptel.conf contains:

span=1,0,0,esf,b8zs
span=2,1,0,esf,b8zs
span=3,0,0,esf,b8zs
fxsks=1-24
bchan=25-47
dchan=48
bchan=49-71
dchan=72
fxols=73-76
loadzone = us
defaultzone=us

zapata.conf :

signalling=fxs_ks
group=2
callerid="Joe Schmoe" <(256) 428-6131>
channel => 1,3
signalling=pri_net
switchtype=5ess
group=3
channel => 25-47
group=4
channel => 49-71
signalling=fxo_ls
group=5
channel => 73-76


ztcfg -vv looks about right:

[snip]
Channel 66: Individual Clear channel (Default) (Slaves: 66)
Channel 67: Individual Clear channel (Default) (Slaves: 67)
Channel 68: Individual Clear channel (Default) (Slaves: 68)
Channel 69: Individual Clear channel (Default) (Slaves: 69)
Channel 70: Individual Clear channel (Default) (Slaves: 70)
Channel 71: Individual Clear channel (Default) (Slaves: 71)
Channel 72: D-channel (Default) (Slaves: 72)
Channel 73: FXO Loopstart (Default) (Slaves: 73)
Channel 74: FXO Loopstart (Default) (Slaves: 74)
Channel 75: FXO Loopstart (Default) (Slaves: 75)
Channel 76: FXO Loopstart (Default) (Slaves: 76)

76 channels configured.

(The channels at the end are the FXS ones I can't seem to get working)

After starting asterisk, the output of 'zap show channels' is about right
also:

[snip]
  66            default
  67            default
  68            default
  69            default
  70            default
  71            default
  73            default
  74            default
  75            default
  76            default
*CLI>

Here's how one of those channels looks:

*CLI> zap show channel 75
Channel: 75
File Descriptor: 68
Span: 4
Extension:
Context: default
Caller ID string: "Joe Schmoe" <(256) 428-6131>
Destroy: 0
Signalling Type: FXO Loopstart
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Actual Hookstate: Onhook


In case it matters, here's the interrupts:

[root at latte root]# cat /proc/interrupts
           CPU0       CPU1
  0:     238710     229607    IO-APIC-edge  timer
  1:          4          0    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
 12:          6          0    IO-APIC-edge  PS/2 Mouse
 14:      11076       5696    IO-APIC-edge  ide0
 15:          2          0    IO-APIC-edge  ide1
 16:          0          0   IO-APIC-level  usb-uhci, usb-uhci
 17:    2538419    2481746   IO-APIC-level  Intel ICH5, t4xxp
 18:      81387          0   IO-APIC-level  libata, usb-uhci, eth0
 19:          0          0   IO-APIC-level  usb-uhci
 22:    2254498    2291977   IO-APIC-level  wctdm
 23:          0          0   IO-APIC-level  ehci-hcd
NMI:          0          0
LOC:     468244     468242
ERR:          0
MIS:          0


Can anyone see what I'm missing (besides sleep)?????

-Darren




More information about the asterisk-users mailing list