Browse Source

modules/dialplan: increased size of repl_exp and attrs cols to 64 chars

Juha Heinanen 11 years ago
parent
commit
838e2d42a9
2 changed files with 4 additions and 4 deletions
  1. 3 3
      lib/srdb1/schema/dialplan.xml
  2. 1 1
      modules/dialplan/dp_db.h

+ 3 - 3
lib/srdb1/schema/dialplan.xml

@@ -9,7 +9,7 @@
 
 <table id="dialplan" xmlns:db="http://docbook.org/ns/docbook">
     <name>dialplan</name>
-    <version>1</version>
+    <version>2</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>This table is used by the dialplan module for the translation rules. More information is available at: &KAMAILIO_MOD_DOC;dialplan.html
@@ -71,14 +71,14 @@
     <column id="repl_exp">
         <name>repl_exp</name>
         <type>string</type>
-        <size>32</size>
+        <size>64</size>
         <description>Replacement expresion (sed like).</description>
     </column>
 
     <column id="attrs">
         <name>attrs</name>
         <type>string</type>
-        <size>32</size>
+        <size>64</size>
         <description>General attributes string to be returned in case of rule matching.</description>
     </column>
  

+ 1 - 1
modules/dialplan/dp_db.h

@@ -48,7 +48,7 @@
 #define ATTRS_COL				"attrs"
 
 
-#define DP_TABLE_VERSION		1
+#define DP_TABLE_VERSION		2
 #define DP_TABLE_COL_NO 		8
 
 extern str dp_db_url;