Module: kamailio
Branch: master
Commit: d79e26fd50b3a28dcfd4c0a938bcc3d0a3fc30b5
URL:
https://github.com/kamailio/kamailio/commit/d79e26fd50b3a28dcfd4c0a938bcc3d…
Author: Yasin CANER <caner_yaso(a)hotmail.com>
Committer: Yasin CANER <caner_yaso(a)hotmail.com>
Date: 2019-12-16T16:49:02+03:00
keepalive : added doc for add/del/get/flush rpc commands
added doc for add/del/get/flush rpc commands
---
Modified: src/modules/keepalive/doc/keepalive_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/d79e26fd50b3a28dcfd4c0a938bcc3d…
Patch:
https://github.com/kamailio/kamailio/commit/d79e26fd50b3a28dcfd4c0a938bcc3d…
---
diff --git a/src/modules/keepalive/doc/keepalive_admin.xml
b/src/modules/keepalive/doc/keepalive_admin.xml
index 4fcd0a18ae..5db99eee4a 100644
--- a/src/modules/keepalive/doc/keepalive_admin.xml
+++ b/src/modules/keepalive/doc/keepalive_admin.xml
@@ -245,7 +245,71 @@ ka_del_destination("sip:192.168.1.10:5060;transport=tcp");
keepalive.list
</programlisting>
</example>
- </section>
+ </section>
+ <section id="keepalive.add">
+ <title><function>keepalive.add</function></title>
+ <para>
+ Adds destination in memory.
+ </para>
+ <para>
+ Name: <emphasis>keepalive.add</emphasis>
+ </para>
+ <para>Parameters: <emphasis>sip_uri
listname</emphasis></para>
+ <example>
+ <title><function>keepalive.add</function> RPC example</title>
+ <programlisting format="linespecific">
+ keepalive.add sip:username@domain listname
+ </programlisting>
+ </example>
+ </section>
+ <section id="keepalive.del">
+ <title><function>keepalive.del</function></title>
+ <para>
+ Deletes destination in memory.
+ </para>
+ <para>
+ Name: <emphasis>keepalive.del</emphasis>
+ </para>
+ <para>Parameters: <emphasis>sip_uri
listname</emphasis></para>
+ <example>
+ <title><function>keepalive.del</function> RPC example</title>
+ <programlisting format="linespecific">
+ keepalive.del sip:username@domain listname
+ </programlisting>
+ </example>
+ </section>
+ <section id="keepalive.get">
+ <title><function>keepalive.get</function></title>
+ <para>
+ Gets destination in memory.
+ </para>
+ <para>
+ Name: <emphasis>keepalive.get</emphasis>
+ </para>
+ <para>Parameters: <emphasis>sip_uri
listname</emphasis></para>
+ <example>
+ <title><function>keepalive.get</function> RPC example</title>
+ <programlisting format="linespecific">
+ keepalive.get sip:username@domain listname
+ </programlisting>
+ </example>
+ </section>
+ <section id="keepalive.flush">
+ <title><function>keepalive.flush</function></title>
+ <para>
+ Deletes all destinations in memory.
+ </para>
+ <para>
+ Name: <emphasis>keepalive.flush</emphasis>
+ </para>
+ <para>Parameters: <emphasis></emphasis></para>
+ <example>
+ <title><function>keepalive.flush</function> RPC
example</title>
+ <programlisting format="linespecific">
+ keepalive.flush
+ </programlisting>
+ </example>
+ </section>
</section>
</section>
</chapter>