Flex T1 provider not seeing D channel

Dahdi 2.3.0.1
Asterisk 1.6.2.11
FreePBX 2.8.0.2
Astribank USB hardware

We have been in contact with our T1 flex provider they tell us they can see our PBX but cant see our D channel as far as I can tell from everything I have read we have our config’s set correctly. We currently are running 3 analog lines but need to switch to the T1. This is my first Asterisk build so I know very little about trouble shooting it.

Is there any way to trouble shoot the D channel, or check the status of it? Am I missing anything in my configs? I was also wondering if I should try upgrading Dahdi to the most recent revision? We are only concerned about span 1 but I have the entire file listed just in case. Thanks in advance for any help

system.conf (dahdi)

Span 1: XBUS-00/XPD-00 “Xorcom XPD #00/00: T1” (MASTER) RED

span=1,1,0,esf,b8zs

termtype: te

bchan=1-23
dchan=24
echocanceller=mg2,1-23

Span 2: XBUS-00/XPD-10 “Xorcom XPD #00/10: FXS”

fxoks=25
echocanceller=mg2,25
fxoks=26
echocanceller=mg2,26
fxoks=27
echocanceller=mg2,27
fxoks=28
echocanceller=mg2,28
fxoks=29
echocanceller=mg2,29
fxoks=30
echocanceller=mg2,30
fxoks=31
echocanceller=mg2,31
fxoks=32
echocanceller=mg2,32

Span 3: XBUS-00/XPD-20 “Xorcom XPD #00/20: FXO”

fxsks=33
echocanceller=mg2,33
fxsks=34
echocanceller=mg2,34
fxsks=35
echocanceller=mg2,35
fxsks=36
echocanceller=mg2,36
fxsks=37
echocanceller=mg2,37
fxsks=38
echocanceller=mg2,38
fxsks=39
echocanceller=mg2,39
fxsks=40
echocanceller=mg2,40

Global data

loadzone = us
defaultzone = us

dahdi-channnels.conf (asterisk)

; Autogenerated by /usr/sbin/dahdi_genconf on Wed Sep 1 16:24:56 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: XBUS-00/XPD-00 “Xorcom XPD #00/00: T1” (MASTER) RED
context=from-pstn
switchtype = national
signalling = pri_cpe
group=2,24
channel => 1-23

; Span 2: XBUS-00/XPD-10 “Xorcom XPD #00/10: FXS”
;;; line="25 XPP_FXS/00/10/0 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 25” <4032>
mailbox=4032
group=5
context=from-internal
channel => 25
callerid=
mailbox=
group=
context=default

;;; line="26 XPP_FXS/00/10/1 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 26” <4033>
mailbox=4033
group=5
context=from-internal
channel => 26
callerid=
mailbox=
group=
context=default

;;; line="27 XPP_FXS/00/10/2 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 27” <4034>
mailbox=4034
group=5
context=from-internal
channel => 27
callerid=
mailbox=
group=
context=default

;;; line="28 XPP_FXS/00/10/3 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 28” <4035>
mailbox=4035
group=5
context=from-internal
channel => 28
callerid=
mailbox=
group=
context=default

;;; line="29 XPP_FXS/00/10/4 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 29” <4036>
mailbox=4036
group=5
context=from-internal
channel => 29
callerid=
mailbox=
group=
context=default

;;; line="30 XPP_FXS/00/10/5 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 30” <4037>
mailbox=4037
group=5
context=from-internal
channel => 30
callerid=
mailbox=
group=
context=default

;;; line="31 XPP_FXS/00/10/6 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 31” <4038>
mailbox=4038
group=5
context=from-internal
channel => 31
callerid=
mailbox=
group=
context=default

;;; line="32 XPP_FXS/00/10/7 FXOKS (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 32” <4039>
mailbox=4039
group=5
context=from-internal
channel => 32
callerid=
mailbox=
group=
context=default

; Span 3: XBUS-00/XPD-20 “Xorcom XPD #00/20: FXO”
;;; line="33 XPP_FXO/00/20/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 33
callerid=
group=
context=default

;;; line="34 XPP_FXO/00/20/1"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 34
callerid=
group=
context=default

;;; line="35 XPP_FXO/00/20/2"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 35
callerid=
group=
context=default

;;; line="36 XPP_FXO/00/20/3"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 36
callerid=
group=
context=default

;;; line="37 XPP_FXO/00/20/4"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 37
callerid=
group=
context=default

;;; line="38 XPP_FXO/00/20/5"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 38
callerid=
group=
context=default

;;; line="39 XPP_FXO/00/20/6"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 39
callerid=
group=
context=default

;;; line="40 XPP_FXO/00/20/7"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 40
callerid=
group=
context=default

Update in the asterisk CLI dahdi show channels does not show channel 24 (the D channel!) What could be the cause of this?

You can’t talk on the D-Channel. It’s for signaling. It’s not a “channel” per se to Asterisk.

So what you are saying is, its not showing up by design and will never show up?

how can I verify the D channel is working?

I think the command is pri show spans. You can always do a PRI ? to check my syntax.

It states pri show spans is not a valid command, in fact help shows no commands starting with pri

pbx-01*cli>pri show spans

PRI span 1/0: Provisioned, Up, Active
PRI span 2/0: Provisioned, Up, Active

the fact that there are no pri commands from asterisk cli sounds like a problem with the pri configuration.

out of interest, is there a reason that you are trying to put each PRI channel into a separate group?

I want to add I don’t know squat about the Astribanks. Do they still use libpri ?

Thank you so much. That was my entire problem, libpri. I installed libpri-dev and libpri1.4, recompiled then reinstalled dahdi, reconfigured, recompiled and reinstalled asterisk. (reboot)
pri show spans showed PRI span 1/0: Provisioned, Up, Active
Instantly, THE SYSTEM WAS ABLE TO RECEIVE A PHONE CALL ON THE T1!!!
Again thanks, this is my first asterisk box and the people on this forum have been amazing!

As to your inquiry about the pri channel in separate groups, im not sure thats just what dahdi_genconf created.