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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 26 06:58:25 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:                     feedback
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-26-2007 06:58 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-26-07 06:58  
---------------------------------------------------------------------- 
Sorry just realised the description was still set as PickupExtn

Also the correct description for using this app is therefore:

PickupChan(channel[&channel...]

e.g. Where channel can be SIP/2821, ZAP/2 etc

I have also uploaded a revised patch called app_pickupchan_LATEST.c to
replace app_pickupchan.c as I can't upload with the same name. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-26-07 06:58  eurodrew555    Note Added: 0074307                          
======================================================================




More information about the asterisk-bugs mailing list