mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
docs: Add version information to application and function XML elements
* Do a git blame on the embedded XML application or function element.
* 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 ..0.
* Sort and discard any .0.0 and following tags where the commit
appeared in an earlier branch.
* The result is a single tag for each branch where the application or function
was defined.
The applications and functions defined in the following files were done by
hand because the XML was extracted from the C source file relatively recently.
* channels/pjsip/dialplan_functions_doc.xml
* main/logger_doc.xml
* main/manager_doc.xml
* res/res_geolocation/geoloc_doc.xml
* res/res_stir_shaken/stir_shaken_doc.xml
(cherry picked from commit 54d67711f8
)
This commit is contained in:
committed by
Asterisk Development Team
parent
3fc90e7810
commit
e6fe538d81
@@ -38,6 +38,7 @@
|
||||
|
||||
/*** DOCUMENTATION
|
||||
<function name="ISNULL" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Check if a value is NULL.
|
||||
</synopsis>
|
||||
@@ -49,6 +50,7 @@
|
||||
</description>
|
||||
</function>
|
||||
<function name="SET" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
SET assigns a value to a channel variable.
|
||||
</synopsis>
|
||||
@@ -60,6 +62,7 @@
|
||||
</description>
|
||||
</function>
|
||||
<function name="EXISTS" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Test the existence of a value.
|
||||
</synopsis>
|
||||
@@ -71,6 +74,7 @@
|
||||
</description>
|
||||
</function>
|
||||
<function name="IF" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Check for an expression.
|
||||
</synopsis>
|
||||
@@ -86,6 +90,7 @@
|
||||
</description>
|
||||
</function>
|
||||
<function name="IFTIME" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Temporal Conditional.
|
||||
</synopsis>
|
||||
@@ -101,6 +106,7 @@
|
||||
</description>
|
||||
</function>
|
||||
<function name="IMPORT" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Retrieve the value of a variable from another channel.
|
||||
</synopsis>
|
||||
@@ -112,6 +118,7 @@
|
||||
</description>
|
||||
</function>
|
||||
<function name="DELETE" language="en_US">
|
||||
<since><version>18.21.0</version><version>20.6.0</version><version>21.1.0</version></since>
|
||||
<synopsis>
|
||||
Deletes a specified channel variable.
|
||||
</synopsis>
|
||||
@@ -129,6 +136,7 @@
|
||||
</see-also>
|
||||
</function>
|
||||
<function name="VARIABLE_EXISTS" language="en_US">
|
||||
<since><version>18.21.0</version><version>20.6.0</version><version>21.1.0</version></since>
|
||||
<synopsis>
|
||||
Check if a dialplan variable exists or not.
|
||||
</synopsis>
|
||||
|
Reference in New Issue
Block a user