Built motion from commit 7e022ab.|2.0.18
[motion2.git] / server / services / ami / rpc / voiceCallReport.js
1 var _0xaeb8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x63\x6C\x69\x65\x6E\x74","\x63\x72\x65\x61\x74\x65","\x43\x72\x65\x61\x74\x65\x56\x6F\x69\x63\x65\x43\x61\x6C\x6C\x52\x65\x70\x6F\x72\x74","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x65\x78\x74\x65\x6E","\x63\x6F\x6E\x74\x65\x78\x74","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x44\x4F\x43\x55\x4D\x45\x4E\x54\x41\x54\x49\x4F\x4E","\x6D\x65\x72\x67\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x43\x61\x6C\x6C\x52\x65\x70\x6F\x72\x74\x73","\x47\x65\x74\x56\x6F\x69\x63\x65\x43\x61\x6C\x6C\x52\x65\x70\x6F\x72\x74","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x79","\x73\x74\x61\x72\x74\x4F\x66","\x65\x6E\x64\x4F\x66","\x74\x79\x70\x65","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x47\x65\x74\x56\x6F\x69\x63\x65\x43\x61\x6C\x6C\x52\x65\x70\x6F\x72\x74\x73"];_0xaeb8[0];var moment=require(_0xaeb8[1]);var util=require(_0xaeb8[2]);var _=require(_0xaeb8[3]);var client=require(_0xaeb8[4]);exports[_0xaeb8[5]]= function(_0xd296x5){return client.Request(_0xaeb8[6],{body:_[_0xaeb8[14]](_0xd296x5,{source:_0xd296x5[_0xaeb8[7]],destination:_0xd296x5[_0xaeb8[8]],destinationcontext:_0xd296x5[_0xaeb8[9]],callerid:util[_0xaeb8[12]](_0xaeb8[10],_0xd296x5[_0xaeb8[7]],_0xd296x5[_0xaeb8[11]]),amaflags:_0xaeb8[13]}),log:_0xaeb8[6]})};exports[_0xaeb8[15]]= function(){return function(){return client.Request(_0xaeb8[16],{options:{where:{type:[_0xaeb8[17]],createdAt:{$between:[moment()[_0xaeb8[19]](_0xaeb8[18]),moment()[_0xaeb8[20]](_0xaeb8[18])]}},attributes:[_0xaeb8[21],_0xaeb8[22],_0xaeb8[23],_0xaeb8[24]]},log:_0xaeb8[25]})}}