mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
res_agi: Improve GET FULL VARIABLE documentation
ASTERISK-28673 #close Reported by: Jonathan Harris Change-Id: I591afdec669622bfa19243aabec31b579652c92f
This commit is contained in:
@@ -323,15 +323,21 @@
|
|||||||
Evaluates a channel expression
|
Evaluates a channel expression
|
||||||
</synopsis>
|
</synopsis>
|
||||||
<syntax>
|
<syntax>
|
||||||
<parameter name="variablename" required="true" />
|
<parameter name="expression" required="true" />
|
||||||
<parameter name="channel name" />
|
<parameter name="channelname" />
|
||||||
</syntax>
|
</syntax>
|
||||||
<description>
|
<description>
|
||||||
<para>Returns <literal>0</literal> if <replaceable>variablename</replaceable> is not set
|
<para>Evaluates the given <replaceable>expression</replaceable> against the
|
||||||
or channel does not exist. Returns <literal>1</literal> if <replaceable>variablename</replaceable>
|
channel specified by <replaceable>channelname</replaceable>, or the current
|
||||||
is set and returns the variable in parenthesis. Understands complex variable names and builtin
|
channel if <replaceable>channelname</replaceable> is not provided.</para>
|
||||||
variables, unlike GET VARIABLE.</para>
|
<para>Unlike GET VARIABLE, the <replaceable>expression</replaceable> is
|
||||||
<para>Example return code: 200 result=1 (testvariable)</para>
|
processed in a manner similar to dialplan evaluation, allowing complex
|
||||||
|
and built-in variables to be accessed, e.g. <literal>The time is
|
||||||
|
${EPOCH}</literal></para>
|
||||||
|
<para>Returns <literal>0</literal> if no channel matching
|
||||||
|
<replaceable>channelname</replaceable> exists, <literal>1</literal>
|
||||||
|
otherwise.</para>
|
||||||
|
<para>Example return code: 200 result=1 (The time is 1578493800)</para>
|
||||||
</description>
|
</description>
|
||||||
<see-also>
|
<see-also>
|
||||||
<ref type="agi">get variable</ref>
|
<ref type="agi">get variable</ref>
|
||||||
|
Reference in New Issue
Block a user