Asterisk 1.8 Channel Name Change - DAHDI

The channel name for DAHDI channels has changed in 1.8 with no information that I can find in the ChangeLog. The old format was DAHDI/XX-Y where XX was the real channel number. It has changed to DAHDI/1i/XXXXXXXXXX-YY where XXXXXXXXXX is the callerid. I need a way to know the real DAHDI port number 1-96 on a 4-span card.

Hi danwdavis

Did you already get an answer for your question about the channel name?

Our channel names look like this
DAHDI/i8/0517383600-229
DAHDI/i1/0031650545840-329
DAHDI/i4/0512515245-20f
DAHDI/i6/0517417488-1fb

But we want to know which channel number of these four channels is used.

We figured out that the number after the i is the number of the span in /etc/dahdi/system.conf
This is our system.conf:

span=1,1,0,ccs,hdb3,yellow
bchan=1-15,17-31
dchan=16
span=2,1,0,ccs,hdb3,yellow
bchan=32-46,48-62
dchan=47
span=3,1,0,ccs,hdb3,yellow
bchan=63-77,79-93
dchan=78
span=4,1,0,ccs,hdb3,yellow
bchan=94-108,110-124
dchan=109
span=5,1,0,ccs,hdb3,yellow
bchan=125-139,141-155
dchan=140
span=6,1,0,ccs,hdb3,yellow
bchan=156-170,172-186
dchan=171
span=7,1,0,ccs,hdb3,yellow
bchan=187-201,203-217
dchan=202
span=8,1,0,ccs,hdb3,yellow
bchan=218-232,234-248
dchan=233

We use two seperate cards. (TE4/1/3 "T4XXP (PCI))

Hi, does anybody have an idea how to solve the problem with the channel number?

Regards,

Arjan Kroon

Hi, I have the same issue, I have a vb app checking events and it relies on the DAHDI/channel number rather than the span number. I’ve looked at all the events for both inbound abnd outbound calls but can’t see any reference to the actual channel the call is on, only the span. We’ve got 4 x 30 channel PRI spans and really need to know the channels in use in real time. Any ideas ?

Thanks,

Steve