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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 4 08:33:18 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18603 
====================================================================== 
Reported By:                arjankroon
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   18603
Category:                   Channels/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
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-03-04 08:33 CST
====================================================================== 
Summary:                    [patch] 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.



======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017683 [patch] I could not find an easy way to...
====================================================================== 

---------------------------------------------------------------------- 
 (0132638) stever28 (reporter) - 2011-03-04 08:33
 https://issues.asterisk.org/view.php?id=18603#c132638 
---------------------------------------------------------------------- 
We used the 17683/18603 1.8 v2 patch against rls 1.8.3 and although the
patch initially failed for funcs/func_channel.c a quick edit fixed it.

The AMI event worked as hoped for and the dialplan function CHANNEL etc
worked correctly.  We've completed various event and dialplan tests and all
appear to work as expected.

Our app is now working again after a quick edit/re-write, thanks for the
patch. Hope this fixes the issues for others. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-04 08:33 stever28       Note Added: 0132638                          
======================================================================




More information about the asterisk-bugs mailing list