[asterisk-bugs] [Asterisk 0011330]: [patch] CHANNELS dialplan function, get channel list in the dialplan

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 21 10:46:56 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11330 
====================================================================== 
Reported By:                rain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11330
Category:                   Functions/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-20-2007 15:54 CST
Last Modified:              11-21-2007 10:46 CST
====================================================================== 
Summary:                    [patch] CHANNELS dialplan function, get channel list
in the dialplan
Description: 
There is currently no clean way to get a list of active channels from
within the dialplan -- the cleanest method that's currently possible is an
AGI script, which requires the extra overhead of spawning a new process. 
Since I need to fetch the channel list for each call attempt to an agent
(from app_queue), the wasted CPU time would be substantial.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 11-21-07 10:46  
---------------------------------------------------------------------- 
I would suggest that instead of making this a separate function, that you
make this an argument of the CHANNEL function, i.e. CHANNEL(list) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-21-07 10:46  Corydon76      Note Added: 0074141                          
======================================================================




More information about the asterisk-bugs mailing list