[svn-commits] elguero: trunk r382941 - in /trunk: ./ contrib/realtime/mysql/ contrib/realti...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 12 15:41:46 CDT 2013


Author: elguero
Date: Tue Mar 12 15:41:42 2013
New Revision: 382941

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382941
Log:
Update Contributed Realtime Schema Files - IPv6 Addresses

This commit updates some fields in the contributed realtime schema files to
handle IPv6 addresses.

(closes issue ASTERISK-21173)
Reported by: Torrey Searle
Patches:
  realtime_sql.patch Torrey Searle (license 5334)
  asterisk-21173-update-ip-fields.diff Michael L. Young (license 5026)
........

Merged revisions 382939 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 382940 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    trunk/   (props changed)
    trunk/contrib/realtime/mysql/sippeers.sql
    trunk/contrib/realtime/postgresql/realtime.sql

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: trunk/contrib/realtime/mysql/sippeers.sql
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/realtime/mysql/sippeers.sql?view=diff&rev=382941&r1=382940&r2=382941
==============================================================================
--- trunk/contrib/realtime/mysql/sippeers.sql (original)
+++ trunk/contrib/realtime/mysql/sippeers.sql Tue Mar 12 15:41:42 2013
@@ -5,19 +5,19 @@
 CREATE TABLE IF NOT EXISTS `sippeers` (
       `id` int(11) NOT NULL AUTO_INCREMENT,
       `name` varchar(10) NOT NULL,
-      `ipaddr` varchar(15) DEFAULT NULL,
+      `ipaddr` varchar(45) DEFAULT NULL,
       `port` int(5) DEFAULT NULL,
       `regseconds` int(11) DEFAULT NULL,
       `defaultuser` varchar(10) DEFAULT NULL,
-      `fullcontact` varchar(35) DEFAULT NULL,
+      `fullcontact` varchar(80) DEFAULT NULL,
       `regserver` varchar(20) DEFAULT NULL,
       `useragent` varchar(20) DEFAULT NULL,
       `lastms` int(11) DEFAULT NULL,
       `host` varchar(40) DEFAULT NULL,
       `type` enum('friend','user','peer') DEFAULT NULL,
       `context` varchar(40) DEFAULT NULL,
-      `permit` varchar(40) DEFAULT NULL,
-      `deny` varchar(40) DEFAULT NULL,
+      `permit` varchar(95) DEFAULT NULL,
+      `deny` varchar(95) DEFAULT NULL,
       `secret` varchar(40) DEFAULT NULL,
       `md5secret` varchar(40) DEFAULT NULL,
       `remotesecret` varchar(40) DEFAULT NULL,
@@ -56,7 +56,7 @@
       `fromdomain` varchar(40) DEFAULT NULL,
       `fromuser` varchar(40) DEFAULT NULL,
       `qualify` varchar(40) DEFAULT NULL,
-      `defaultip` varchar(40) DEFAULT NULL,
+      `defaultip` varchar(45) DEFAULT NULL,
       `rtptimeout` int(11) DEFAULT NULL,
       `rtpholdtimeout` int(11) DEFAULT NULL,
       `sendrpid` enum('yes','no') DEFAULT NULL,
@@ -66,8 +66,8 @@
       `timerb` int(11) DEFAULT NULL,
       `qualifyfreq` int(11) DEFAULT NULL,
       `constantssrc` enum('yes','no') DEFAULT NULL,
-      `contactpermit` varchar(40) DEFAULT NULL,
-      `contactdeny` varchar(40) DEFAULT NULL,
+      `contactpermit` varchar(95) DEFAULT NULL,
+      `contactdeny` varchar(95) DEFAULT NULL,
       `usereqphone` enum('yes','no') DEFAULT NULL,
       `textsupport` enum('yes','no') DEFAULT NULL,
       `faxdetect` enum('yes','no') DEFAULT NULL,

Modified: trunk/contrib/realtime/postgresql/realtime.sql
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/realtime/postgresql/realtime.sql?view=diff&rev=382941&r1=382940&r2=382941
==============================================================================
--- trunk/contrib/realtime/postgresql/realtime.sql (original)
+++ trunk/contrib/realtime/postgresql/realtime.sql Tue Mar 12 15:41:42 2013
@@ -40,7 +40,7 @@
 canreinvite character varying(3) DEFAULT 'yes',
 supportpath character varying(3) DEFAULT 'no',
 context character varying(80),
-defaultip character varying(15),
+defaultip character varying(45),
 dtmfmode character varying(7),
 fromuser character varying(80),
 fromdomain character varying(80),




More information about the svn-commits mailing list