[asterisk-bugs] [Asterisk 0018603]: Get Real Channel of a Dahdi Call

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 24 07:00:26 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18603 
====================================================================== 
Reported By:                arjankroon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18603
Category:                   Channels/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-2951 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-12 06:41 CST
Last Modified:              2011-02-24 07:00 CST
====================================================================== 
Summary:                    Get Real Channel of a Dahdi Call
Description: 
The channel name for DAHDI channels has changed in 1.8.
This is mentioned in
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8-current

The old format was DAHDI/XX-Y where XX was the real channel number. 
It has changed to DAHDI/iZ/XXXXXXXXXX-YYY where XXXXXXXXXX is the
callerid. 
And Z is the number of the span in /etc/dahdi/system.conf

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.

Or is there a new VARIABLE where this real CHANNEL found.

With DAHDI SHOW CHANNELS you see the number of channels in Chan pseudo.



====================================================================== 

---------------------------------------------------------------------- 
 (0132346) stever28 (reporter) - 2011-02-24 07:00
 https://issues.asterisk.org/view.php?id=18603#c132346 
---------------------------------------------------------------------- 
Apologies for jumping in here but just some additional reasoning for
reverting to the original format.

We've just upgraded to 1.8 from 1.4 and have come across the same issue. 
We have a VB6 application that logs into the AMI and parses all events. 
The code is looking for DAHDI/XX-Y where XX is the real channel (timeslot),
this information is then used to populate a gui showing all 120 channels
across four PRI spans, we have a medium sized call centre relying on this
information for traffic monitoring.

The current (1.8) output shows DAHDI/i<span>, so this just returns the
span number.  This makes our solution pretty useless as we cannot now
monitor each channel (timeslot) individually.  The app has worked fine for
years, but moving to the latest LTS version has been a major backward
step.

Is there no way to have the channel (timeslot) information displayed in
the event output instead of just the span number?

Many thanks, Steve. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-24 07:00 stever28       Note Added: 0132346                          
======================================================================




More information about the asterisk-bugs mailing list