[sr-dev] git:master:f318c29b: lib: use socket_len for location received and topos IP address DB scheme (no change table definitions)
Henning Westerholt
hw at skalatan.de
Tue Aug 27 22:01:56 CEST 2019
Module: kamailio
Branch: master
Commit: f318c29bb86208a95a65ed6f00b12647f2c86b6f
URL: https://github.com/kamailio/kamailio/commit/f318c29bb86208a95a65ed6f00b12647f2c86b6f
Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at 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/f318c29bb86208a95a65ed6f00b12647f2c86b6f.diff
Patch: https://github.com/kamailio/kamailio/commit/f318c29bb86208a95a65ed6f00b12647f2c86b6f.patch
---
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>
More information about the sr-dev
mailing list