This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE asterisk; | |
GRANT ALL PRIVILEGES ON asterisk.* TO 'asterisk'@'localhost' IDENTIFIED BY 'change_me'; | |
FLUSH PRIVILEGES; | |
CREATE TABLE IF NOT EXISTS cdr ( | |
id BIGINT(20) NOT NULL AUTO_INCREMENT, | |
accountcode VARCHAR(30), | |
src VARCHAR(64), | |
dst VARCHAR(64), | |
dcontext VARCHAR(32), | |
clid VARCHAR(64), |