mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-18 10:44:28 +00:00
xmldocs: Improve examples.
Use example tags instead of regular para tags where possible. ASTERISK-30090 Change-Id: Iada8bbfda08f30b118cedf2d040bbb21e4966ec5
This commit is contained in:
committed by
Joshua Colp
parent
31dc28ab09
commit
51d262af12
@@ -45,9 +45,11 @@
|
||||
</syntax>
|
||||
<description>
|
||||
<para>Generate a SHA1 digest via the SHA1 algorythm.</para>
|
||||
<para>Example: Set(sha1hash=${SHA1(junky)})</para>
|
||||
<para>Sets the asterisk variable sha1hash to the string <literal>60fa5675b9303eb62f99a9cd47f9f5837d18f9a0</literal>
|
||||
which is known as his hash</para>
|
||||
<example title="Set sha1hash variable to SHA1 hash of junky">
|
||||
exten => s,1,Set(sha1hash=${SHA1(junky)})
|
||||
</example>
|
||||
<para>The example above sets the asterisk variable sha1hash to the string <literal>60fa5675b9303eb62f99a9cd47f9f5837d18f9a0</literal>
|
||||
which is known as its hash</para>
|
||||
</description>
|
||||
</function>
|
||||
***/
|
||||
|
Reference in New Issue
Block a user