Pārlūkot izejas kodu

lib/srdb1: schema - use defined entities for from_tag and to_tag.

Currently various 64 length entities have been used instead.
Øyvind Kolbu 6 gadi atpakaļ
vecāks
revīzija
9fc28c698d

+ 2 - 2
src/lib/srdb1/schema/acc.xml

@@ -44,7 +44,7 @@
     <column>
         <name>from_tag</name>
         <type>string</type>
-        <size>&user_len;</size>
+        <size>&from_tag_len;</size>
         <default/>
         <description>The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.</description>
     </column>
@@ -52,7 +52,7 @@
     <column>
         <name>to_tag</name>
         <type>string</type>
-        <size>&user_len;</size>
+        <size>&to_tag_len;</size>
         <default/>
         <description>The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.</description>
     </column>

+ 2 - 2
src/lib/srdb1/schema/dialog.xml

@@ -67,7 +67,7 @@
 	<column>
 		<name>from_tag</name>
 		<type>string</type>
-		<size>&user_len;</size>
+		<size>&from_tag_len;</size>
 		<description>The tag parameter serves as a general mechanism to 
 		identify a dialog, which is the combination of the Call-ID along 
 		with two tags, one from participant in the dialog.</description>
@@ -83,7 +83,7 @@
 	<column>
 		<name>to_tag</name>
 		<type>string</type>
-		<size>&user_len;</size>
+		<size>&to_tag_len;</size>
 		<description>The tag parameter serves as a general mechanism to 
 		identify a dialog, which is the combination of the Call-ID along 
 		with two tags, one from participant in the dialog.</description>

+ 2 - 2
src/lib/srdb1/schema/missed_calls.xml

@@ -45,7 +45,7 @@
     <column>
         <name>from_tag</name>
         <type>string</type>
-        <size>&user_len;</size>
+        <size>&from_tag_len;</size>
         <default/>
 		<description>The tag parameter serves as a general mechanism to identify
 			a dialog, which is the combination of the Call-ID along with two
@@ -55,7 +55,7 @@
     <column>
         <name>to_tag</name>
         <type>string</type>
-        <size>&user_len;</size>
+        <size>&to_tag_len;</size>
         <default/>
 		<description>The tag parameter serves as a general mechanism to identify
 			a dialog, which is the combination of the Call-ID along with two

+ 2 - 2
src/lib/srdb1/schema/pr_active_watchers.xml

@@ -88,14 +88,14 @@
     <column id="to_tag">
         <name>to_tag</name>
         <type>string</type>
-        <size>&domain_len;</size>
+        <size>&to_tag_len;</size>
         <description>TO tag</description>
     </column>
 
     <column id="from_tag">
         <name>from_tag</name>
         <type>string</type>
-        <size>&domain_len;</size>
+        <size>&from_tag_len;</size>
         <description>From tag</description>
     </column>
 

+ 2 - 2
src/lib/srdb1/schema/pr_pua.xml

@@ -109,14 +109,14 @@
     <column id="to_tag">
         <name>to_tag</name>
         <type>string</type>
-        <size>&domain_len;</size>
+        <size>&to_tag_len;</size>
         <description>To tag</description>
     </column>
 
     <column id="from_tag">
         <name>from_tag</name>
         <type>string</type>
-        <size>&domain_len;</size>
+        <size>&from_tag_len;</size>
         <description>To tag</description>
     </column>
 

+ 2 - 2
src/lib/srdb1/schema/rls_watchers.xml

@@ -89,14 +89,14 @@
     <column id="to_tag">
         <name>to_tag</name>
         <type>string</type>
-        <size>&domain_len;</size>
+        <size>&to_tag_len;</size>
         <description>To tag</description>
     </column>
 
     <column id="from_tag">
         <name>from_tag</name>
         <type>string</type>
-        <size>&domain_len;</size>
+        <size>&from_tag_len;</size>
         <description>From tag</description>
     </column>
 

+ 2 - 2
src/lib/srdb1/schema/sca.xml

@@ -88,14 +88,14 @@
     <column id="from_tag">
         <name>from_tag</name>
         <type>string</type>
-	<size>&domain_len;</size>
+	<size>&from_tag_len;</size>
         <description>From-tag for subscription dialog</description>
     </column>
 
     <column id="to_tag">
         <name>to_tag</name>
         <type>string</type>
-	<size>&domain_len;</size>
+	<size>&to_tag_len;</size>
         <description>To-tag for subscription dialog</description>
     </column>
 

+ 2 - 2
src/lib/srdb1/schema/sip_trace.xml

@@ -107,7 +107,7 @@
     <column>
         <name>fromtag</name>
         <type>string</type>
-        <size>&id_len;</size>
+        <size>&from_tag_len;</size>
         <default/>
         <description>From tag</description>
     </column>
@@ -115,7 +115,7 @@
     <column>
         <name>totag</name>
         <type>string</type>
-        <size>&id_len;</size>
+        <size>&to_tag_len;</size>
         <default/>
         <description>To tag</description>
     </column>