[asterisk-users] TDM400P not answering or making calls

Tom Playford tom at playford.net
Tue Sep 11 13:31:52 CDT 2007


Hello,

I have recently purchased a TDM400P card with one FXO expansion card,
and I'm having problems.

The card does not pick up incoming calls. Asterisk detects the ringing
line and rings various SIP phones as required. When a sip phone
answers, the sip user hears nothing and the PSTN user continues to
hear ringing.  Here is the asterisk output for an incoming call:

-------------------------------------
  == Starting post polarity CID detection on channel 3
    -- Starting simple switch on 'Zap/3-1'
    -- Executing Set("Zap/3-1", "CALLERID(all)=call to 322817") in new stack
    -- Executing Dial("Zap/3-1", "Local/601 at special|45") in new stack
    -- Called 601 at special
    -- Executing Dial("Local/601 at special-ebb2,2", "SIP/203|30") in new stack
    -- Called 201
    -- SIP/203-0814c448 is ringing
    -- Local/601 at special-ebb2,1 is ringing
    -- SIP/201-081445e8 is ringing
    -- SIP/201-081445e8 answered Local/601 at special-ebb2,2
    -- Local/601 at special-ebb2,1 stopped sounds
    -- Local/601 at special-ebb2,1 answered Zap/3-1
  == Spawn extension (special, 601, 1) exited non-zero on
'Local/601 at special-ebb2,2'
  == Spawn extension (special, 601, 1) exited non-zero on
'Local/601 at special-ebb2,2'
Sep 11 19:25:55 WARNING[3073]: chan_zap.c:3934 zt_handle_event:
Ring/Off-hook in strange state 6 on channel 3
  == Spawn extension (incoming, s, 2) exited non-zero on 'Zap/3-1'
    -- Hungup 'Zap/3-1'
-------------------------------------

I have set opermode to 'UK' (as I'm in the UK), and dmesg confirms the setting.

Outgoing calls also fail, the SIP user hears nothing, yet asterisk
claims that the call has been picked up. Here is the asterisk log,
looks perfectly normal:

-------------------------
 -- Executing Dial("SIP/201-08154a38", "Zap/3/0800800800") in new stack
    -- Called 3/0800800800
    -- Zap/3-1 answered SIP/201-08154a38
-------------------------

I am running Debian Etch with kernel 2.6.18 and asterisk version 1.2.13.

I'm beginning to think it's a fault with the expansion card... anyone
else got any ideas? Oh and the BT line is fine, it works (as well as
can be expected) with a X100P card I have.


Thanks,

Tom

Attached:

dmesg output:
------------------------
apata Telephony Interface Registered on major 196
Zaptel Version: 1.2.16
Zaptel Echo Canceller: MG2
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 12 (level,
low) -> IRQ 12
Freshmaker version: 73
Freshmaker passed register test
Module 0: Not installed
Module 1: Not installed
Module 2: Installed -- AUTO FXO (UK mode)
Module 3: Not installed
Found a Wildcard TDM: Wildcard TDM400P REV I (1 modules)
Registered tone zone 4 (United Kingdom)
-----------------------------

zapata.conf:
----------------
[channels]
language=en
context=incoming
signalling=fxs_ks
busydetect=yes
busycount=4
callprogress=no
relaxdtmf=yes
callwaiting=no
callwaitingcallerid=no
threewaycalling=no
transfer=yes
cancallforward=yes
usecallerid=no
cidsignalling=v23
cidstart=polarity
callerid=no
hidecallerid=no
echotraining=yes
echocancel=yes
echocancelwhenbridged=yes
musiconhold=default
immediate=no
-----------------

zaptel.conf:

-----------------------
fxsks=3
loadzone        = uk
defaultzone     = uk
-----------------------



More information about the asterisk-users mailing list