Module: kamailio
Branch: master
Commit: 8596e84b20f93cf73963b0c61e15dbb049b2276a
URL:
https://github.com/kamailio/kamailio/commit/8596e84b20f93cf73963b0c61e15dbb…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: 2017-10-16T12:40:43+03:00
sipdump: enable param now defaults to 0
---
Modified: src/modules/sipdump/doc/sipdump_admin.xml
Modified: src/modules/sipdump/sipdump_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8596e84b20f93cf73963b0c61e15dbb…
Patch:
https://github.com/kamailio/kamailio/commit/8596e84b20f93cf73963b0c61e15dbb…
---
diff --git a/src/modules/sipdump/doc/sipdump_admin.xml
b/src/modules/sipdump/doc/sipdump_admin.xml
index 8cffb7284a..b490c57b88 100644
--- a/src/modules/sipdump/doc/sipdump_admin.xml
+++ b/src/modules/sipdump/doc/sipdump_admin.xml
@@ -80,14 +80,14 @@
</para>
<para>
<emphasis>
- Default value is 1 (0 - off; 1 - on).
+ Default value is 0 (0 - off; 1 - on).
</emphasis>
</para>
<example>
<title>Set <varname>enable</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("sipdump", "enable", 0)
+modparam("sipdump", "enable", 1)
...
</programlisting>
</example>
diff --git a/src/modules/sipdump/sipdump_mod.c b/src/modules/sipdump/sipdump_mod.c
index cb8651e0b0..a7f1c3bea5 100644
--- a/src/modules/sipdump/sipdump_mod.c
+++ b/src/modules/sipdump/sipdump_mod.c
@@ -41,7 +41,7 @@
MODULE_VERSION
-static int sipdump_enable = 1;
+static int sipdump_enable = 0;
int sipdump_rotate = 7200;
static int sipdump_wait = 100;
static str sipdump_folder = str_init("/tmp");