[asterisk-commits] rmudgett: branch 10 r364109 - in /branches/10: ./ apps/app_directed_pickup.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 26 16:10:49 CDT 2012


Author: rmudgett
Date: Thu Apr 26 16:10:46 2012
New Revision: 364109

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=364109
Log:
Update Pickup application documentation. (With feeling this time.)
........

Merged revisions 364108 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/apps/app_directed_pickup.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/apps/app_directed_pickup.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_directed_pickup.c?view=diff&rev=364109&r1=364108&r2=364109
==============================================================================
--- branches/10/apps/app_directed_pickup.c (original)
+++ branches/10/apps/app_directed_pickup.c Thu Apr 26 16:10:46 2012
@@ -78,14 +78,19 @@
 			<para>2) If the <replaceable>extension</replaceable> is specified with a
 			<replaceable>context</replaceable> of the special string
 			<literal>PICKUPMARK</literal> (for example 10 at PICKUPMARK), the application
-			will pickup a channel which has defined a channel variable
+			will pickup a channel which has defined the channel variable
 			<variable>PICKUPMARK</variable> with the same value as
 			<replaceable>extension</replaceable> (in this example,
 			<literal>10</literal>).</para>
 			<para>3) If the <replaceable>extension</replaceable> is specified
-			with a <replaceable>context</replaceable>, the channel executing at that
-			dialplan location will be picked up.  If no <replaceable>context</replaceable>
-			is specified, the current context will be used.</para>
+			with or without a <replaceable>context</replaceable>, the channel with a
+			matching <replaceable>extension</replaceable> and <replaceable>context</replaceable>
+			will be picked up.  If no <replaceable>context</replaceable> is specified,
+			the current context will be used.</para>
+			<note><para>The <replaceable>extension</replaceable> is typically set on
+			matching channels by the dial application that created the channel.  The
+			<replaceable>context</replaceable> is set on matching channels by the
+			channel driver for the device.</para></note>
 		</description>
 	</application>
 	<application name="PickupChan" language="en_US">




More information about the asterisk-commits mailing list