From: Richard Mudgett Date: Thu, 26 Apr 2012 03:11:45 +0000 (+0000) Subject: Update Pickup application documentation. (Even better) X-Git-Tag: 10.5.0-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5251cb65cf6dcafa49c850e08906c40362276f6f;p=thirdparty%2Fasterisk.git Update Pickup application documentation. (Even better) ........ Merged revisions 363875 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@363876 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_directed_pickup.c b/apps/app_directed_pickup.c index 9e01b222b1..3c6e8a33e9 100644 --- a/apps/app_directed_pickup.c +++ b/apps/app_directed_pickup.c @@ -57,26 +57,35 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - + + Specification of the pickup target. - + + Additional specifications of pickup targets. - This application can pickup any ringing channel that is calling - the specified dialplan extension. If no dialplan - context is specified, the current context will be - used. If you use the special string PICKUPMARK - for the context, for example 10@PICKUPMARK, this application tries to find a - channel which has defined a channel variable PICKUPMARK - with the same value as extension (in this example, - 10). When no parameter is specified, the application will - pickup a channel matching the pickup group of the active channel. + 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 a channel variable + PICKUPMARK with the same value as + extension (in this example, + 10). + 3) If the extension is specified + with a context, the channel executing at that + dialplan location will be picked up. If no context + is specified, the current context will be used.