[asterisk-bugs] [Asterisk 0013266]: parking an outbound calls loses GROUP() channel count information

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 12 16:09:48 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13266 
====================================================================== 
Reported By:                p_lindheimer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13266
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-10 09:48 CDT
Last Modified:              2008-08-12 16:09 CDT
====================================================================== 
Summary:                    parking an outbound calls loses GROUP() channel
count information
Description: 
When you make an outbound call and count the channel with the GROUP() count
feature (so you can limit the calls to that channel), and then subsequently
park the call, the channel is removed from that list of counted calls. And
retrieving the call, it is still gone.
====================================================================== 

---------------------------------------------------------------------- 
 (0091352) p_lindheimer (reporter) - 2008-08-12 16:09
 http://bugs.digium.com/view.php?id=13266#c91352 
---------------------------------------------------------------------- 
after some discussion with Jared Smith, it looks like we are using GROUP()
a bit wrong. When I change the code to:

exten => s,n,Set(OUTBOUND_GROUP=OUT_${DIAL_TRUNK})

that solves the problem, only leaving a slight race condition in case 2
calls are going out at the same time, since the count is not incremented
until the call is dialed. But this seems to clarify that this is not
necessarily a bug as first thought. So if it all looks clean to you, I
guess you can go ahead and close the ticket. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-12 16:09 p_lindheimer   Note Added: 0091352                          
======================================================================




More information about the asterisk-bugs mailing list