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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 28 03:09:58 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-28-2007 03:09 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-28-07 03:09  
---------------------------------------------------------------------- 
Revised app_pickupchan.c has been uploaded with the following changes:

1)       Have changed the comments
2)       Have removed the commented code
3)       Have checked that all lines are indented with TABS
4)       Have changed the Functions and all IF statements to confirm to
the coding guidelines (I think) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-28-07 03:09  eurodrew555    Note Added: 0074462                          
======================================================================




More information about the asterisk-bugs mailing list