Module: kamailio
Branch: 5.3
Commit: 221175ff31bfead160ef9f3bc8ac613a107f98cf
URL:
https://github.com/kamailio/kamailio/commit/221175ff31bfead160ef9f3bc8ac613…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-07T08:21:02+02:00
srdb1: default value set to 0 for number types
(cherry picked from commit b0f1486f8a656922aac02020c9e3141639f2ecb9)
---
Modified: src/lib/srdb1/schema/secfilter.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/221175ff31bfead160ef9f3bc8ac613…
Patch:
https://github.com/kamailio/kamailio/commit/221175ff31bfead160ef9f3bc8ac613…
---
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>