Pickup([targets])
Full arguments reference
targetsextensionrequired - Specification of the pickup target.extensionrequiredcontext
extension2- Additional specifications of pickup targets. (multiple)extension2requiredcontext2
This application can pickup a specified ringing channel. The channel to pickup can be specified in the following ways.
1) If no extension targets are specified, the application will pickup a channel matching the pickup group of the requesting channel.
2) If the extension is specified with a context of the special string PICKUPMARK (for example 10@PICKUPMARK), the application will pickup a channel which has defined the channel variable PICKUPMARK with the same value as extension (in this example, 10).
3) If the extension is specified with or without a context, the channel with a matching extension and context will be picked up. If no context is specified, the current context will be used.
Note
The extension is typically set on matching channels by the dial application that created the channel. The context is set on matching channels by the channel driver for the device.
targetsextensionrequired - Specification of the pickup target.extensionrequiredcontext
extension2- Additional specifications of pickup targets. (multiple)extension2requiredcontext2
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.