Built motion from commit 445c00a.|0.0.50
[motion.git] / server / models / report_call.js
index 5a17d95..ba98a28 100644 (file)
@@ -1 +1 @@
-var _0x601b=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x601b[0]]=function(_0xcd71x1,_0xcd71x2){var _0xcd71x3=_0xcd71x1[_0x601b[13]](_0x601b[1],{uniqueid:{type:_0xcd71x2[_0x601b[2]],unique:true},accountcode:_0xcd71x2[_0x601b[2]],source:_0xcd71x2[_0x601b[2]],destination:_0xcd71x2[_0x601b[2]],destinationcontext:_0xcd71x2[_0x601b[2]],callerid:_0xcd71x2[_0x601b[2]],channel:_0xcd71x2[_0x601b[2]],destinationchannel:_0xcd71x2[_0x601b[2]],lastapplication:_0xcd71x2[_0x601b[2]],lastdata:_0xcd71x2[_0x601b[2]],starttime:_0xcd71x2[_0x601b[3]],answertime:{type:_0xcd71x2[_0x601b[3]],set:function(_0xcd71x4){if(_0xcd71x4!==_0x601b[4]){this[_0x601b[6]](_0x601b[5],_0xcd71x4)}else {this[_0x601b[6]](_0x601b[5],null)}}},endtime:_0xcd71x2[_0x601b[3]],duration:_0xcd71x2[_0x601b[7]],billableseconds:_0xcd71x2[_0x601b[7]],disposition:_0xcd71x2[_0x601b[2]],amaflags:_0xcd71x2[_0x601b[2]],userfield:_0xcd71x2[_0x601b[2]]},{tableName:_0x601b[8],associate:function(_0xcd71x5){_0xcd71x3[_0x601b[11]](_0xcd71x5.ReportQueue,{as:_0x601b[9],foreignKey:_0x601b[10],constraints:false});_0xcd71x3[_0x601b[11]](_0xcd71x5.ReportAgent,{as:_0x601b[12],foreignKey:_0x601b[10],constraints:false})}});return _0xcd71x3}
\ No newline at end of file
+var _0xdb97=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xdb97[0]]=function(_0x42cax1,_0x42cax2){var _0x42cax3=_0x42cax1[_0xdb97[13]](_0xdb97[1],{uniqueid:{type:_0x42cax2[_0xdb97[2]],unique:true},accountcode:_0x42cax2[_0xdb97[2]],source:_0x42cax2[_0xdb97[2]],destination:_0x42cax2[_0xdb97[2]],destinationcontext:_0x42cax2[_0xdb97[2]],callerid:_0x42cax2[_0xdb97[2]],channel:_0x42cax2[_0xdb97[2]],destinationchannel:_0x42cax2[_0xdb97[2]],lastapplication:_0x42cax2[_0xdb97[2]],lastdata:_0x42cax2[_0xdb97[2]],starttime:_0x42cax2[_0xdb97[3]],answertime:{type:_0x42cax2[_0xdb97[3]],set:function(_0x42cax4){if(_0x42cax4!==_0xdb97[4]){this[_0xdb97[6]](_0xdb97[5],_0x42cax4)}else {this[_0xdb97[6]](_0xdb97[5],null)}}},endtime:_0x42cax2[_0xdb97[3]],duration:_0x42cax2[_0xdb97[7]],billableseconds:_0x42cax2[_0xdb97[7]],disposition:_0x42cax2[_0xdb97[2]],amaflags:_0x42cax2[_0xdb97[2]],userfield:_0x42cax2[_0xdb97[2]]},{tableName:_0xdb97[8],associate:function(_0x42cax5){_0x42cax3[_0xdb97[11]](_0x42cax5.ReportQueue,{as:_0xdb97[9],foreignKey:_0xdb97[10],constraints:false});_0x42cax3[_0xdb97[11]](_0x42cax5.ReportAgent,{as:_0xdb97[12],foreignKey:_0xdb97[10],constraints:false})}});return _0x42cax3}
\ No newline at end of file