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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 24 14:07:23 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 14:07 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.



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

---------------------------------------------------------------------- 
 (0132381) stever28 (reporter) - 2011-02-24 14:07
 https://issues.asterisk.org/view.php?id=18603#c132381 
---------------------------------------------------------------------- 
I'll try and get that loaded on a non-production box and have a look. The
only issue with that is I'll need to query that at the correct time,
currently (pre 1.8) our app just parses all events real-time and reacts to
the information in them, so it's read only with no need to send commands
back to the Asterisk server to query anything. The whole app just uses the
AMI and events, it couldn't be simpler, even though it's monitoring 120
channels, in fact, we recently ordered a new 4 span card for an expansion
programme, taking us to 240 channels to monitor.

I know why the channel name was changed but find it odd that access to the
channel (timeslot) information has just been disregarded, I can't be the
only one using it surely. 

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




More information about the asterisk-bugs mailing list