Przeglądaj źródła

Increase callid length to varchar(255) in acc table.

Jon Bonilla 14 lat temu
rodzic
commit
aa28b8db51

+ 1 - 1
lib/srdb1/schema/acc.xml

@@ -54,7 +54,7 @@
         <name>callid</name>
         <name>callid</name>
         <type>string</type>
         <type>string</type>
         <natural/>
         <natural/>
-        <size>&domain_len;</size>
+        <size>&description_len;</size>
         <default/>
         <default/>
         <description>Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client. </description>
         <description>Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client. </description>
     </column>
     </column>

+ 2 - 6
utils/kamctl/db_berkeley/kamailio/version

@@ -16,10 +16,10 @@ address|
 address|4
 address|4
 aliases|
 aliases|
 aliases|1004
 aliases|1004
-carrier_name|
-carrier_name|1
 carrierfailureroute|
 carrierfailureroute|
 carrierfailureroute|2
 carrierfailureroute|2
+carrier_name|
+carrier_name|1
 carrierroute|
 carrierroute|
 carrierroute|3
 carrierroute|3
 cpl|
 cpl|
@@ -68,8 +68,6 @@ matrix|
 matrix|1
 matrix|1
 missed_calls|
 missed_calls|
 missed_calls|3
 missed_calls|3
-mtree|
-mtree|1
 pdt|
 pdt|
 pdt|1
 pdt|1
 presentity|
 presentity|
@@ -94,8 +92,6 @@ subscriber|
 subscriber|6
 subscriber|6
 trusted|
 trusted|
 trusted|5
 trusted|5
-uacreg|
-uacreg|1
 uri|
 uri|
 uri|1
 uri|1
 userblacklist|
 userblacklist|

+ 1 - 1
utils/kamctl/db_sqlite/acc-create.sql

@@ -4,7 +4,7 @@ CREATE TABLE acc (
     method VARCHAR(16) DEFAULT '' NOT NULL,
     method VARCHAR(16) DEFAULT '' NOT NULL,
     from_tag VARCHAR(64) DEFAULT '' NOT NULL,
     from_tag VARCHAR(64) DEFAULT '' NOT NULL,
     to_tag VARCHAR(64) DEFAULT '' NOT NULL,
     to_tag VARCHAR(64) DEFAULT '' NOT NULL,
-    callid VARCHAR(64) DEFAULT '' NOT NULL,
+    callid VARCHAR(255) DEFAULT '' NOT NULL,
     sip_code VARCHAR(3) DEFAULT '' NOT NULL,
     sip_code VARCHAR(3) DEFAULT '' NOT NULL,
     sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
     sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
     time TIMESTAMP WITHOUT TIME ZONE NOT NULL
     time TIMESTAMP WITHOUT TIME ZONE NOT NULL

+ 1 - 3
utils/kamctl/dbtext/kamailio/version

@@ -3,8 +3,8 @@ acc:4
 active_watchers:9
 active_watchers:9
 address:4
 address:4
 aliases:1004
 aliases:1004
-carrier_name:1
 carrierfailureroute:2
 carrierfailureroute:2
+carrier_name:1
 carrierroute:3
 carrierroute:3
 cpl:1
 cpl:1
 dbaliases:1
 dbaliases:1
@@ -29,7 +29,6 @@ lcr_rule_target:1
 location:1004
 location:1004
 matrix:1
 matrix:1
 missed_calls:3
 missed_calls:3
-mtree:1
 pdt:1
 pdt:1
 presentity:3
 presentity:3
 pua:6
 pua:6
@@ -42,7 +41,6 @@ sip_trace:2
 speed_dial:2
 speed_dial:2
 subscriber:6
 subscriber:6
 trusted:5
 trusted:5
-uacreg:1
 uri:1
 uri:1
 userblacklist:1
 userblacklist:1
 usr_preferences:2
 usr_preferences:2

+ 1 - 1
utils/kamctl/mysql/acc-create.sql

@@ -4,7 +4,7 @@ CREATE TABLE acc (
     method VARCHAR(16) DEFAULT '' NOT NULL,
     method VARCHAR(16) DEFAULT '' NOT NULL,
     from_tag VARCHAR(64) DEFAULT '' NOT NULL,
     from_tag VARCHAR(64) DEFAULT '' NOT NULL,
     to_tag VARCHAR(64) DEFAULT '' NOT NULL,
     to_tag VARCHAR(64) DEFAULT '' NOT NULL,
-    callid VARCHAR(64) DEFAULT '' NOT NULL,
+    callid VARCHAR(255) DEFAULT '' NOT NULL,
     sip_code VARCHAR(3) DEFAULT '' NOT NULL,
     sip_code VARCHAR(3) DEFAULT '' NOT NULL,
     sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
     sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
     time DATETIME NOT NULL
     time DATETIME NOT NULL

+ 1 - 1
utils/kamctl/oracle/acc-create.sql

@@ -4,7 +4,7 @@ CREATE TABLE acc (
     method VARCHAR2(16) DEFAULT '',
     method VARCHAR2(16) DEFAULT '',
     from_tag VARCHAR2(64) DEFAULT '',
     from_tag VARCHAR2(64) DEFAULT '',
     to_tag VARCHAR2(64) DEFAULT '',
     to_tag VARCHAR2(64) DEFAULT '',
-    callid VARCHAR2(64) DEFAULT '',
+    callid VARCHAR2(255) DEFAULT '',
     sip_code VARCHAR2(3) DEFAULT '',
     sip_code VARCHAR2(3) DEFAULT '',
     sip_reason VARCHAR2(32) DEFAULT '',
     sip_reason VARCHAR2(32) DEFAULT '',
     time DATE
     time DATE

+ 1 - 1
utils/kamctl/postgres/acc-create.sql

@@ -4,7 +4,7 @@ CREATE TABLE acc (
     method VARCHAR(16) DEFAULT '' NOT NULL,
     method VARCHAR(16) DEFAULT '' NOT NULL,
     from_tag VARCHAR(64) DEFAULT '' NOT NULL,
     from_tag VARCHAR(64) DEFAULT '' NOT NULL,
     to_tag VARCHAR(64) DEFAULT '' NOT NULL,
     to_tag VARCHAR(64) DEFAULT '' NOT NULL,
-    callid VARCHAR(64) DEFAULT '' NOT NULL,
+    callid VARCHAR(255) DEFAULT '' NOT NULL,
     sip_code VARCHAR(3) DEFAULT '' NOT NULL,
     sip_code VARCHAR(3) DEFAULT '' NOT NULL,
     sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
     sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
     time TIMESTAMP WITHOUT TIME ZONE NOT NULL
     time TIMESTAMP WITHOUT TIME ZONE NOT NULL