[DONE] QuadBRI, Bristuffed asterisk and possible line issues

Im having a slight problem marrying up our new * system to the isdn in our new office, i’ve got the * working for the sip side of things, i’ve even had time to set up tftp based configuration of our BT101’s, however upon trying to marry the systems QuadBRI card to our isdn2e boxes (uk basic rate, 2b+d) i’ve found i simply cannot get things to behave, the card show’s connection to the 2 isdn2e boxes so that much is working but when I attempt to dial out I get a whole bunch of errors from the zapatel channel (below) as well as failures when trying to dial in.

chan_zap.c:3865 zt_handle_event: Detected alarm on channel 1: Red Alarm
Mar  1 16:19:19 NOTICE[5579]: chan_zap.c:8511 pri_dchannel: PRI got event: Alarm (4) on Primary D-channel of span 2
Mar  1 16:19:19 WARNING[5579]: chan_zap.c:2464 pri_find_dchan: No D-channels available!  Using Primary channel 3 as D-channel anyway!
Mar  1 16:19:19 NOTICE[5579]: chan_zap.c:8518 pri_dchannel: pri_shutdown
Mar  1 16:19:19 WARNING[5583]: chan_zap.c:6570 handle_init_event: Detected alarm on channel 2: Red Alarm
Mar  1 16:19:19 WARNING[5583]: chan_zap.c:1593 zt_disable_ec: Unable to disable echo cancellation on channel 2
Mar  1 16:19:19 NOTICE[5583]: chan_zap.c:6565 handle_init_event: Alarm cleared on channel 1
Mar  1 16:19:19 NOTICE[5583]: chan_zap.c:6565 handle_init_event: Alarm cleared on channel 2
Mar  1 16:19:19 NOTICE[5579]: chan_zap.c:8511 pri_dchannel: PRI got event: No more alarm (5) on Primary D-channel of span 2

The BT engineer insists’s everythings ok but i’ve also tried the line with a 3Com office connect remote 531s which supports isdn phones and is effectivley self-configuring, same result which makes me wonder if it could be an issue with the isdn line itself as opposed to the asterisk config.

Im not terribly “up” on telephony so a lot of this is very new to me but it’s something i’ve been forced to start learning rather quickly, there are a couple of questions i have which may be relevant, firstly the quadbri card is in te mode which i beleive is correct to be connecting to the isdn2e, one thing i am unsure of however is how to handle termination, the card supports it on each channel but junghanns provide little configuration information aside from what jumpers to set and how to plug the card into the wall, the other question i have is this, what are some good books on telephony ? :stuck_out_tongue:

I’ve also included my zaptel.conf and zapata.conf in case i have some stupid errors there!

------------ zaptel.conf ------------

bchan=1,2
dchan=3
bchan=4,5
dchan=6
bchan=7,8
dchan=9
bchan=10,11
dchan=12

span=2,1,3,ccs,ami
span=3,1,3,ccs,ami
span=4,1,3,ccs,ami
span=5,1,3,ccs,ami 

------------ zapata.conf ------------

[channels]
switchtype = euroisdn
signalling = bri_cpe

pridialplan = dynamic
prilocaldialplan = local
nationalprefix = 0
internationalprefix = 00
usecallingpres=yes

echocancel = yes
echocancelwhenbridged = yes
echotraining = 100

context=isdn-incoming
group = 1

; S/T port 1-4
channel => 1-2
channel => 4-5

In short, help!!!

  • = Edit = -
    After much fiddling i have managed to get this partly sorted, i can now make calls out, incomming calls dont seem to register at all and that seems to be a bt issue.

I’m at the same stage, I’ve got a QuadBRI card connecting to ISDN2e in the UK, and i’m struggling to make an external call, although I’ve got the internal SIP configuration sorted. Is there any chance you can post your zapata.conf and zaptel.conf on here if you’ve changed them during the fiddling satge… also what do you think your incoming problems are?

Thanks in advance

John

Hi

The Bit that I can see missing is the signaling isnt defined as PTP or PTMP which is what ISDN2e with msn would be.

Ian

[quote=“ianplain”]Hi

The Bit that I can see missing is the signaling isnt defined as PTP or PTMP which is what ISDN2e with msn would be.

Ian[/quote]

Ian

Surely, it would be PTP? What cicumstances would you use PTMP connecting to an ISDN2e TE?

Regards

John

But the asterisk is the TE, As he is connecting to a ISDN2e, So if its DDI(DID) then it will be PTP or for MSN numbering it will be PTMP.

Ian

[quote=“ianplain”]But the asterisk is the TE, As he is connecting to a ISDN2e, So if its DDI(DID) then it will be PTP or for MSN numbering it will be PTMP.

Ian[/quote]

Thanks for the clarification Ian. The thing that through me was the definition of NT on asteriskguru.com, “…It is a small hardware box to which the user has to connect his ISDN devices via a so called S0 interface. In most European countries, the ISDN provider supplies the NT…” which of course is what BT supply with ISDN2e.

But that make sense now.

Thanks

John

Hi

This is a difference between Europe and US. in the US teh U bus is presented so a lot of equpment has the NT built in whereas in Europe we get the S bus so we connect the TE to it.

Ian