mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +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
@@ -44,6 +44,7 @@
|
||||
|
||||
/*** DOCUMENTATION
|
||||
<function name="DB" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Read from or write to the Asterisk database.
|
||||
</synopsis>
|
||||
@@ -66,6 +67,7 @@
|
||||
</see-also>
|
||||
</function>
|
||||
<function name="DB_EXISTS" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Check to see if a key exists in the Asterisk database.
|
||||
</synopsis>
|
||||
@@ -84,6 +86,7 @@
|
||||
</see-also>
|
||||
</function>
|
||||
<function name="DB_KEYS" language="en_US">
|
||||
<since><version>10.0.0</version></since>
|
||||
<synopsis>
|
||||
Obtain a list of keys within the Asterisk database.
|
||||
</synopsis>
|
||||
@@ -100,6 +103,7 @@
|
||||
</see-also>
|
||||
</function>
|
||||
<function name="DB_KEYCOUNT" language="en_US">
|
||||
<since><version>16.26.0</version><version>18.12.0</version><version>19.4.0</version></since>
|
||||
<synopsis>
|
||||
Obtain the number of keys at a prefix within the Asterisk database.
|
||||
</synopsis>
|
||||
@@ -116,6 +120,7 @@
|
||||
</see-also>
|
||||
</function>
|
||||
<function name="DB_DELETE" language="en_US">
|
||||
<since><version>1.6.2.0</version></since>
|
||||
<synopsis>
|
||||
Return a value from the database and delete it.
|
||||
</synopsis>
|
||||
|
Reference in New Issue
Block a user