[asterisk-bugs] [Asterisk 0017748]: queue shows the wrong agent in queue_log (CONNECT event) when the call is pickup up by another phone

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 4 11:31:32 CDT 2010


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=17748 
====================================================================== 
Reported By:                anonymouz666
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17748
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.4.38
Asterisk Version:           SVN 
JIRA:                       SWP-1978 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-07-29 09:58 CDT
Last Modified:              2010-10-04 11:31 CDT
====================================================================== 
Summary:                    queue shows the wrong agent in queue_log (CONNECT
event) when the call is pickup up by another phone
Description: 
In app_queue.c, the connect log is generated by this line: 

ast_queue_log(queuename, qe->chan->uniqueid, member->membername,
"CONNECT", "%ld|%s", (long)time(NULL) - qe->start, peer->uniqueid); 

However, if this call was (builtin) pickup by another phone, the log will
store the first ringing queue member - not the channel that actually
bridged the call.

Flow: 

Incoming call -> queue FOO -> peer 300 ringing.

310 is outside queue FOO and pickup the call. The CONNECT event is
associated with 300 not 310.
====================================================================== 

---------------------------------------------------------------------- 
 (0127655) tilghman (administrator) - 2010-10-04 11:31
 https://issues.asterisk.org/view.php?id=17748#c127655 
---------------------------------------------------------------------- 
The problem is that due to the way that app_queue was designed, we cannot
provide that functionality.  The agent in the log MUST be the agent
answered, if answered at all.  In order to provide a different answer, the
entire Queue app would need to be redesigned from scratch, which is not
something that we're going to do at this time.  However, if you'd like to
rebuild the Queue app from scratch, using the devicestate model, instead of
the polling model here, I believe the entire community would love to have
that contributed back to the project. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-04 11:31 tilghman       Note Added: 0127655                          
2010-10-04 11:31 tilghman       Status                   acknowledged => closed
2010-10-04 11:31 tilghman       Resolution               open => won't fix   
======================================================================




More information about the asterisk-bugs mailing list