[asterisk-bugs] [Asterisk 0016539]: [patch] call pickup can pickup caller instead of callee

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 14 12:06:36 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16539 
====================================================================== 
Reported By:                syspert
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   16539
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Target Version:             1.4.30
Asterisk Version:           SVN 
JIRA:                       SWP-629 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 237317 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-04 10:22 CST
Last Modified:              2010-01-14 12:06 CST
====================================================================== 
Summary:                    [patch] call pickup can pickup caller instead of
callee
Description: 
When dialing an outside trunk and on another phone a call-pickup (*8) is
done the function find_channel_by_group returns a channel with state RING
and the caller is transferred.

Instead of only returning a channel with the state RINGING and when found
returning the channel of the callee the function can return randomly the
caller and callee (when multiple phones are used)
====================================================================== 

---------------------------------------------------------------------- 
 (0116687) svnbot (reporter) - 2010-01-14 12:06
 https://issues.asterisk.org/view.php?id=16539#c116687 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 240179

U   trunk/main/channel.c

------------------------------------------------------------------------
r240179 | jpeeler | 2010-01-14 12:03:31 -0600 (Thu, 14 Jan 2010) | 12
lines

Fix broken call pickup

The problem was the OUTGOING flag was not getting set properly on the
channel,
resulting in pickup failing as ast_read thought the call was inbound.
Refer to
170393 for a more verbose description as this is the same exact change.

(closes issue https://issues.asterisk.org/view.php?id=16539)
Reported by: syspert
Patches: 
      bug16539.patch uploaded by jpeeler (license 325)
Tested by: syspert

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=240179 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-14 12:06 svnbot         Checkin                                      
2010-01-14 12:06 svnbot         Note Added: 0116687                          
======================================================================




More information about the asterisk-bugs mailing list