mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
tweak create.sql and config file
This commit is contained in:
1 parent
93bbbe96af
commit
aab453f52a
3 files changed
+5
-29
No files matched your search
@@ -1,5 +1,6 @@
|
||||
-- Sample CDR table schema
|
||||
|
||||
create table a (
|
||||
create table cdr (
|
||||
id serial primary key,
|
||||
local_ip_v4 inet not null,
|
||||
caller_id_name varchar,
|
||||
@@ -20,26 +21,3 @@ create table a (
|
||||
sip_hangup_disposition varchar,
|
||||
ani varchar
|
||||
);
|
||||
|
||||
create table g (
|
||||
id serial primary key,
|
||||
local_ip_v4 inet not null,
|
||||
caller_id_name varchar,
|
||||
caller_id_number varchar,
|
||||
destination_number varchar not null,
|
||||
context varchar not null,
|
||||
start_stamp timestamp with time zone not null,
|
||||
answer_stamp timestamp with time zone,
|
||||
end_stamp timestamp with time zone not null,
|
||||
duration int not null,
|
||||
billsec int not null,
|
||||
hangup_cause varchar not null,
|
||||
uuid uuid not null,
|
||||
bleg_uuid uuid,
|
||||
accountcode varchar,
|
||||
read_codec varchar,
|
||||
write_codec varchar,
|
||||
sip_hangup_disposition varchar,
|
||||
ani varchar
|
||||
);
|
||||
|
||||
@@ -457,7 +457,6 @@ static void event_handler(switch_event_t *event)
|
||||
PQfinish(globals.db_connection);
|
||||
globals.db_online = 0;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user