Skip to content

Commit

Permalink
dialplan: note and example for prefixing string param with s: for rpc…
Browse files Browse the repository at this point in the history
… dialplan.translate

(cherry picked from commit a169b29)
(cherry picked from commit 3d203d9)
  • Loading branch information
miconda committed Apr 3, 2019
1 parent 348ee9a commit 71fd319
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/modules/dialplan/doc/dialplan_admin.xml
Expand Up @@ -563,17 +563,20 @@ xlog("translated to var $var(y) \n");
<para>Parameters: <emphasis>2</emphasis></para>
<itemizedlist>
<listitem>
<para><emphasis>Dial plan ID</emphasis></para>
<para><emphasis>Dial plan ID</emphasis> (number)</para>
</listitem>
<listitem>
<para><emphasis>Input String</emphasis></para>
<para><emphasis>Input string</emphasis> (string) - it
can be prefixed with 's:' to avoid auto-conversion when
the command is executed with CLI apps such as &kamcmd;.</para>
</listitem>
</itemizedlist>
<para>
Example:
</para>
<programlisting format="linespecific">
&kamcmd; dialplan.translate 1 "abcdxyz"
&kamcmd; dialplan.translate 1 s:123456789
</programlisting>
</section>
</section>
Expand Down

0 comments on commit 71fd319

Please sign in to comment.