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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 3 18:11:10 CDT 2008


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:              06-03-2008 18:11 CDT
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-03-08 18:11  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120230

U   trunk/funcs/func_channel.c

------------------------------------------------------------------------
r120230 | tilghman | 2008-06-03 18:11:09 -0500 (Tue, 03 Jun 2008) | 7
lines

Add a function, CHANNELS(), which retrieves a list of all active channels.
(closes issue http://bugs.digium.com/view.php?id=11330)
 Reported by: rain
 Patches: 
       func_channel-channel_list_function.diff uploaded by rain (license
327)
       (with some additional changes by me, mostly to meet coding
guidelines)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=120230 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-08 18:11  svnbot         Checkin                                      
06-03-08 18:11  svnbot         Note Added: 0087762                          
======================================================================




More information about the asterisk-bugs mailing list