Module: kamailio Branch: master Commit: 4a9c9d01c563ed3a6f0bdba033aed77161065477 URL: https://github.com/kamailio/kamailio/commit/4a9c9d01c563ed3a6f0bdba033aed771...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2016-02-03T17:27:13+01:00
lib/srdb1: updated xml shemas for topos tables
---
Modified: lib/srdb1/schema/topos_d.xml Modified: lib/srdb1/schema/topos_t.xml
---
Diff: https://github.com/kamailio/kamailio/commit/4a9c9d01c563ed3a6f0bdba033aed771... Patch: https://github.com/kamailio/kamailio/commit/4a9c9d01c563ed3a6f0bdba033aed771...
---
diff --git a/lib/srdb1/schema/topos_d.xml b/lib/srdb1/schema/topos_d.xml index 928f904..5d0de32 100644 --- a/lib/srdb1/schema/topos_d.xml +++ b/lib/srdb1/schema/topos_d.xml @@ -27,6 +27,7 @@ <type db="dbtext">int,auto</type> <description>unique ID</description> </column> + <column id="rectime"> <name>rectime</name> <type>datetime</type> @@ -34,7 +35,7 @@ </column>
<column id="a_callid"> - <name>callid</name> + <name>a_callid</name> <type>string</type> <size>&callid_len;</size> <default/> @@ -76,10 +77,27 @@ <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="a_tag"> <name>a_tag</name> <type>string</type> <size>&user_len;</size> + <default/> <description>From tag.</description> </column>
@@ -87,18 +105,21 @@ <name>b_tag</name> <type>string</type> <size>&user_len;</size> + <default/> <description>From tag.</description> </column>
<column id="a_rr"> <name>a_rr</name> <type>largetext</type> + <default/> <description>Record route - A side</description> </column>
<column id="b_rr"> <name>b_rr</name> <type>largetext</type> + <default/> <description>Record route - B side</description> </column>
@@ -115,6 +136,7 @@ <name>a_uri</name> <type>string</type> <size>&uri_len;</size> + <default/> <description>The URI of the From header</description> </column>
@@ -122,6 +144,7 @@ <name>b_uri</name> <type>string</type> <size>&uri_len;</size> + <default/> <description>The URI of the To header</description> </column>
@@ -129,6 +152,7 @@ <name>r_uri</name> <type>string</type> <size>&uri_len;</size> + <default/> <description>The R-URI</description> </column>
diff --git a/lib/srdb1/schema/topos_t.xml b/lib/srdb1/schema/topos_t.xml index 53c28cc..326d308 100644 --- a/lib/srdb1/schema/topos_t.xml +++ b/lib/srdb1/schema/topos_t.xml @@ -27,6 +27,7 @@ <type db="dbtext">int,auto</type> <description>unique ID</description> </column> + <column id="rectime"> <name>rectime</name> <type>datetime</type> @@ -34,7 +35,7 @@ </column>
<column id="a_callid"> - <name>callid</name> + <name>a_callid</name> <type>string</type> <size>&callid_len;</size> <default/> @@ -71,9 +72,18 @@ <column> <name>x_via</name> <type>largetext</type> + <default/> <description>Via stack - A or B side</description> </column>
+ <column id="x_tag"> + <name>x_tag</name> + <type>string</type> + <size>&user_len;</size> + <default/> + <description>From tag - A or B side.</description> + </column> + <index> <name>rectime_idx</name> <colref linkend="rectime"/>