clarent_db_schema-postgres.sql

来自「新的radius程序」· SQL 代码 · 共 29 行

SQL
29
字号
/* * Id: postgresql.conf,v 1.8.2.11 2003/07/15 11:15:43 pnixon Exp $ * * --- Peter Nixon [ codemonkey@peternixon.net ] * This is a custom SQL schema for doing Clarent VoIP accounting * Clarents don't support RADIUS but I use this along with the other * files in this directory to do billing so it can live here :-) * */CREATE TABLE billing_record (  Id BIGSERIAL PRIMARY KEY,  local_SetupTime timestamp,  start_time NUMERIC(11),  duration INTEGER,  service_code CHAR(1),  phone_number VARCHAR(24),  ip_addr_ingress INET,  ip_addr_egress INET,  bill_type CHAR(1),  disconnect_reason CHAR(2),  extended_reason_code CHAR(2),  dialed_number VARCHAR(30),  port_number INTEGER,  codec VARCHAR(20),  h323ConfID VARCHAR(64));create UNIQUE index combo on billing_record (start_time, ip_addr_ingress, h323ConfID);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?