[asterisk-bugs] [Asterisk 0011161]: New application app_pickupextn.c

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 5 11:41:17 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11161 
====================================================================== 
Reported By:                eurodrew555
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11161
Category:                   Applications/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 88116 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-05-2007 06:56 CST
Last Modified:              11-05-2007 11:41 CST
====================================================================== 
Summary:                    New application app_pickupextn.c
Description: 

We attempted to implement call pickup using the cmd
Pickup(extension[@context]) but found it was limited to only being able to
pickup a channel that is in the DIAL state.

This application app_pickupextn.c extends the Asterisk pickup application
to be able to do the following:

- will pickup any ringing CHANNEL (whether it be SIP, IAX, or ZAP).
- will pickup any ringing CHANNEL which can be from a DIAL or QUEUE 

I believe the command Pickup() is restricted in that it only picks up from
a DIAL.

Examples of using the command:

PickupExtn(SIP/usera)
PickupExtn(SIP/usera&SIP/userb)
PickupExtn(SIP/usera&SIP/userb&SIP/userc)

You could also pickup 

SIP/usera&SIP/userb&SIP/userc 

by simply

PickupExtn(SIP/user)

which is useful but represents a possibly issue at the same time (see
additional information).

====================================================================== 

---------------------------------------------------------------------- 
 eurodrew555 - 11-05-07 11:41  
---------------------------------------------------------------------- 
I believe the application app_pickup is used to pickup an extension that
has been dialled rather than a channel that is ringing.

Pickup(extension[@context]) 

We wanted to be just able to pickup SIP/user if it is ringing by just
using PickupExtn(SIP/user).

I suppose this is what BristuffPickUpChan does, although we have not yet
looked at Bristuff or any of the source code (I've only noticed it on
voip-info.org -
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+BristuffPickUpChan).

Perhaps PickupExtn would also be better named PickupChan considering that
is what it is doing... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-05-07 11:41  eurodrew555    Note Added: 0073116                          
======================================================================




More information about the asterisk-bugs mailing list