Module: kamailio
Branch: master
Commit: 71d72bfec8fad009957c1ef1e53356ba60e48669
URL: https://github.com/kamailio/kamailio/commit/71d72bfec8fad009957c1ef1e53356b…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-10-30T13:46:11+01:00
modules: readme files regenerated - dialog ... [skip ci]
---
Modified: src/modules/dialog/README
---
Diff: https://github.com/kamailio/kamailio/commit/71d72bfec8fad009957c1ef1e53356b…
Patch: https://github.com/kamailio/kamailio/commit/71d72bfec8fad009957c1ef1e53356b…
---
diff --git a/src/modules/dialog/README b/src/modules/dialog/README
index 5dff647ef7..3b9d71b959 100644
--- a/src/modules/dialog/README
+++ b/src/modules/dialog/README
@@ -154,7 +154,7 @@ Julien Klingenmeyer
9.6. dlg.dlg_list_ctx
9.7. dlg.terminate_dlg
9.8. dlg.end_dlg
- 9.9. dlg.kill_active_dlg
+ 9.9. dlg.set_state
9.10. dlg.profile_get_size
9.11. dlg.profile_list
9.12. dlg.bridge_dlg
@@ -390,7 +390,7 @@ Chapter 1. Admin Guide
9.6. dlg.dlg_list_ctx
9.7. dlg.terminate_dlg
9.8. dlg.end_dlg
- 9.9. dlg.kill_active_dlg
+ 9.9. dlg.set_state
9.10. dlg.profile_get_size
9.11. dlg.profile_list
9.12. dlg.bridge_dlg
@@ -1912,7 +1912,7 @@ if(has_totag()) {
9.6. dlg.dlg_list_ctx
9.7. dlg.terminate_dlg
9.8. dlg.end_dlg
- 9.9. dlg.kill_active_dlg
+ 9.9. dlg.set_state
9.10. dlg.profile_get_size
9.11. dlg.profile_list
9.12. dlg.bridge_dlg
@@ -2053,10 +2053,10 @@ kamcmd dlg.list_ctx abcdrssfrs122444(a)192.168.1.1
kamcmd dlg.end_dlg 342 56
...
-9.9. dlg.kill_active_dlg
+9.9. dlg.set_state
- Kills a given active dialog matching the dialog on Call-ID, From-Tag
- and To-Tag.
+ Set state for the dialog matching the dialog on Call-ID, From-Tag and
+ To-Tag.
Name: dlg.kill_active_dlg
@@ -2064,18 +2064,21 @@ kamcmd dlg.end_dlg 342 56
* callid - Call-ID of active dialog to kill
* from_tag - From-Tag of active dialog to kill
* to_tag - To-tag of active dialog to kill
-
- This command only handles active dialogs (state 4), error is returned
- otherwise. Please be careful with it, it callously wipes out the given
- dialog: dialog ending functions will not be called, such as accounting
- end-of-call events, dialog-end events, module-generated BYE requests,
- etc. After executing the command, dialog remains in memory until
- execution of the recurring function in charge of removing old dialogs
- (a "dialog in delete state is too old" will then be logged).
+ * state - The value for new state
+
+ At this moment, the command targets the need to change from active
+ dialogs (state 4) to terminated state (5), although it allows setting
+ other state value. Be careful using with it, it can cause side effects
+ and the terminated dialog is wiped out silently. Dialog ending
+ functions are not executed, such as accounting end-of-call events,
+ dialog-end events, module-generated BYE requests, etc. After executing
+ the command, dialog remains in memory until execution of the recurring
+ function in charge of removing old dialogs (a "dialog in delete state
+ is too old" will then be logged).
RPC Command Format:
...
-kamcmd dlg.kill_active_dlg callid12345 fromtag123 totag123
+kamcmd dlg.set_state callid12345 fromtag123 totag123 5
...
9.10. dlg.profile_get_size
Module: kamailio
Branch: master
Commit: e0c7e7dd6b8a2a48f08d33a5117611b0d4ae1239
URL: https://github.com/kamailio/kamailio/commit/e0c7e7dd6b8a2a48f08d33a5117611b…
Author: Julien Klingenmeyer <julien.klingenmeyer(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-10-30T11:42:55+01:00
dialog: adding RPC dlg.kill_active_dlg command
- only handles active dialogs in state 4
- wipes out a given dialog callously
- no subcalls to dialog-ending functions
- dialog is then removed by the recurring cleaning function execution
- as discussed in sr-users in topic "[Dialog] Removing entries from dialog memory"
---
Modified: src/modules/dialog/dialog.c
Modified: src/modules/dialog/doc/dialog.xml
Modified: src/modules/dialog/doc/dialog_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/e0c7e7dd6b8a2a48f08d33a5117611b…
Patch: https://github.com/kamailio/kamailio/commit/e0c7e7dd6b8a2a48f08d33a5117611b…
Module: kamailio
Branch: master
Commit: a0afac25b2faebc6884a036851ac7381384b70ec
URL: https://github.com/kamailio/kamailio/commit/a0afac25b2faebc6884a036851ac738…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-10-30T10:16:22+01:00
modules: readme files regenerated - ctl ... [skip ci]
---
Modified: src/modules/ctl/README
---
Diff: https://github.com/kamailio/kamailio/commit/a0afac25b2faebc6884a036851ac738…
Patch: https://github.com/kamailio/kamailio/commit/a0afac25b2faebc6884a036851ac738…
---
diff --git a/src/modules/ctl/README b/src/modules/ctl/README
index efe67af5a6..849376c1ef 100644
--- a/src/modules/ctl/README
+++ b/src/modules/ctl/README
@@ -157,7 +157,7 @@ $ kamcmd ps
Example 1.2. Set binrpc parameter
loadmodule "ctl"
# optional listen addresses, if no one is specified,
-# ctl will listen on unixs:/tmp/ser_ctl
+# ctl will listen on unixs:/tmp/kamailio_ctl
modparam("ctl", "binrpc", "unix:/run/kamailio/kamailio_ctl") # default
modparam("ctl", "binrpc", "udp:localhost:2046")
@@ -172,7 +172,8 @@ modparam("ctl", "binrpc", "udp:*:3012") # udp any , port 3012
3.2. binrpc_buffer_size (integer or string)
- the size of the internal buffer.
+ The size of the internal buffer used for printing elements of the RPC
+ response (e.g., internal RPC printf()). The value is given in bytes.
Default: 1024.
@@ -217,18 +218,19 @@ modparam("ctl", "group", 100)
fifo used for the obsolete fifo protocol. The fifo protocol can be run
over a real fifo, over UDP or over TCP. Format:
[protocol:]path|address. If no protocol is specified the default is
- "fifo". Examples: "fifo:/tmp/ser_fifo", "/tmp/ser_fifo2", "udp:*:2050",
- "tcp:localhost:2050". For more details on the UDP and TCP formats see
- binrpc. Multiple fifos or fifo transports can be used in the same time
- (just by setting the fifo parameter multiple times in the config).
+ "fifo". Examples: "fifo:/tmp/kamailio_fifo", "/tmp/kamailio_fifo2",
+ "udp:*:2050", "tcp:localhost:2050". For more details on the UDP and TCP
+ formats see binrpc. Multiple fifos or fifo transports can be used in
+ the same time (just by setting the fifo parameter multiple times in the
+ config).
Default: not set (no fifo will be used).
Example 1.7. Set fifo parameter
...
# old fifo support
-modparam("ctl", "fifo", "fifo:/tmp/ser_fifo") # classic fifo
-modparam("ctl", "fifo", "/tmp/ser_fifo2")
+modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo") # classic fifo
+modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp
...
Module: kamailio
Branch: master
Commit: c9070600af1b7993b003964b5c58db3391d50f60
URL: https://github.com/kamailio/kamailio/commit/c9070600af1b7993b003964b5c58db3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-10-30T10:14:07+01:00
ctl: docs - more infor about binrpc_buffer_size modparam
- replaced ser with kamailio in a few examples
---
Modified: src/modules/ctl/doc/ctl_params.xml
---
Diff: https://github.com/kamailio/kamailio/commit/c9070600af1b7993b003964b5c58db3…
Patch: https://github.com/kamailio/kamailio/commit/c9070600af1b7993b003964b5c58db3…
---
diff --git a/src/modules/ctl/doc/ctl_params.xml b/src/modules/ctl/doc/ctl_params.xml
index 2354182767..6c9a8eb1c6 100644
--- a/src/modules/ctl/doc/ctl_params.xml
+++ b/src/modules/ctl/doc/ctl_params.xml
@@ -73,7 +73,7 @@
<programlisting>
loadmodule "ctl"
# optional listen addresses, if no one is specified,
-# ctl will listen on unixs:/tmp/ser_ctl
+# ctl will listen on unixs:/tmp/kamailio_ctl
modparam("ctl", "binrpc", "unix:/run/&kamailiobinary;/&kamailiobinary;_ctl") # default
modparam("ctl", "binrpc", "udp:localhost:2046")
@@ -92,7 +92,8 @@ modparam("ctl", "binrpc", "udp:*:3012") # udp any , port 3012
<section id="binrpc_buffer_size">
<title><varname>binrpc_buffer_size</varname> (integer or string)</title>
<para>
- the size of the internal buffer.
+ The size of the internal buffer used for printing elements of the RPC
+ response (e.g., internal RPC printf()). The value is given in bytes.
</para>
<para>
Default: 1024.
@@ -167,7 +168,7 @@ modparam("ctl", "group", 100)
The fifo protocol can be run over a real fifo, over UDP or over TCP.
Format: [protocol:]path|address.
If no protocol is specified the default is "fifo".
- Examples: "fifo:/tmp/ser_fifo", "/tmp/ser_fifo2", "udp:*:2050",
+ Examples: "fifo:/tmp/kamailio_fifo", "/tmp/kamailio_fifo2", "udp:*:2050",
"tcp:localhost:2050".
For more details on the UDP and TCP formats see
<varname>binrpc</varname>.
@@ -183,8 +184,8 @@ modparam("ctl", "group", 100)
<programlisting>
...
# old fifo support
-modparam("ctl", "fifo", "fifo:/tmp/ser_fifo") # classic fifo
-modparam("ctl", "fifo", "/tmp/ser_fifo2")
+modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo") # classic fifo
+modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp
...