Remove MySQL support from default Asterisk in accordance with new MySQL library licensing

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-09-26 22:03:10 +00:00
parent c514e681e7
commit 9eb75e0e3e
8 changed files with 38 additions and 549 deletions

15
doc/README.mysql Executable file
View File

@@ -0,0 +1,15 @@
MYSQL LICENSING UPDATE
======================
We were recently contacted by MySQL and informed that the MySQL client
libraries are now under GPL license and not LGPL license as before.
Since Asterisk does allow exceptions to GPL, we are removing MySQL support
from standard Asterisk. We will, where appropriate, make it available via
a separate package which will only be usable when Asterisk is used completely
within GPL (i.e. not in conjunction with G.729, OpenH.323, etc). We
apologize for the confusion.
You may find this in the new "asterisk-addons" package.
Mark Spencer
Digium

View File

@@ -1,29 +0,0 @@
Call Detail Recording for MySQL
===============================
Usage:
======
Include the module in your modules.conf. Change the database hostname, database name, username, and password in cdr_mysql.conf.
Create a table called cdr under the database name you will be using the following schema.
CREATE TABLE cdr (
calldate datetime NOT NULL default '0000-00-00 00:00:00',
clid varchar(45) NOT NULL default '',
src varchar(45) NOT NULL default '',
dst varchar(45) NOT NULL default '',
dcontext varchar(45) NOT NULL default '',
channel varchar(45) NOT NULL default '',
dstchannel varchar(45) NOT NULL default '',
lastapp varchar(45) NOT NULL default '',
lastdata varchar(45) NOT NULL default '',
duration int(11) NOT NULL default '0',
billsec int(11) NOT NULL default '0',
disposition varchar(45) NOT NULL default '',
amaflags int(11) NOT NULL default '0',
accountcode varchar(45) NOT NULL default '',
uniqueid varchar(45) NOT NULL default ''
);
The calls will automatically be logged as long as the module is loaded.