[Home]

Summary:ASTERISK-17494: PickupChan doesn't pick moultiple arguments
Reporter:Vadim Mikhnevych (vmikhnevych)Labels:
Date Opened:2011-03-02 07:06:09.000-0600Date Closed:2011-03-03 14:13:51.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Applications/app_directed_pickup
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.
Comments:By: Vadim Mikhnevych (vmikhnevych) 2011-03-02 07:40:05.000-0600

1.8.4-rc2 doesn't have this bug

By: Vadim Mikhnevych (vmikhnevych) 2011-03-03 03:14:25.000-0600

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.

By: Digium Subversion (svnbot) 2011-03-03 14:13:12.000-0600

Repository: asterisk
Revision: 309348

U   branches/1.6.2/apps/app_directed_pickup.c

------------------------------------------------------------------------
r309348 | lmadsen | 2011-03-03 14:13:12 -0600 (Thu, 03 Mar 2011) | 5 lines

Update PickupChan documentation.
The PickupChan uses the ampersand as the argument separator.
(closes issue ASTERISK-17494)
Reported by: vmikhnevych
Tested by: vmikhnevych
------------------------------------------------------------------------

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

By: Digium Subversion (svnbot) 2011-03-03 14:13:51.000-0600

Repository: asterisk
Revision: 309349

_U  branches/1.8/

------------------------------------------------------------------------
r309349 | lmadsen | 2011-03-03 14:13:50 -0600 (Thu, 03 Mar 2011) | 12 lines

Blocked revisions 309348 via svnmerge

........
 r309348 | lmadsen | 2011-03-03 14:13:11 -0600 (Thu, 03 Mar 2011) | 5 lines
 
 Update PickupChan documentation.
 The PickupChan uses the ampersand as the argument separator.
 (closes issue ASTERISK-17494)
 Reported by: vmikhnevych
 Tested by: vmikhnevych
........

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

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