mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
docs: Add version information to configObject and configOption XML elements
Most of the configObjects and configOptions that are implemented with
ACO or Sorcery now have `<since>/<version>` elements added. There are
probably some that the script I used didn't catch. The version tags were
determined by the following...
* Do a git blame on the API call that created the object or option.
* From the commit hash, grab the summary line.
* Do a `git log --grep <summary>` to find the cherry-pick commits in all
branches that match.
* Do a `git patch-id` to ensure the commits are all related and didn't get
a false match on the summary.
* Do a `git tag --contains <commit>` to find the tags that contain each
commit.
* Weed out all tags not <major>.<minor>.0.
* Sort and discard any <major>.0.0 and following tags where the commit
appeared in an earlier branch.
* The result is a single tag for each branch where the API was last touched.
configObjects and configOptions elements implemented with the base
ast_config APIs were just not possible to find due to the non-deterministic
way they are accessed.
Also note that if the API call was on modified after it was added, the
version will be the one it was last modified in.
Final note: The configObject and configOption elements were introduced in
12.0.0 so options created before then may not have any XML documentation.
(cherry picked from commit 772221c82a)
This commit is contained in:
committed by
Asterisk Development Team
parent
791d8fbbc0
commit
3df8b857ea
@@ -32,8 +32,10 @@
|
||||
<configInfo name="res_parking" language="en_US">
|
||||
<configFile name="res_parking.conf">
|
||||
<configObject name="globals">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Options that apply to every parking lot</synopsis>
|
||||
<configOption name="parkeddynamic">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Enables dynamically created parkinglots.</synopsis>
|
||||
<description>
|
||||
<para>If the option is enabled then the following variables can
|
||||
@@ -70,12 +72,15 @@
|
||||
</configOption>
|
||||
</configObject>
|
||||
<configObject name="parking_lot">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Defined parking lots for res_parking to use to park calls on</synopsis>
|
||||
<configOption name="context" default="parkedcalls">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>The name of the context where calls are parked and picked up from.</synopsis>
|
||||
<description><para>This option is only used if parkext is set.</para></description>
|
||||
</configOption>
|
||||
<configOption name="parkext">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Extension to park calls to this parking lot.</synopsis>
|
||||
<description>
|
||||
<para>If this option is used, this extension will automatically
|
||||
@@ -96,9 +101,11 @@
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="parkext_exclusive" default="no">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>If yes, the extension registered as parkext will park exclusively to this parking lot.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="parkpos" default="701-750">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Numerical range of parking spaces which can be used to retrieve parked calls.</synopsis>
|
||||
<description>
|
||||
<para>If <literal>parkext</literal> is set, these extensions
|
||||
@@ -108,15 +115,19 @@
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="parkinghints" default="no">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>If yes, this parking lot will add hints automatically for parking spaces.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="parkingtime" default="45">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Amount of time a call will remain parked before giving up (in seconds).</synopsis>
|
||||
</configOption>
|
||||
<configOption name="parkedmusicclass">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Which music class to use for parked calls. They will use the default if unspecified.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="comebacktoorigin" default="yes">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Determines what should be done with the parked channel if no one picks it up before it times out.</synopsis>
|
||||
<description><para>Valid Options:</para>
|
||||
<enumlist>
|
||||
@@ -162,9 +173,11 @@
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="comebackdialtime" default="30">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Timeout for the Dial extension created to call back the parker when a parked call times out.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="comebackcontext" default="parkedcallstimeout">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Context where parked calls will enter the PBX on timeout when comebacktoorigin=no</synopsis>
|
||||
<description><para>The extension the call enters will prioritize the flattened peer name in this context.
|
||||
If the flattened peer name extension is unavailable, then the 's' extension in this context will be
|
||||
@@ -172,12 +185,14 @@
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="courtesytone">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>If the name of a sound file is provided, use this as the courtesy tone</synopsis>
|
||||
<description><para>By default, this tone is only played to the caller of a parked call. Who receives the tone
|
||||
can be changed using the <literal>parkedplay</literal> option.</para>
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="parkedplay" default="caller">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Who we should play the courtesytone to on the pickup of a parked call from this lot</synopsis>
|
||||
<description>
|
||||
<enumlist>
|
||||
@@ -190,30 +205,35 @@
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="parkedcalltransfers" default="no">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Who to apply the DTMF transfer features to when parked calls are picked up or timeout.</synopsis>
|
||||
<description>
|
||||
<xi:include xpointer="xpointer(/docs/configInfo[@name='res_parking']/configFile[@name='res_parking.conf']/configObject[@name='parking_lot']/configOption[@name='parkedplay']/description/enumlist)" />
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="parkedcallreparking" default="no">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Who to apply the DTMF parking feature to when parked calls are picked up or timeout.</synopsis>
|
||||
<description>
|
||||
<xi:include xpointer="xpointer(/docs/configInfo[@name='res_parking']/configFile[@name='res_parking.conf']/configObject[@name='parking_lot']/configOption[@name='parkedplay']/description/enumlist)" />
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="parkedcallhangup" default="no">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Who to apply the DTMF hangup feature to when parked calls are picked up or timeout.</synopsis>
|
||||
<description>
|
||||
<xi:include xpointer="xpointer(/docs/configInfo[@name='res_parking']/configFile[@name='res_parking.conf']/configObject[@name='parking_lot']/configOption[@name='parkedplay']/description/enumlist)" />
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="parkedcallrecording" default="no">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Who to apply the DTMF MixMonitor recording feature to when parked calls are picked up or timeout.</synopsis>
|
||||
<description>
|
||||
<xi:include xpointer="xpointer(/docs/configInfo[@name='res_parking']/configFile[@name='res_parking.conf']/configObject[@name='parking_lot']/configOption[@name='parkedplay']/description/enumlist)" />
|
||||
</description>
|
||||
</configOption>
|
||||
<configOption name="findslot" default="first">
|
||||
<since><version>12.0.0</version></since>
|
||||
<synopsis>Rule to use when trying to figure out which parking space a call should be parked with.</synopsis>
|
||||
<description>
|
||||
<enumlist>
|
||||
|
||||
Reference in New Issue
Block a user