Built motion from commit b33b832.|1.0.17
[motion.git] / server / config / ami / db / voiceCallReport.js
1 var _0xf014=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x20\x2D\x20\x63\x64\x72","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x75\x6E\x69\x71\x75\x65\x69\x64","\x6C\x6F\x67","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65"];_0xf014[0];var BPromise=require(_0xf014[1]);var sequelize=require(_0xf014[3])[_0xf014[2]];var ReportCall=require(_0xf014[3])[_0xf014[4]];module[_0xf014[5]]= function(){return {cdr:function(_0xe175x4){return function(_0xe175x5){if(!_0xe175x4[_0xf014[6]]){delete _0xe175x4[_0xf014[6]]};return ReportCall[_0xf014[13]](_0xe175x4,{raw:true})[_0xf014[12]](function(_0xe175x5){console[_0xf014[11]](_0xf014[7],_0xe175x4[_0xf014[10]])})[_0xf014[9]](function(_0xe175x6){console[_0xf014[8]](_0xf014[7],_0xe175x6)})}}}}