Module: kamailio
Branch: master
Commit: 9eaca5332e4b6be9f2437806b47ef1077eb57959
URL:
https://github.com/kamailio/kamailio/commit/9eaca5332e4b6be9f2437806b47ef10…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-21T14:45:52+01:00
lib/srdb1: tags fields made larger
- store more fields for branch
---
Modified: lib/srdb1/schema/topos_d.xml
Modified: lib/srdb1/schema/topos_t.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/9eaca5332e4b6be9f2437806b47ef10…
Patch:
https://github.com/kamailio/kamailio/commit/9eaca5332e4b6be9f2437806b47ef10…
---
diff --git a/lib/srdb1/schema/topos_d.xml b/lib/srdb1/schema/topos_d.xml
index 4f53dc5..cf62889 100644
--- a/lib/srdb1/schema/topos_d.xml
+++ b/lib/srdb1/schema/topos_d.xml
@@ -112,7 +112,7 @@
<column id="a_tag">
<name>a_tag</name>
<type>string</type>
- <size>&user_len;</size>
+ <size>&callid_len;</size>
<default/>
<description>From tag.</description>
</column>
@@ -120,7 +120,7 @@
<column id="b_tag">
<name>b_tag</name>
<type>string</type>
- <size>&user_len;</size>
+ <size>&callid_len;</size>
<default/>
<description>From tag.</description>
</column>
diff --git a/lib/srdb1/schema/topos_t.xml b/lib/srdb1/schema/topos_t.xml
index de3a65c..86fcb2f 100644
--- a/lib/srdb1/schema/topos_t.xml
+++ b/lib/srdb1/schema/topos_t.xml
@@ -130,14 +130,62 @@
<description>The R-URI</description>
</column>
+ <column id="a_contact">
+ <name>a_contact</name>
+ <type>string</type>
+ <size>&uri_len;</size>
+ <default/>
+ <description>Contact address - A side</description>
+ </column>
+
+ <column id="b_contact">
+ <name>b_contact</name>
+ <type>string</type>
+ <size>&uri_len;</size>
+ <default/>
+ <description>Contact address - B side</description>
+ </column>
+
+ <column id="as_contact">
+ <name>as_contact</name>
+ <type>string</type>
+ <size>&uri_len;</size>
+ <default/>
+ <description>Contact address - server A side</description>
+ </column>
+
+ <column id="bs_contact">
+ <name>bs_contact</name>
+ <type>string</type>
+ <size>&uri_len;</size>
+ <default/>
+ <description>Contact address - server B side</description>
+ </column>
+
<column id="x_tag">
<name>x_tag</name>
<type>string</type>
- <size>&user_len;</size>
+ <size>&callid_len;</size>
<default/>
<description>From tag - A or B side.</description>
</column>
+ <column id="a_tag">
+ <name>a_tag</name>
+ <type>string</type>
+ <size>&callid_len;</size>
+ <default/>
+ <description>From tag - A side.</description>
+ </column>
+
+ <column id="b_tag">
+ <name>b_tag</name>
+ <type>string</type>
+ <size>&callid_len;</size>
+ <default/>
+ <description>From tag - B side.</description>
+ </column>
+
<column id="a_srcaddr">
<name>a_srcaddr</name>
<type>string</type>