Module: kamailio
Branch: master
Commit: f5142e2059e1cf2d65f7fb0fe2ae6b5fdd0e3651
URL:
https://github.com/kamailio/kamailio/commit/f5142e2059e1cf2d65f7fb0fe2ae6b5…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-08-08T13:18:59Z
siptrace: enable tracing of in-dialog ACKs and spiraled dialogs, analog to the setting of
dialog module
---
Modified: src/modules/siptrace/doc/siptrace_admin.xml
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f5142e2059e1cf2d65f7fb0fe2ae6b5…
Patch:
https://github.com/kamailio/kamailio/commit/f5142e2059e1cf2d65f7fb0fe2ae6b5…
---
diff --git a/src/modules/siptrace/doc/siptrace_admin.xml
b/src/modules/siptrace/doc/siptrace_admin.xml
index 7852647f37..ec5a5da63c 100644
--- a/src/modules/siptrace/doc/siptrace_admin.xml
+++ b/src/modules/siptrace/doc/siptrace_admin.xml
@@ -658,7 +658,7 @@ modparam("siptrace", "evcb_msg",
"ksr_siptrace_msg")
Enable tracing of in-dialog ACK.
</para>
<para>
- Default value is 0 (disabled).
+ Default value is 1 (enabled).
</para>
<example>
<title>Set <varname>trace_dialog_ack</varname>
parameter</title>
@@ -676,7 +676,7 @@ modparam("siptrace", "trace_dialog_ack", 1)
Enable tracing of dialog spirals.
</para>
<para>
- Default value is 0 (disabled).
+ Default value is 1 (enabled).
</para>
<example>
<title>Set <varname>trace_dialog_spiral</varname>
parameter</title>
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index 81913f064d..4d1a4243e2 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -195,8 +195,8 @@ static str trace_local_ip = {NULL, 0};
static db1_con_t *db_con = NULL; /*!< database connection */
static db_func_t db_funcs; /*!< Database functions */
-int trace_dialog_ack = 0;
-int trace_dialog_spiral = 0;
+int trace_dialog_ack = 1;
+int trace_dialog_spiral = 1;
static int spiral_tracked;
int pv_parse_siptrace_name(pv_spec_t *sp, str *in);