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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 10 09:58:03 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-10 09:58 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0091260) p_lindheimer (reporter) - 2008-08-10 09:58
 http://bugs.digium.com/view.php?id=13266#c91260 
---------------------------------------------------------------------- 
I added detailed repro steps and copied CLI output of:

group show channels
sip show channels
show channels

before parking, after parking and after retrieving - why aren't they
visible in the ticket?

Well I also included this and it is easy to reproduce and examine locally.
Here is the relevant dialplan segments:

Outbound dialing using:

exten => _NXXNXXXXXX,n,Macro(dialout-trunk,4,${EXTEN},,)

the relevant part of dialout-trunk to count the calls that is not retained
after the call is parked:

exten => s,1,Set(DIAL_TRUNK=${ARG1})
exten => s,n,Set(GROUP()=OUT_${DIAL_TRUNK})

And when the call is first made, the call is counted:

CLI> group show channels
Channel                    Group                 Category            
SIP/222-0875a3e0           OUT_4                 (default)           
1 active channel

Once parked, that goes away. (If they system retained my repro steps you
can see details of the state of the channel during each step). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-10 09:58 p_lindheimer   Note Added: 0091260                          
======================================================================




More information about the asterisk-bugs mailing list