I have had asterisk 1.2.13 running for quite a while on our sangoma a101 isdn card. i also have a a200 card.
I had one of the a200 ports connected to a uk BT phone line which asterisk just answers on ring and plays a message back and then hangs up.
I have had to move the asterisk server and rerun the phone line from the BT patch pannel to a new master socket. I have used 2 core phone cable
My problem is now Im getting the following errors and asterisk is not picking up the line. When I call the line it just rings and is not answered. Asterisk though shows the sound file playing but you only get ringin I have switched the 2 wires on the master socket incase they were the wrong way around without any success.
I am getting the ring off hook in strange state error which I think is why the line is not being answered.
Jul 3 11:37:09 NOTICE[16689]: chan_zap.c:6073 ss_thread: Got event 18 (Ring Begin)…
Jul 3 11:37:10 NOTICE[16689]: chan_zap.c:6073 ss_thread: Got event 17 (Polarity Reversal)…
Jul 3 11:37:10 NOTICE[16689]: chan_zap.c:6073 ss_thread: Got event 2 (Ring/Answered)…
– Executing Answer(“Zap/35-1”, “”) in new stack
– Executing Wait(“Zap/35-1”, “2”) in new stack
Jul 3 11:37:11 WARNING[16689]: chan_zap.c:3926 zt_handle_event: Ring/Off-hook in strange state 6 on channel 35
– Executing BackGround(“Zap/35-1”, “82721redirect”) in new stack
– Playing ‘82721redirect’ (language ‘en’)
extension config
[line1]
exten => s,1,Answer
exten => s,n,wait(2)
exten => s,n,background(82721redirect)
exten => s,n,Hangup()
zaptel.conf
loadzone = uk
defaultzone = uk
fxsks = 35
zapata
usecallerid=yes
immediate=yes ;take line on first ring
callerid=asreceived ; propagate cid as received from bt
cidsignalling=v23
cidstart=polarity
rxgain=5
txgain=8
signalling=fxs_ks
;sendcalleridafter=2
group=4
context=line1
channel => 35-35
Any Ideas as Im now a bit stuck.
Nick