~ubuntu-branches/debian/sid/kamailio/sid

« back to all changes in this revision

Viewing changes to utils/kamctl/mysql/acc-create.sql

  • Committer: Package Import Robot
  • Author(s): Victor Seva
  • Date: 2014-01-06 11:47:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140106114713-t8xidp4arzrnyeya
Tags: 4.1.1-1
* New upstream release
* debian/patches:
  - add upstream fixes
* Added tls outbound websocket autheph dnssec modules
  - openssl exception added to their license
* removing sparc and ia64 from supported archs
  for mono module (Closes: #728915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    sip_code VARCHAR(3) DEFAULT '' NOT NULL,
9
9
    sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
10
10
    time DATETIME NOT NULL
11
 
) ENGINE=MyISAM;
 
11
);
12
12
 
13
13
CREATE INDEX callid_idx ON acc (callid);
14
14
 
 
15
INSERT INTO version (table_name, table_version) values ('acc_cdrs','1');
 
16
CREATE TABLE acc_cdrs (
 
17
    id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
 
18
    start_time VARCHAR(32) DEFAULT '' NOT NULL,
 
19
    end_time VARCHAR(32) DEFAULT '' NOT NULL,
 
20
    duration VARCHAR(32) DEFAULT '' NOT NULL
 
21
);
 
22
 
 
23
CREATE INDEX start_time_idx ON acc_cdrs (start_time);
 
24
 
15
25
INSERT INTO version (table_name, table_version) values ('missed_calls','3');
16
26
CREATE TABLE missed_calls (
17
27
    id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
22
32
    sip_code VARCHAR(3) DEFAULT '' NOT NULL,
23
33
    sip_reason VARCHAR(32) DEFAULT '' NOT NULL,
24
34
    time DATETIME NOT NULL
25
 
) ENGINE=MyISAM;
 
35
);
26
36
 
27
37
CREATE INDEX callid_idx ON missed_calls (callid);
28
38