[asterisk-bugs] [Asterisk 0018905]: PickupChan doesn't pick moultiple arguments

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 3 03:14:26 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18905 
====================================================================== 
Reported By:                vmikhnevych
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18905
Category:                   Applications/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.18-rc1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-02 07:06 CST
Last Modified:              2011-03-03 03:14 CST
====================================================================== 
Summary:                    PickupChan doesn't pick moultiple arguments
Description: 
[Syntax]
PickupChan(channel[,channel2[,...]])

The console shows:
-- AGI Script Executing Application: (PickupChan) Options:
(SIP/2051,SIP/1967)
[Mar  2 14:42:39] NOTICE[21506]: app_directed_pickup.c:291
pickupchan_exec: No target channel found for SIP/2051,SIP/1967.

It happens while SIP/2051 is ringing. 
Using a single channel argument like this: PickupChan(SIP/2051) , works
ok, the channel is picked up. 
====================================================================== 

---------------------------------------------------------------------- 
 (0132561) vmikhnevych (reporter) - 2011-03-03 03:14
 https://issues.asterisk.org/view.php?id=18905#c132561 
---------------------------------------------------------------------- 
I've found the cause. Actually, in 1.6.2 PickupChan works, if "&" is used
to separate channel arguments instead of ",". So, it's more like a
documentation bug, because syntax description shows comma, not ampersand. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-03 03:14 vmikhnevych    Note Added: 0132561                          
======================================================================




More information about the asterisk-bugs mailing list