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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 24 11:34:53 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 11:34 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.



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

---------------------------------------------------------------------- 
 (0132364) stever28 (reporter) - 2011-02-24 11:34
 https://issues.asterisk.org/view.php?id=18603#c132364 
---------------------------------------------------------------------- 
OK, I can accept there was a need to change the channel name but now
there's nowhere to find the real channel in real time.  Unfortunately, just
keeping track of the number of calls on a span isn't enough information. 
We have several Asterisk servers linked by PRI and also linked to a couple
of legacy PBX's.  Knowing what is connected to where is quite important.

There is still useful information in channels/sig_pri.c as we still get
messages like the following in the full logfile - -- Accepting overlap call
from '2241' to '<unspecified>' on channel 0/31, span 1.  We really need the
channel and span info and this looks to be the last place to find it,
unfortunately I can't see any way to get this to the ami in our app.

If there was an event created at the point that message is sent that the
ami could read or even if there was a variable available in the dialplan, I
could create a userevent before the dial command and read this from the
ami.

We also need the real channel number to be able to identify the channel so
we can use MixMonitorMute for PCIDSS compliance in the UK.  Hope you can
see were in a bit of a fix here.

Thanks, Steve. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-24 11:34 stever28       Note Added: 0132364                          
======================================================================




More information about the asterisk-bugs mailing list