[asterisk-commits] lmadsen: trunk r167373 - /trunk/contrib/scripts/sip-friends.sql

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 7 08:26:20 CST 2009


Author: lmadsen
Date: Wed Jan  7 08:26:19 2009
New Revision: 167373

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167373
Log:
Update the sip-friends.sql file to use the non-deprecated 'defaultname' instead of 'username' and remove an extra comma that would cause the script to fail as-is

Modified:
    trunk/contrib/scripts/sip-friends.sql

Modified: trunk/contrib/scripts/sip-friends.sql
URL: http://svn.digium.com/view/asterisk/trunk/contrib/scripts/sip-friends.sql?view=diff&rev=167373&r1=167372&r2=167373
==============================================================================
--- trunk/contrib/scripts/sip-friends.sql (original)
+++ trunk/contrib/scripts/sip-friends.sql Wed Jan  7 08:26:19 2009
@@ -5,7 +5,7 @@
 CREATE TABLE `sipfriends` (
   `name` varchar(40) NOT NULL default '',
   `type` varchar(10) NOT NULL default '',
-  `username` varchar(40),
+  `defaultname` varchar(40),
   `fromuser` varchar(40),
   `fromdomain` varchar(40),
   `secret` varchar(40),
@@ -50,5 +50,5 @@
   `setvar` varchar(200),
   PRIMARY KEY  (`name`),
   INDEX host (host, port),
-  INDEX ipaddr (ipaddr, port),
+  INDEX ipaddr (ipaddr, port)
 ) TYPE=MyISAM;




More information about the asterisk-commits mailing list