Built motion from commit ab065936.|2.0.53
[motion2.git] / server / services / ami / dialer / agentComplete.js
1 var _0x72c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x6D\x69\x6C\x6C\x69\x73\x65\x63\x6F\x6E\x64\x73","\x73\x65\x63\x6F\x6E\x64\x73","\x64\x69\x66\x66","\x73\x74\x61\x74\x65","\x73\x74\x61\x74\x65\x64\x65\x73\x63","\x41\x6E\x73\x77\x65\x72","\x73\x63\x68\x65\x64\x75\x6C\x65\x64\x61\x74","\x74\x79\x70\x65","\x63\x61\x6D\x70\x61\x69\x67\x6E\x74\x79\x70\x65","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x71\x75\x65\x75\x65","\x63\x6F\x75\x6E\x74\x62\x75\x73\x79\x72\x65\x74\x72\x79","\x63\x6F\x75\x6E\x74\x63\x6F\x6E\x67\x65\x73\x74\x69\x6F\x6E\x72\x65\x74\x72\x79","\x63\x6F\x75\x6E\x74\x6E\x6F\x61\x6E\x73\x77\x65\x72\x72\x65\x74\x72\x79","\x63\x6F\x75\x6E\x74\x67\x6C\x6F\x62\x61\x6C","\x75\x6E\x69\x71\x75\x65\x69\x64","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x6E\x75\x6D\x62\x65\x72","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x72\x65\x73\x70\x6F\x6E\x73\x65\x74\x69\x6D\x65","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x65\x6E\x64\x74\x69\x6D\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x72\x69\x6E\x67\x74\x69\x6D\x65","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x65\x61\x73\x6F\x6E","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x75\x6E\x69\x71\x75\x65\x69\x64","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x61\x74","\x72\x65\x63\x61\x6C\x6C\x6D\x65","\x43\x6F\x6E\x74\x61\x63\x74\x49\x64","\x4C\x69\x73\x74\x49\x64","\x55\x73\x65\x72\x49\x64","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x49\x64","\x43\x61\x6D\x70\x61\x69\x67\x6E\x49\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x72c6[0];var util=require(_0x72c6[1]);var _=require(_0x72c6[2]);var moment=require(_0x72c6[3]);function getSeconds(_0xf388x5,_0xf388x6){var _0xf388x7=moment(_0xf388x5)[_0x72c6[4]](0);var _0xf388x8=moment(_0xf388x6)[_0x72c6[4]](0);return _0xf388x7[_0x72c6[6]](_0xf388x8,_0x72c6[5])}function AgentComplete(_0xf388xa,_0xf388xb){this[_0x72c6[7]]= 4;this[_0x72c6[8]]= _0x72c6[9];this[_0x72c6[10]]= _0xf388xa[_0x72c6[10]];this[_0x72c6[11]]= _0xf388xa[_0x72c6[11]];this[_0x72c6[12]]= (_0xf388xa[_0x72c6[11]]=== _0x72c6[13])?_0x72c6[14]:_0xf388xa[_0x72c6[11]];this[_0x72c6[15]]= _0xf388xa[_0x72c6[15]];this[_0x72c6[16]]= _0xf388xa[_0x72c6[16]];this[_0x72c6[17]]= _0xf388xa[_0x72c6[17]];this[_0x72c6[18]]= _0xf388xa[_0x72c6[15]]+ _0xf388xa[_0x72c6[16]]+ _0xf388xa[_0x72c6[17]];this[_0x72c6[19]]= _0xf388xb[_0x72c6[19]];this[_0x72c6[20]]= _0xf388xa[_0x72c6[21]];this[_0x72c6[22]]= _0xf388xa[_0x72c6[23]];this[_0x72c6[24]]= _0xf388xa[_0x72c6[24]];this[_0x72c6[25]]= _0xf388xa[_0x72c6[25]];this[_0x72c6[26]]= _0xf388xa[_0x72c6[26]];this[_0x72c6[27]]= moment()[_0x72c6[29]](_0x72c6[28]);this[_0x72c6[30]]= getSeconds(_0xf388xa[_0x72c6[25]],_0xf388xa[_0x72c6[24]]);this[_0x72c6[31]]= getSeconds(_0xf388xa[_0x72c6[26]],_0xf388xa[_0x72c6[25]]);this[_0x72c6[32]]= getSeconds(this[_0x72c6[27]],_0xf388xa[_0x72c6[26]]);this[_0x72c6[14]]= _0xf388xb[_0x72c6[14]];this[_0x72c6[33]]= _0xf388xb[_0x72c6[33]];this[_0x72c6[34]]= _0xf388xb[_0x72c6[34]];this[_0x72c6[35]]= _0xf388xa[_0x72c6[35]];this[_0x72c6[36]]= _0xf388xa[_0x72c6[36]];this[_0x72c6[37]]= _0xf388xa[_0x72c6[37]];this[_0x72c6[38]]= _0xf388xa[_0x72c6[38]];this[_0x72c6[39]]= _0xf388xa[_0x72c6[39]];this[_0x72c6[40]]= _0xf388xa[_0x72c6[40]];this[_0x72c6[41]]= _0xf388xa[_0x72c6[41]];this[_0x72c6[42]]= _0xf388xa[_0x72c6[42]];this[_0x72c6[43]]= _0xf388xa[_0x72c6[43]]}module[_0x72c6[44]]= AgentComplete