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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Nov 13 16:21:52 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-13-2007 16:21 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).

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

---------------------------------------------------------------------- 
 Corydon76 - 11-13-07 16:21  
---------------------------------------------------------------------- 
Okay, so I think what we're waiting for is for you to upload an updated
patch.  Also, please rename the fields that you're using with context and
extension to just channel, since that is what it's doing.  Otherwise, the
code is very confusing. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-13-07 16:21  Corydon76      Note Added: 0073606                          
======================================================================




More information about the asterisk-bugs mailing list