[HELP] FXO not sending off-hook to the PSTN in the UK

When my * box recieves an incoming call on fxo on TDM21B it answers and proceeds through my dialplan, but fails to send the LE an off-hook. The caller just hears ringing until connected to BT 1571. Console message below.

===============================================
== Starting post polarity CID detection on channel 1
– Starting simple switch on ‘Zap/1-1’
– Executing Answer(“Zap/1-1”, “”) in new stack
– Executing Dial(“Zap/1-1”, “ZAP/3|10”) in new stack
– Called 3
– Zap/3-1 is ringing
Sep 30 14:14:08 WARNING[7672]: chan_zap.c:3451 zt_handle_event: Ring/Off-hook in strange state 6 on channel 1
– Zap/3-1 is ringing
– Zap/3-1 is ringing
Sep 30 14:14:09 WARNING[7672]: chan_zap.c:3451 zt_handle_event: Ring/Off-hook in strange state 6 on channel 1
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 answered Zap/1-1
– Attempting native bridge of Zap/1-1 and Zap/3-1
– Hungup ‘Zap/3-1’
== Spawn extension (incoming, s, 2) exited non-zero on ‘Zap/1-1’
– Hungup ‘Zap/1-1’

Note: chan_zap.c:3451 zt_handle_event: Ring/Off-hook in strange state 6 on channel 1

Zapata.conf

[channels]
language=en
usecallerid=uk
cidsignalling=v23
cidstart=polarity
callerid=asreceived
busydetect=no
callprogress=no
progzone=UK

signalling=fxs_ks
context=incoming
immediate=Yes
group=1
channel=>1

signalling=fxo_ks
context=analog
immediate=no
group=2
channel=>3-4

Relevant part of Extensions.conf

[incoming]
exten=>s,1,Answer
exten=>s,2,Dial(ZAP/3,10)
exten=>s,3,Hangup

Have googled etc. but no luck.
Thanks in advanced.

Tom

So, let me see if I understand the problem…

Your caller dials a number, and continues to hear ringback until their call is answered?

Isn’t that normal? Would you want the caller to hear nothing at all? Music? Some sort of message?

From the callers perspective the call is never answered and goes through to the telco vmail. From what I can see the line never goes off-hook. Hence the error below:

chan_zap.c:3451 zt_handle_event: Ring/Off-hook in strange state 6 on channel 1

  • is confused because it thinks that it has answered the call (exten=>s,1,Answer ) yet it still detects ringing on the line. The LE never recieves an off-hook signall from *.

In your zaptel.conf file, do you have loadzone=uk?

Can you answer the call at all? You may simply have a defective FXO module.

I’m assuming that your modprobe and ztcfg ran flawlessly…

I am unable to successfully make or receive any calls. Zaptel.conf below

===============================================

Zaptel Configuration File

loadzone = uk
defaultzone=uk
fxsks=1
fxoks=3-4

Relavent output from dmesg

Freshmaker passed register test
Module 0: Installed – AUTO FXO (UK mode)
Module 1: Not installed
Module 2: Installed – AUTO FXS/DPO
Module 3: Installed – AUTO FXS/DPO
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
ip_tables: © 2000-2002 Netfilter core team

[root@Asterisk ~]# ztcfg -vvv

Zaptel Configuration

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)

3 channels configured.

Will try replacing fxo module

Tom.

Before you replace the module, try simply removing it and reseating the connections.

While it’s out, check for bent/loose pins or anything broken on the connector.

If everything looks ok, install it again and give it one more go… You might get lucky.

Tryed moving module to the empty spot on the card and changed PCI slot. No joy. I have concluded that the module is faulty and sent it back for replacement.