CREATE TABLE kamailio.ChannelLimits2_Tracking
(
    id BIGINT UNSIGNED DEFAULT NULL,
    CallId VARCHAR(255) NOT NULL,
    Customer VARCHAR(250) DEFAULT NULL,
    Provider BIGINT UNSIGNED NOT NULL,
    ChannelUse VARCHAR(255) DEFAULT NULL,
    StartTs BIGINT UNSIGNED NOT NULL,
    PRIMARY KEY ( id ) AUTO_INCREMENT,
    UNIQUE KEY ( CallId ),
    KEY ( Provider ),
    KEY ( Customer,ChannelUse )

) ENGINE=INNODB CHARSET=UTF8 COMMENT="Channel limits version 3";
