Module: kamailio
Branch: master
Commit: b0f1486f8a656922aac02020c9e3141639f2ecb9
URL:
https://github.com/kamailio/kamailio/commit/b0f1486f8a656922aac02020c9e3141…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-07T08:19:05+02:00
srdb1: default value set to 0 for number types
---
Modified: src/lib/srdb1/schema/secfilter.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/b0f1486f8a656922aac02020c9e3141…
Patch:
https://github.com/kamailio/kamailio/commit/b0f1486f8a656922aac02020c9e3141…
---
diff --git a/src/lib/srdb1/schema/secfilter.xml b/src/lib/srdb1/schema/secfilter.xml
index 4edab34e6c..0b3cbc8878 100644
--- a/src/lib/srdb1/schema/secfilter.xml
+++ b/src/lib/srdb1/schema/secfilter.xml
@@ -37,14 +37,14 @@
<column id="action">
<name>action</name>
<type>short</type>
- <default/>
+ <default>0</default>
<description>Action to do (0=blacklisted data, 1=whitelisted data,
2=blacklisted destination).</description>
</column>
<column id="type">
<name>type</name>
<type>short</type>
- <default/>
+ <default>0</default>
<description>Type of data (0=user-agent, 1=country, 2=domain, 3=IP address,
4=user).</description>
</column>