Built motion from commit e1a315787.|1.0.21
[motion.git] / server / config / ami / db / voiceCallReport.js
1 var _0xf75a=["\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","\x61\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\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","\x64\x65\x62\x75\x67","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65"];_0xf75a[0];var BPromise=require(_0xf75a[1]);var sequelize=require(_0xf75a[3])[_0xf75a[2]];var logger=require(_0xf75a[5])(_0xf75a[4]);var ReportCall=require(_0xf75a[3])[_0xf75a[6]];module[_0xf75a[7]]= function(){return {cdr:function(_0x6c14x5){return function(_0x6c14x6){if(!_0x6c14x5[_0xf75a[8]]){delete _0x6c14x5[_0xf75a[8]]};return ReportCall[_0xf75a[15]](_0x6c14x5,{raw:true})[_0xf75a[14]](function(_0x6c14x6){logger[_0xf75a[13]](_0xf75a[9],_0x6c14x5[_0xf75a[12]])})[_0xf75a[11]](function(_0x6c14x7){logger[_0xf75a[10]](_0xf75a[9],_0x6c14x7)})}}}}