Chapter 27 Call Detail Record (CDR)
X2002 User’s Guide
401
Each field is described in the following table.
27.5 CDR Technical Reference
This ia a sample of cdr.sql file content.
Table 159
CDR Query > Report
LABEL
DESCRIPTION
Left / Right
Use the Left and Right icons to change the page you want to view (if the
report has more than one page). Alternatively, use the drop down list
box to select the page you want to view.
Lines/Page
Specify how many lines you want to display on each page of the report.
Total
This field displays the total records created by this report.
Report Output
Fields
The format of your report depends on the criteria you select in the
Report
>
LOGS
>
CDR
>
CDR Query
page. See
for explanation of all criteria.
-- mysql -u sqlzyxel -p123456 < cdr.sql
CREATE DATABASE cdr;
GRANT ALL PRIVILEGES ON cdr.* TO sqlzyxel IDENTIFIED BY '123456';
USE cdr;
-- create cdr table
CREATE TABLE IF NOT EXISTS `cdr` (
`calldate` datetime NOT NULL default '0000-00-00 00:00:00',
`clid` varchar(80) NOT NULL default '',
`src` varchar(80) NOT NULL default '',
`dst` varchar(80) NOT NULL default '',
`dcontext` varchar(80) NOT NULL default '',
`channel` varchar(80) NOT NULL default '',
`dstchannel` varchar(80) NOT NULL default '',
`lastapp` varchar(80) NOT NULL default '',
`lastdata` varchar(80) 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(20) NOT NULL default '',
`userfield` varchar(255) NOT NULL default ''
);
ALTER TABLE `cdr` ADD INDEX ( `calldate` );
ALTER TABLE `cdr` ADD INDEX ( `dst` );
ALTER TABLE `cdr` ADD INDEX ( `accountcode` );
Содержание X2002
Страница 2: ......
Страница 24: ...Table of Contents X2002 User s Guide 24...
Страница 25: ...25 PART I User s Guide...
Страница 26: ...26...
Страница 40: ...Chapter 2 How It Works X2002 User s Guide 40...
Страница 99: ...99 PART II Technical Reference...
Страница 100: ...100...
Страница 124: ...Chapter 5 Network Deployment X2002 User s Guide 124...
Страница 166: ...Chapter 7 Auto Provision X2002 User s Guide 166...
Страница 170: ...Chapter 8 QoS X2002 User s Guide 170...
Страница 248: ...Chapter 16 Click To Talk Group X2002 User s Guide 248...
Страница 252: ...Chapter 17 Group Access Code X2002 User s Guide 252...
Страница 304: ...Chapter 19 Auto Attendant X2002 User s Guide 304...
Страница 312: ...Chapter 20 LCR X2002 User s Guide 312...
Страница 346: ...Chapter 22 Call Services X2002 User s Guide 346...
Страница 380: ...Chapter 25 Status Observation X2002 User s Guide 380...
Страница 402: ...Chapter 27 Call Detail Record CDR X2002 User s Guide 402...
Страница 410: ...Chapter 28 ACD Logs X2002 User s Guide 410...
Страница 416: ...Chapter 29 Administrator Accounts X2002 User s Guide 416...
Страница 424: ...Chapter 30 Diagnostics X2002 User s Guide 424...
Страница 426: ...Chapter 31 X2002 User s Guide 426...
Страница 446: ...Chapter 32 Remote Management X2002 User s Guide 446...
Страница 448: ...Chapter 33 TFTP Management X2002 User s Guide 448...
Страница 462: ...Chapter 35 License Control X2002 User s Guide 462...
Страница 482: ...Chapter 36 Web Portal X2002 User s Guide 482...
Страница 508: ...Chapter 39 Product Specifications X2002 User s Guide 508...
Страница 548: ...Appendix C Legal Information X2002 User s Guide 548...
Страница 562: ...Index X2002 User s Guide 562...