An enhanced PickupChan for Asterisk

News:
app_pickup2 is now available for Asterisk 1.0.x, Asterisk 1.2.x, Asterisk 1.4.x and Asterisk 1.6.2.x. See below for download links and installation instructions.

Enhanced PickupChan is an enhanced PickUp/PickDown/Steal application for the Asterisk PBX. After installing the module the follwing applications are available:

Application Description
PickUp2 Synopsis:
PickUp2(<channel_prefix>[&<channel_prefix>[&...]][,B])
Description:
Compares the list of prefixes with channels in RINGING state. If a match is found the channel is picked up and PICKUP_CHANNEL is set to the picked up channel name. If no matching channel is found PICKUP_CHANNEL is empty.
If the B option is specified, the prefix list is compared to the channel name of the other endpoint of a bridged channel.
PickDown2 Synopsis:
PickDown2(<channel_prefix>[&<channel_prefix>[&...]][,B])
Description:
Compares the list of prefixes with channels in RINGING state. If a match is found the channel is hung up and PICKDOWN_CHANNEL is set to the hung up channel name. If no matching channel is found PICKDOWN_CHANNEL is empty.
If the B option is specified, the prefix list is compared to the channel name of the other endpoint of a bridged channel.
Steal2 Synopsis:
Steal2(<channel_prefix>[&<channel_prefix>[&...]][,B])
Description:
Compares the list of prefixes with channels in UP state. If a match is found the channel is stolen and STEAL_CHANNEL is set to the stolen channel name. If no matching channel is found STEAL_CHANNEL is empty.
If the B option is specified, the prefix list is compared to the channel name of the other endpoint of a bridged channel.
Note: The B option is not available in app_pickup2 for Asterisk 1.0.

Availability:

The most current enhanced PickupChan application is available for: Rename the downloaded file to app_pickup2.c and copy it into the apps directory of the Asterisk source code. For Asterisk 1.0.x and Asterisk 1.2.x you have to add app_pickup2.so to the list of shared objects at the top of the Makefile in the apps directory. Then recompile and install Asterisk as usual.

Contact:

Please send questions, suggestions and patches regarding the enhanced PickupChan application to:

Back 80532 visitors Imprint