Two x100p cards, only one is answering

Hi,

I’m trying to setup an asterisk server to connect a PBX to two SIP lines. I have two x100p cards connected to the PBX and can call numbers from both cards. However I want that each card answers a call on the line to which it is connected. If I call card 1 via card 2 it is working, but if I call card 2 via Card 1 it isn’t detecting any rings. If I look at ztmonitor at card 2 it is ringing. So in short Card 2 isn’t detecting any rings. How should I fix this?

BTW if I set card 2 allso to [tijmen] in extensions.conf it isn’t detecting any rings aswell.

My configs are:
zappata.conf:

[channels]
language=nl
cidsignalling=dtmf
echotraining=800
rxgain=-2.0
txgain=-2.0
immediate=yes
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
cadence=125,125,2000,-4000
cadence=250,250,500,1000,250,250,500,-4000
cadence=125,125,125,125,125,-4000
cadence=1000,500,2500,-5000

usedistinctiveringdetection=yes
dring1=95,0,0
dring1context=internal1
dring2=325,95,0
dring2context=internal2

switchtype=national
signalling=fxs_ks
usecallerid=no
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes

context=tijmen
channel=>1

signalling=fxs_ks
language=en
context=test
channel => 2

extensions.conf:

[tijmen]
;sip numers
exten => s,1,Dial(SIP/tijmen)

[test]
exten => s,1,answer
exten => s,2,NoOp()

You haven’t explained how you dial from one card to another. Via a dial plan? Using a phone attached to the line? How do you determine that card 2 does not detect the ring? What are the CLI messages when you dial card 2?

What happens if you put both in context [test]?

You right, sorry. I call indeed via the dial plan, with the lines
exten => 1,1,Dial(Zap/1/14)
exten => 2,1,Dial(Zap/2/13)

Card 1 is connected to number 13 at the PBX card 2 to number 14. If I dial 1, so card 1 is calling card 2, no messages show up is the console. But I detect with ztmonitor the the card is ringing:

[May 16 13:41:58] – Executing [1@tijmen:1] Dial(“SIP/tijmen-081d9d98”, “Zap/1/14”) in new stack
[May 16 13:41:58] – Called 1/14
[May 16 13:42:00] – Zap/1-1 answered SIP/tijmen-081d9d98
[May 16 13:42:18] – Hungup ‘Zap/1-1’
[May 16 13:42:18] == Spawn extension (tijmen, 1, 1) exited non-zero on ‘SIP/tijmen-081d9d98’

If i call 2, so card 2 is calling card 1 everything is ok:
[May 16 13:44:07] – Executing [2@tijmen:1] Dial(“SIP/tijmen-081d9d98”, “Zap/2/13”) in new stack
[May 16 13:44:07] – Called 2/13
[May 16 13:44:08] – Zap/2-1 answered SIP/tijmen-081d9d98
[May 16 13:44:09] – Starting simple switch on ‘Zap/1-1’
[May 16 13:44:09] NOTICE[17589]: chan_zap.c:6351 ss_thread: Got event 18 (Ring Begin)…
[May 16 13:44:09] NOTICE[17589]: chan_zap.c:6351 ss_thread: Got event 2 (Ring/Answered)…
[May 16 13:44:13] NOTICE[17589]: chan_zap.c:6351 ss_thread: Got event 18 (Ring Begin)…
[May 16 13:44:13] – Executing [s@tijmen:1] Dial(“Zap/1-1”, “SIP/tijmen”) in new stack
[May 16 13:44:13] – Called tijmen
[May 16 13:44:13] – SIP/tijmen-081db318 is ringing
[May 16 13:44:18] – Hungup ‘Zap/2-1’
[May 16 13:44:18] == Spawn extension (tijmen, 2, 1) exited non-zero on ‘SIP/tijmen-081d9d98’

So at card 1 I get Got event 18 (Ring Begin)… but card 2 doesn’t show anything.

Have you check for possible IRQ conflict? The best way to eliminate the possibility of PCI related issues is to use just card 2 - take out card 1 so card 2 will become card 1. Then attach a regular phone to your PBX and dial the card. If it still won’t detect, that’s a faulty card. Of course you can also swap the two cards to test for faulty card.