Add tables for iax and sip friends (bug #913)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-01-26 05:54:40 +00:00
parent 1b3e733e1c
commit 39f0e4b207
2 changed files with 27 additions and 0 deletions

14
contrib/scripts/iax-friends.sql Executable file
View File

@ -0,0 +1,14 @@
#
# Table structure for table `iaxfriends`
#
CREATE TABLE `iaxfriends` (
`name` varchar(40) NOT NULL default '',
`secret` varchar(40) NOT NULL default '',
`context` varchar(40) NOT NULL default '',
`ipaddr` varchar(20) NOT NULL default '',
`port` int(6) NOT NULL default '0',
`regseconds` int(11) NOT NULL default '0',
PRIMARY KEY (`name`)
) TYPE=MyISAM;

13
contrib/scripts/sip-friends.sql Executable file
View File

@ -0,0 +1,13 @@
#
# Table structure for table `sipfriends`
#
CREATE TABLE `sipfriends` (
`name` varchar(40) NOT NULL default '',
`secret` varchar(40) NOT NULL default '',
`context` varchar(40) NOT NULL default '',
`ipaddr` varchar(20) NOT NULL default '',
`port` int(6) NOT NULL default '0',
`regseconds` int(11) NOT NULL default '0',
PRIMARY KEY (`name`)
) TYPE=MyISAM;