[sr-dev] git:master: srdb1: added callid_len entity

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 4 22:07:53 CEST 2011


Module: sip-router
Branch: master
Commit: 0a94c6d5d549a438d64006e66c57a66c19cda8f8
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0a94c6d5d549a438d64006e66c57a66c19cda8f8

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Jul  4 22:02:19 2011 +0200

srdb1: added callid_len entity

- used for size of callid columns across tables
- set to 255

---

 lib/srdb1/schema/acc.xml                |    2 +-
 lib/srdb1/schema/aliases.xml            |    2 +-
 lib/srdb1/schema/dialog.xml             |    2 +-
 lib/srdb1/schema/location.xml           |    2 +-
 lib/srdb1/schema/missed_calls.xml       |    2 +-
 lib/srdb1/schema/pr_active_watchers.xml |    2 +-
 lib/srdb1/schema/rls_watchers.xml       |    2 +-
 lib/srdb1/schema/sip_trace.xml          |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/srdb1/schema/acc.xml b/lib/srdb1/schema/acc.xml
index cabe9ba..719298e 100644
--- a/lib/srdb1/schema/acc.xml
+++ b/lib/srdb1/schema/acc.xml
@@ -54,7 +54,7 @@
         <name>callid</name>
         <type>string</type>
         <natural/>
-        <size>&description_len;</size>
+        <size>&callid_len;</size>
         <default/>
         <description>Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client. </description>
     </column>
diff --git a/lib/srdb1/schema/aliases.xml b/lib/srdb1/schema/aliases.xml
index 653e05e..6fbd840 100644
--- a/lib/srdb1/schema/aliases.xml
+++ b/lib/srdb1/schema/aliases.xml
@@ -90,7 +90,7 @@
     <column>
         <name>callid</name>
         <type>string</type>
-        <size>&hf_len;</size>
+        <size>&callid_len;</size>
         <default>&DEFAULT_CALLID;</default>
         <description>Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client.</description>
     </column>
diff --git a/lib/srdb1/schema/dialog.xml b/lib/srdb1/schema/dialog.xml
index 1bc3807..8c5e5b4 100644
--- a/lib/srdb1/schema/dialog.xml
+++ b/lib/srdb1/schema/dialog.xml
@@ -47,7 +47,7 @@
 	<column>
 		<name>callid</name>
 		<type>string</type>
-		<size>&hf_len;</size>
+		<size>&callid_len;</size>
 		<description>Call-ID of the dialog</description>
 		
 	</column>
diff --git a/lib/srdb1/schema/location.xml b/lib/srdb1/schema/location.xml
index 1411899..e5bef5a 100644
--- a/lib/srdb1/schema/location.xml
+++ b/lib/srdb1/schema/location.xml
@@ -90,7 +90,7 @@
     <column>
         <name>callid</name>
         <type>string</type>
-        <size>&hf_len;</size>
+        <size>&callid_len;</size>
         <default>&DEFAULT_CALLID;</default>
         <description>Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client.</description>
     </column>
diff --git a/lib/srdb1/schema/missed_calls.xml b/lib/srdb1/schema/missed_calls.xml
index d8332fc..7a66440 100644
--- a/lib/srdb1/schema/missed_calls.xml
+++ b/lib/srdb1/schema/missed_calls.xml
@@ -52,7 +52,7 @@
     <column id="callid">
         <name>callid</name>
         <type>string</type>
-        <size>&domain_len;</size>
+        <size>&callid_len;</size>
         <default/>
         <description>Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client. </description>
         <natural/>
diff --git a/lib/srdb1/schema/pr_active_watchers.xml b/lib/srdb1/schema/pr_active_watchers.xml
index 8c27d56..35d697a 100644
--- a/lib/srdb1/schema/pr_active_watchers.xml
+++ b/lib/srdb1/schema/pr_active_watchers.xml
@@ -96,7 +96,7 @@
     <column id="callid">
         <name>callid</name>
         <type>string</type>
-        <size>&uri_len;</size>
+        <size>&callid_len;</size>
         <description>Call ID</description>
     </column>
 
diff --git a/lib/srdb1/schema/rls_watchers.xml b/lib/srdb1/schema/rls_watchers.xml
index 1faac29..8362e77 100644
--- a/lib/srdb1/schema/rls_watchers.xml
+++ b/lib/srdb1/schema/rls_watchers.xml
@@ -97,7 +97,7 @@
     <column id="callid">
         <name>callid</name>
         <type>string</type>
-        <size>&uri_len;</size>
+        <size>&callid_len;</size>
         <description>Call ID</description>
     </column>
 
diff --git a/lib/srdb1/schema/sip_trace.xml b/lib/srdb1/schema/sip_trace.xml
index 5ff2a02..0b492c4 100644
--- a/lib/srdb1/schema/sip_trace.xml
+++ b/lib/srdb1/schema/sip_trace.xml
@@ -37,7 +37,7 @@
     <column id="callid">
         <name>callid</name>
         <type>string</type>
-        <size>&hf_len;</size>
+        <size>&callid_len;</size>
         <default/>
         <description>call ID from SIP message</description>
         <natural/>




More information about the sr-dev mailing list