From: Leif Madsen Date: Wed, 7 Jan 2009 14:26:19 +0000 (+0000) Subject: Update the sip-friends.sql file to use the non-deprecated 'defaultname' instead of... X-Git-Tag: 1.6.2.0-beta1~502 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82af1445e72b97bcdba20c47b8a854d2bc9d5dae;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@167373 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/contrib/scripts/sip-friends.sql b/contrib/scripts/sip-friends.sql index d76db7f936..aeb3bd1eaa 100644 --- a/contrib/scripts/sip-friends.sql +++ b/contrib/scripts/sip-friends.sql @@ -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 @@ CREATE TABLE `sipfriends` ( `setvar` varchar(200), PRIMARY KEY (`name`), INDEX host (host, port), - INDEX ipaddr (ipaddr, port), + INDEX ipaddr (ipaddr, port) ) TYPE=MyISAM;