Module: kamailio
Branch: master
Commit: f318c29bb86208a95a65ed6f00b12647f2c86b6f
URL:
https://github.com/kamailio/kamailio/commit/f318c29bb86208a95a65ed6f00b1264…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-27T21:49:31+02:00
lib: use socket_len for location received and topos IP address DB scheme (no change table
definitions)
---
Modified: src/lib/srdb1/schema/location.xml
Modified: src/lib/srdb1/schema/topos_d.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/f318c29bb86208a95a65ed6f00b1264…
Patch:
https://github.com/kamailio/kamailio/commit/f318c29bb86208a95a65ed6f00b1264…
---
diff --git a/src/lib/srdb1/schema/location.xml b/src/lib/srdb1/schema/location.xml
index f923394144..7ca7d29af4 100644
--- a/src/lib/srdb1/schema/location.xml
+++ b/src/lib/srdb1/schema/location.xml
@@ -71,7 +71,7 @@
<column>
<name>received</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&socket_len;</size>
<null/>
<default><null/></default>
<description>Received IP:PORT in the format
SIP:IP:PORT</description>
diff --git a/src/lib/srdb1/schema/topos_d.xml b/src/lib/srdb1/schema/topos_d.xml
index e544bdd0db..12a235f73b 100644
--- a/src/lib/srdb1/schema/topos_d.xml
+++ b/src/lib/srdb1/schema/topos_d.xml
@@ -186,7 +186,7 @@
<column id="a_srcaddr">
<name>a_srcaddr</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&socket_len;</size>
<default/>
<description>Source address - A side</description>
</column>
@@ -194,7 +194,7 @@
<column id="b_srcaddr">
<name>b_srcaddr</name>
<type>string</type>
- <size>&uri_len;</size>
+ <size>&socket_len;</size>
<default/>
<description>Source address - B side</description>
</column>