Digium B410P Not Ringing

Hi i recently installed a Digium B410P 4 Port BRI and have attempted an initial config, however the asterisk CLI doesnt even show any ring events and i am unsure how to get better diagnosis information on the line states.

The config files are as follows:

/etc/dahdi/system.conf

Autogenerated by /usr/sbin/dahdi_genconf on Sun Dec 19 18:03:35 2010

Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) AMI/CCS

span=1,1,0,ccs,ami

termtype: te

bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2

Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS

span=2,2,0,ccs,ami

termtype: te

bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5

Span 3: B4/0/3 “B4XXP (PCI) Card 0 Span 3” AMI/CCS

span=3,3,0,ccs,ami

termtype: te

bchan=7-8
hardhdlc=9
echocanceller=mg2,7-8

Span 4: B4/0/4 “B4XXP (PCI) Card 0 Span 4” AMI/CCS

span=4,4,0,ccs,ami

termtype: te

bchan=10-11
hardhdlc=12
echocanceller=mg2,10-11

Global data

loadzone = us
defaultzone = us

cat /etc/asterisk/chan_dahdi.conf

; Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) AMI/CCS
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 1-2
context = default
group = 63

; Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 4-5
context = default
group = 63

; Span 3: B4/0/3 “B4XXP (PCI) Card 0 Span 3” AMI/CCS
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 7-8
context = default
group = 63

; Span 4: B4/0/4 “B4XXP (PCI) Card 0 Span 4” AMI/CCS
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 10-11
context = default
group = 63

I fire up asterisk, and can issue the command ‘dahdi show channels’, all channels are listed and shown active. The lights on the back of the PCI faceplate on the B410P are solid green which i presume is a good sync (if i unplug the cables they flash red).

I have dialed the ISDN number from an external phone, i can see the ISDN terminal busy/activity light come on and i can hear the ring tone down the line of the extnernal phone, but after 2 calls it hangs-up.

My extensions.conf is most likely very wrong, however i am wondering if there is anyway that i can have a visual dump from asterisk that the phone is rininging so at least i know i am getting good data and events and the card is configured properly? I also have a second system with an analog turnk card, and when the trunk rings i get the following indication in the asterisk CLI:

*CLI> __analog_ss_thread 1
analog_exception 1
__analog_handle_event 1

With the BRI, even though i can hear the phone ringing down the phone when dialing the ISDN number externally, there is no status logged to the cli and of course it seems as if the terminal is just dead despite it showin the activity light when being called.

So in summary, i guess my questions are:

  1. what commands would be usefull in giving additional info about the BRI channel states (call in progress, ringing, offline) and seeing incoming ISDN calls from a simple status monitor? Should i see this output?

  2. Does the dahdi_genconf autogenated /etc/dahdi/system.conf file look ok? Are there any other tweaks or setting pairs that i could try for the BRI line (i am using a BRI in Dubai).

Many thanks in advance,

Chris

Hi when testing today i also get another error when running asterisk, which is the following:

[root@pbx asterisk]# asterisk -cvvvvvvvvv
/* snip!.. /
Channel ‘1-2’ configured.
Channel ‘4-5’ configured.
Channel ‘7-8’ configured.
Channel ‘10-11’ configured.
/
snip!.. */
*CLI>
Span 1: No D-channels available! Using Primary channel as D-channel anyway!
Span 2: No D-channels available! Using Primary channel as D-channel anyway!
Span 3: No D-channels available! Using Primary channel as D-channel anyway!
Span 4: No D-channels available! Using Primary channel as D-channel anyway!

When trying to dial out, i get the following error:

*CLI> Unable to create channel of type ‘Dahdi’ (cause 34 - Circuit/channel congestion)

My extensions.conf is very simple:

cat extensions.conf

[general]
static=yes
writeprotect=no

[globals]
TRUNK=Dahdi/g0
TRUNKMSD=1

[outgoing]
exten => _9.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) ;if we dial 9,
; send to trunk

[local]
exten => s,1,Dial(SIP/101)
include => outgoing

[from-pstn]
include => outgoing
include => local

My BRI is in a bad way :’(

Any pointers much appreciated, many thanks in advance.

Howdy,

Digium Support:

digium.com/support

should be able to assist you directly with this. Please contact them.

Cheers