Module: sip-router
Branch: master
Commit: 838e2d42a90a9368d77113b87fe8cce190b82575
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=838e2d4…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Wed Dec 11 03:19:44 2013 +0200
modules/dialplan: increased size of repl_exp and attrs cols to 64 chars
---
lib/srdb1/schema/dialplan.xml | 6 +++---
modules/dialplan/dp_db.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/srdb1/schema/dialplan.xml b/lib/srdb1/schema/dialplan.xml
index 56d7ae2..22bab7b 100644
--- a/lib/srdb1/schema/dialplan.xml
+++ b/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>
diff --git a/modules/dialplan/dp_db.h b/modules/dialplan/dp_db.h
index 190b7b3..6c8c77b 100644
--- a/modules/dialplan/dp_db.h
+++ b/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;