[Asterisk-cvs] asterisk/doc README.odbcstorage,1.1,1.2

kpfleming kpfleming
Wed Aug 24 23:13:27 CDT 2005


Update of /usr/cvsroot/asterisk/doc
In directory mongoose.digium.com:/tmp/cvs-serv27826/doc

Modified Files:
	README.odbcstorage 
Log Message:
add optional 'extended ODBC storage' mode (issue #4403)


Index: README.odbcstorage
===================================================================
RCS file: /usr/cvsroot/asterisk/doc/README.odbcstorage,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README.odbcstorage	7 Jan 2005 06:19:37 -0000	1.1
+++ README.odbcstorage	25 Aug 2005 03:15:18 -0000	1.2
@@ -6,20 +6,28 @@
 *only* supports ODBC.  The table description for the "voicemessages" 
 table is as follows:
 
-+--------------+-------------+------+-----+---------+-------+
-| Field        | Type        | Null | Key | Default | Extra |
-+--------------+-------------+------+-----+---------+-------+
-| msgnum       | int(11)     | YES  |     | NULL    |       |
-| dir          | varchar(80) | YES  | MUL | NULL    |       |
-| context      | varchar(80) | YES  |     | NULL    |       |
-| macrocontext | varchar(80) | YES  |     | NULL    |       |
-| callerid     | varchar(40) | YES  |     | NULL    |       |
-| origtime     | varchar(40) | YES  |     | NULL    |       |
-| duration     | varchar(20) | YES  |     | NULL    |       |
-| recording    | longblob    | YES  |     | NULL    |       |
-+--------------+-------------+------+-----+---------+-------+
++----------------+-------------+------+-----+---------+-------+
+| Field          | Type        | Null | Key | Default | Extra |
++----------------+-------------+------+-----+---------+-------+
+| msgnum         | int(11)     | YES  |     | NULL    |       |
+| dir            | varchar(80) | YES  | MUL | NULL    |       |
+| context        | varchar(80) | YES  |     | NULL    |       |
+| macrocontext   | varchar(80) | YES  |     | NULL    |       |
+| callerid       | varchar(40) | YES  |     | NULL    |       |
+| origtime       | varchar(40) | YES  |     | NULL    |       |
+| duration       | varchar(20) | YES  |     | NULL    |       |
+| mailboxuser    | varchar(80) | YES  |     | NULL    |       |*
+| mailboxcontext | varchar(80) | YES  |     | NULL    |       |*
+| recording      | longblob    | YES  |     | NULL    |       |
++----------------+-------------+------+-----+---------+-------+
+
+*=Denotes new fieldnames, define EXTENDED_ODBC_STORAGE in
+apps/Makefile to enable the functionality.
 
 The database name (from /etc/asterisk/res_odbc.conf) is in the 
-"odbcstorage" variable in the general section.
+"odbcstorage" variable in the general section of voicemail.conf.
+
+You may modify the voicemessages table name by using 
+odbctable=??? in voicemail.conf
+
 
-Mark




More information about the svn-commits mailing list