Module: kamailio
Branch: master
Commit: 5d9109a0b901f3d959ee01a3b234841671a72c9b
URL:
https://github.com/kamailio/kamailio/commit/5d9109a0b901f3d959ee01a3b234841…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-27T21:58:41+02:00
lib: change topos DB scheme for *contact from uri_len to contact_len, 512 (GH #2043)
---
Modified: src/lib/srdb1/schema/topos_d.xml
Modified: src/lib/srdb1/schema/topos_t.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/5d9109a0b901f3d959ee01a3b234841…
Patch:
https://github.com/kamailio/kamailio/commit/5d9109a0b901f3d959ee01a3b234841…
---
diff --git a/src/lib/srdb1/schema/topos_d.xml b/src/lib/srdb1/schema/topos_d.xml
index 12a235f73b..f0ee77473f 100644
--- a/src/lib/srdb1/schema/topos_d.xml
+++ b/src/lib/srdb1/schema/topos_d.xml
@@ -84,7 +84,7 @@
<column id="a_contact">
<name>a_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - A side</description>
</column>
@@ -92,7 +92,7 @@
<column id="b_contact">
<name>b_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - B side</description>
</column>
@@ -100,7 +100,7 @@
<column id="as_contact">
<name>as_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - server A side</description>
</column>
@@ -108,7 +108,7 @@
<column id="bs_contact">
<name>bs_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - server B side</description>
</column>
diff --git a/src/lib/srdb1/schema/topos_t.xml b/src/lib/srdb1/schema/topos_t.xml
index ca7eab9d5f..0fdda01590 100644
--- a/src/lib/srdb1/schema/topos_t.xml
+++ b/src/lib/srdb1/schema/topos_t.xml
@@ -137,7 +137,7 @@
<column id="a_contact">
<name>a_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - A side</description>
</column>
@@ -145,7 +145,7 @@
<column id="b_contact">
<name>b_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - B side</description>
</column>
@@ -153,7 +153,7 @@
<column id="as_contact">
<name>as_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - server A side</description>
</column>
@@ -161,7 +161,7 @@
<column id="bs_contact">
<name>bs_contact</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&contact_len;</size>
<default/>
<description>Contact address - server B side</description>
</column>