Przeglądaj źródła

lib/srdb1: tags fields made larger

- store more fields for branch
Daniel-Constantin Mierla 9 lat temu
rodzic
commit
9eaca5332e
2 zmienionych plików z 51 dodań i 3 usunięć
  1. 2 2
      lib/srdb1/schema/topos_d.xml
  2. 49 1
      lib/srdb1/schema/topos_t.xml

+ 2 - 2
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>

+ 49 - 1
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>