CREATE TABLE CallTrace
(
    Extension BIGINT UNSIGNED DEFAULT NULL,
    ts BIGINT UNSIGNED DEFAULT NULL,
    PRIMARY KEY ( Extension ),
    FOREIGN KEY ( Extension ) REFERENCES nodes ( id) ON DELETE CASCADE ON UPDATE CASCADE

) ENGINE=INNODB CHARSET=UTF8 COMMENT="Log call traces for further investigation ( police and techn";
