CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `pbx`.`cdrConf` AS SELECT `c`.`call_date` AS `calldate`, `c`.`clid` AS `clid`, `c`.`src` AS `src`, `c`.`dst` AS `dst`, `c`.`dcontext` AS `dcontext`, `c`.`channel` AS `channel`, `c`.`dst_channel` AS `dstchannel`, `c`.`last_app` AS `lastapp`, `c`.`last_data` AS `lastdata`, `c`.`duration` AS `duration`, `c`.`billsec` AS `billsec`, `c`.`disposition` AS `disposition`, `c`.`ama_flags` AS `amaflags`, `c`.`account_code` AS `accountcode`, `c`.`unique_id` AS `uniqueid`, `c`.`user_field` AS `userfield` FROM `pbx`.`cdr` `c`