Module: kamailio
Branch: master
Commit: cbaceaf891e16e9b0a1ef4883b8fec5e33698a86
URL:
https://github.com/kamailio/kamailio/commit/cbaceaf891e16e9b0a1ef4883b8fec5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-23T12:45:25+01:00
app_python: documented rpc commands
---
Modified: src/modules/app_python/doc/app_python_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/cbaceaf891e16e9b0a1ef4883b8fec5…
Patch:
https://github.com/kamailio/kamailio/commit/cbaceaf891e16e9b0a1ef4883b8fec5…
---
diff --git a/src/modules/app_python/doc/app_python_admin.xml
b/src/modules/app_python/doc/app_python_admin.xml
index 8a2fba4fb3..9afeffb03f 100644
--- a/src/modules/app_python/doc/app_python_admin.xml
+++ b/src/modules/app_python/doc/app_python_admin.xml
@@ -158,6 +158,54 @@ python_exec("my_python_function", "$rU");
</section>
</section>
+ <section>
+ <title>RPC Commands</title>
+ <section id="app_python.r.reload">
+ <title>
+ <function moreinfo="none">app_python.reload</function>
+ </title>
+ <para>
+ IMPORTANT: not implemented yet.
+ </para>
+ <para>
+ Marks the need to reload the js script.
+ The actual reload is done by every working process when the next
+ call to KEMI config is executed.
+ </para>
+ <para>
+ Name: <emphasis>app_python.reload</emphasis>
+ </para>
+ <para>Parameters: <emphasis>none</emphasis></para>
+ <para>
+ Example:
+ </para>
+ <programlisting format="linespecific">
+...
+&kamcmd; app_python.reload
+...
+ </programlisting>
+ </section>
+ <section id="app_python.r.api_list">
+ <title>
+ <function
moreinfo="none">app_python.api_list</function>
+ </title>
+ <para>
+ List the functions available via Kemi framework.
+ </para>
+ <para>
+ Name: <emphasis>app_python.api_list</emphasis>
+ </para>
+ <para>Parameters: <emphasis>none</emphasis></para>
+ <para>
+ Example:
+ </para>
+ <programlisting format="linespecific">
+...
+&kamcmd; app_python.api_list
+...
+ </programlisting>
+ </section>
+ </section>
</chapter>