[asterisk-commits] tilghman: trunk r276869 - in /trunk/contrib/realtime: mysql/ postgresql/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 15 23:19:02 CDT 2010


Author: tilghman
Date: Thu Jul 15 23:18:58 2010
New Revision: 276869

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276869
Log:
Allow ipaddress to contain the maximum IPv6 address.

Also, update meetme to the full list of supported fields.

Modified:
    trunk/contrib/realtime/mysql/iaxfriends.sql
    trunk/contrib/realtime/mysql/meetme.sql
    trunk/contrib/realtime/mysql/sipfriends.sql
    trunk/contrib/realtime/postgresql/realtime.sql

Modified: trunk/contrib/realtime/mysql/iaxfriends.sql
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/realtime/mysql/iaxfriends.sql?view=diff&rev=276869&r1=276868&r2=276869
==============================================================================
--- trunk/contrib/realtime/mysql/iaxfriends.sql (original)
+++ trunk/contrib/realtime/mysql/iaxfriends.sql Thu Jul 15 23:18:58 2010
@@ -12,7 +12,7 @@
   `context` varchar(40) NULL,
   `regcontext` varchar(40) NULL,
   `host` varchar(40) NULL default 'dynamic',
-  `ipaddr` varchar(20) NULL, -- Must be updateable by Asterisk user
+  `ipaddr` varchar(40) NULL, -- Must be updateable by Asterisk user
   `port` int(5) NULL, -- Must be updateable by Asterisk user
   `defaultip` varchar(20) NULL,
   `sourceaddress` varchar(20) NULL,

Modified: trunk/contrib/realtime/mysql/meetme.sql
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/realtime/mysql/meetme.sql?view=diff&rev=276869&r1=276868&r2=276869
==============================================================================
--- trunk/contrib/realtime/mysql/meetme.sql (original)
+++ trunk/contrib/realtime/mysql/meetme.sql Thu Jul 15 23:18:58 2010
@@ -3,10 +3,19 @@
 -- 
 
 CREATE TABLE meetme (
+	bookid int(11) auto_increment,
 	confno char(80) DEFAULT '0' NOT NULL,
+	starttime datetime default '1900-01-01 12:00:00',
+	endtime datetime default '2038-01-01 12:00:00',
 	pin char(20) NULL,
 	adminpin char(20) NULL,
+	opts char(20) NULL,
+	adminopts char(20) NULL,
+	recordingfilename char(80) NULL,
+	recordingformat char(10) NULL,
+	maxusers int(11) NULL,
 	members integer DEFAULT 0 NOT NULL,
-	PRIMARY KEY (confno)
+	index confno (confno,starttime,endtime)
+	PRIMARY KEY (bookid),
 );
 

Modified: trunk/contrib/realtime/mysql/sipfriends.sql
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/realtime/mysql/sipfriends.sql?view=diff&rev=276869&r1=276868&r2=276869
==============================================================================
--- trunk/contrib/realtime/mysql/sipfriends.sql (original)
+++ trunk/contrib/realtime/mysql/sipfriends.sql Thu Jul 15 23:18:58 2010
@@ -35,7 +35,7 @@
   `maxcallbitrate` varchar(15),
   `host` varchar(40) default 'dynamic',
   `outboundproxy` varchar(40),
-  `ipaddr` varchar(20) NOT NULL default '',
+  `ipaddr` varchar(40) NOT NULL default '',
   `defaultip` varchar(20),
   `port` int(6) NOT NULL default '0',
   `fullcontact` varchar(40),

Modified: trunk/contrib/realtime/postgresql/realtime.sql
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/realtime/postgresql/realtime.sql?view=diff&rev=276869&r1=276868&r2=276869
==============================================================================
--- trunk/contrib/realtime/postgresql/realtime.sql (original)
+++ trunk/contrib/realtime/postgresql/realtime.sql Thu Jul 15 23:18:58 2010
@@ -65,7 +65,7 @@
 allow character varying(100) DEFAULT 'g729;ilbc;gsm;ulaw;alaw',
 musiconhold character varying(100),
 regseconds bigint DEFAULT 0::bigint NOT NULL,
-ipaddr character varying(15) DEFAULT '' NOT NULL,
+ipaddr character varying(40) DEFAULT '' NOT NULL,
 regexten character varying(80) DEFAULT '' NOT NULL,
 cancallforward character varying(3) DEFAULT 'yes',
 lastms integer DEFAULT -1 NOT NULL




More information about the asterisk-commits mailing list