[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 Aug 23 17:59:45 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                     acknowledged
Target Version:             1.4.37
Asterisk Version:           1.4.34 
JIRA:                       SWP-1978 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-29 09:58 CDT
Last Modified:              2010-08-23 17:59 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-23 17:59 lmadsen        Target Version           1.4.36 => 1.4.37    
======================================================================




More information about the asterisk-bugs mailing list