From 169dc9a58cc8e12afc774fc6aec113af8b20fd55 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 13 Dec 2007 17:15:31 +0000 Subject: [PATCH] adding sql schema git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6753 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/cdr.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 scripts/cdr.sql diff --git a/scripts/cdr.sql b/scripts/cdr.sql new file mode 100644 index 0000000000..b12abe5d7c --- /dev/null +++ b/scripts/cdr.sql @@ -0,0 +1,18 @@ +CREATE TABLE `cdr` ( +`caller_id_name` varchar(80) NOT NULL default '', +`caller_id_number` varchar(80) NOT NULL default '', +`destination_number` varchar(80) NOT NULL default '', +`context` varchar(80) NOT NULL default '', +`start_timestamp` datetime NOT NULL default '0000-00-00 00:00:00', +`answer_timestamp` datetime NOT NULL default '0000-00-00 00:00:00', +`end_timestamp` datetime NOT NULL default '0000-00-00 00:00:00', +`duration` int(11) NOT NULL default '0', +`billsec` int(11) NOT NULL default '0', +`hangup_cause` varchar(45) NOT NULL default '', +`uuid` varchar(36) NOT NULL default '', +`bleg_uuid` varchar(36) NOT NULL default '', +`accountcode` varchar(20) NOT NULL default '' +); + + +