[asterisk-bugs] [Asterisk 0014527]: Queue members associated with ZOMBIE channels (breaks wrapuptime and queue_log).

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 4 11:38:43 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14527 
====================================================================== 
Reported By:                kebl0155
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14527
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.3 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-23 06:26 CST
Last Modified:              2009-03-04 11:38 CST
====================================================================== 
Summary:                    Queue members associated with ZOMBIE channels
(breaks wrapuptime and queue_log).
Description: 
In some circumstances, queue members become associated with a ZOMBIE
channel during the answer process.

When the ZOMBIE channel is hung up under normal clearing as part of the
answer process, an AgentComplete event is generated, and the wrapuptime
counter is set, even though the agent is still on a call.  The queue_log
entry is also written at this time with just 1 second of talk time.

No further AgentComplete event is generated when the call comes to an end.
 The wrapuptime is then counted from the start of the call, not the end of
the call.
====================================================================== 

---------------------------------------------------------------------- 
 (0101202) mmichelson (administrator) - 2009-03-04 11:38
 http://bugs.digium.com/view.php?id=14527#c101202 
---------------------------------------------------------------------- 
Yes, if you're using Originate, that implicitly uses a Local channel, so
working around the problem in ways I have described is not exactly an
option.

The problem is that app_queue sends the AgentComplete event because to the
queue app, it appears that the bridge between the caller and the queue
member has been broken because the incoming channel into the queue has been
hung up. This hang up is due to the Local channel optimization that is
going on once the Local channel becomes bridged with the queue member's
channel. Part of the optimization that occurs is a channel masquerade
(ast_do_masquerade in main/channel.c). It is during the channel masquerade
that the Rename events occur. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-04 11:38 mmichelson     Note Added: 0101202                          
======================================================================




More information about the asterisk-bugs mailing list