Built motion from commit eae4cb9.|0.0.78
[motion.git] / server / config / ami / index.js
1 var _0x323b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74","\x2E\x2F\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x63\x61\x6C\x6C","\x2E\x2F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2F\x74\x72\x75\x6E\x6B","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x2E\x2F\x61\x63\x77","\x2E\x2F\x75\x73\x65\x72","\x2E\x2F\x74\x72\x61\x6E\x73\x66\x65\x72","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x68\x6F\x73\x74","\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x6F\x72\x74","\x69\x6E\x66\x6F","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x63\x6C\x6F\x73\x65","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4C\x4F\x53\x45\x3A\x20\x25\x73","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x45\x52\x52\x4F\x52\x3A\x20\x25\x73","\x6D\x61\x6E\x61\x67\x65\x72\x65\x76\x65\x6E\x74","\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x64\x65\x76\x69\x63\x65","\x53\x49\x50\x2F\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x73\x74\x61\x74\x65","\x53\x49\x50\x2F","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x74\x65\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64","\x6C\x6F\x67\x69\x6E","\x61\x64\x64\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65","\x70\x61\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x6D\x6F\x76\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x73\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E","\x6A\x6F\x69\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65","\x6C\x65\x61\x76\x65","\x63\x64\x72","\x61\x64\x64","\x68\x61\x6E\x67\x75\x70","\x6D\x6F\x6E\x69\x74\x6F\x72\x73\x74\x61\x72\x74","\x6D\x6F\x6E\x69\x74\x6F\x72\x73\x74\x6F\x70","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x79\x70\x65","\x62\x6C\x69\x6E\x64","\x63\x72\x65\x61\x74\x65\x42\x6C\x69\x6E\x64","\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x61\x74\x74\x65\x6E\x64\x65\x64","\x63\x72\x65\x61\x74\x65\x41\x74\x74\x65\x6E\x64\x65\x64","\x76\x61\x72\x73\x65\x74","\x69\x6E\x62\x6F\x75\x6E\x64","\x6D\x69\x78\x6D\x6F\x6E\x69\x74\x6F\x72\x5F\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x73\x74\x61\x74\x75\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2F\x2E\x2E\x2F\x66\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0x323b[0];var Agent=require(_0x323b[1]);var Action=require(_0x323b[2]);var Call=require(_0x323b[3]);var Member=require(_0x323b[4]);var QueueCaller=require(_0x323b[5]);var QueueMember=require(_0x323b[6]);var Recording=require(_0x323b[7]);var Trunk=require(_0x323b[8]);var Context=require(_0x323b[9]);var ACW=require(_0x323b[10]);var User=require(_0x323b[11]);var Transfer=require(_0x323b[12]);function onDisconnect(_0xdf69xe){}function onConnect(_0xdf69xe){}function getVariable(_0xdf69x11){var _0xdf69x12=Object[_0x323b[14]](_0xdf69x11[_0x323b[13]]);_0xdf69x11[_0x323b[13]]=_0xdf69x12[0];return _0xdf69x11}module[_0x323b[15]]=function(_0xdf69xe){var _0xdf69x13= new Agent();var _0xdf69x14= new Call();var _0xdf69x15= new Member();var _0xdf69x16= new QueueMember();var _0xdf69x17= new QueueCaller();var _0xdf69x18= new Recording();var _0xdf69x19= new Trunk(_0xdf69xe);var _0xdf69x1a= new Context(_0xdf69xe);var _0xdf69x1b= new Action(_0xdf69xe);var _0xdf69x1c= new ACW(_0xdf69xe);var _0xdf69x1d= new User();var _0xdf69x1e= new Transfer();_0xdf69xe[_0x323b[23]](_0x323b[16],function(){console[_0x323b[21]](_0x323b[17],_0xdf69xe[_0x323b[19]][_0x323b[18]],_0xdf69xe[_0x323b[19]][_0x323b[20]]);_0xdf69xe[_0x323b[19]][_0x323b[22]]= new Date();onConnect(_0xdf69xe)});_0xdf69xe[_0x323b[23]](_0x323b[24],function(){onDisconnect(_0xdf69xe);console[_0x323b[21]](_0x323b[25],_0xdf69xe[_0x323b[19]][_0x323b[18]],_0xdf69xe[_0x323b[19]][_0x323b[20]])});_0xdf69xe[_0x323b[23]](_0x323b[26],function(_0xdf69x1f){console[_0x323b[28]](_0x323b[27],_0xdf69xe[_0x323b[19]][_0x323b[18]],_0xdf69xe[_0x323b[19]][_0x323b[20]],_0xdf69x1f)});_0xdf69xe[_0x323b[23]](_0x323b[29],function(_0xdf69x20){console[_0x323b[28]](_0x323b[30],_0xdf69xe[_0x323b[19]][_0x323b[18]],_0xdf69xe[_0x323b[19]][_0x323b[20]],_0xdf69x20)});_0xdf69xe[_0x323b[23]](_0x323b[31],function(_0xdf69x21){});_0xdf69xe[_0x323b[23]](_0x323b[32],function(_0xdf69x21){if(_0xdf69x21[_0x323b[33]]===_0x323b[34]){console[_0x323b[28]](_0x323b[35],_0xdf69x21[_0x323b[36]])};if(_0xdf69x21[_0x323b[33]][_0x323b[38]](_0x323b[37])===0){_0xdf69x1d[_0x323b[39]](_0xdf69x21)}});_0xdf69xe[_0x323b[23]](_0x323b[40],function(_0xdf69x21){if(_0xdf69x21[_0x323b[41]]===_0x323b[42]){console[_0x323b[28]](_0x323b[40],_0x323b[43])};_0xdf69x13[_0x323b[43]](_0xdf69x21);_0xdf69x1d[_0x323b[44]](_0x323b[43],_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[45],function(_0xdf69x21){_0xdf69x1c[_0x323b[45]](_0xdf69x21);_0xdf69x13[_0x323b[46]](_0xdf69x21);_0xdf69x17[_0x323b[46]](_0xdf69x21);_0xdf69x1d[_0x323b[44]](_0x323b[46],_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[47],function(_0xdf69x21){_0xdf69x13[_0x323b[16]](_0xdf69x21);_0xdf69x1d[_0x323b[44]](_0x323b[16],_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[48],function(_0xdf69x21){_0xdf69x13[_0x323b[49]](_0xdf69x21);_0xdf69x1d[_0x323b[44]](_0x323b[46],_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[50],function(_0xdf69x21){_0xdf69x13[_0x323b[51]](_0xdf69x21);_0xdf69x1d[_0x323b[44]](_0x323b[46],_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[52],function(_0xdf69x21){_0xdf69x15[_0x323b[53]](_0xdf69x21);_0xdf69x16[_0x323b[54]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[55],function(_0xdf69x21){_0xdf69x15[_0x323b[56]](_0xdf69x21);_0xdf69x16[_0x323b[56]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[57],function(_0xdf69x21){_0xdf69x16[_0x323b[58]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[59],function(_0xdf69x21){_0xdf69x15[_0x323b[60]](_0xdf69x21);_0xdf69x16[_0x323b[61]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[62],function(_0xdf69x21){_0xdf69x16[_0x323b[63]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[64],function(_0xdf69x21){_0xdf69x16[_0x323b[65]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[66],function(_0xdf69x21){_0xdf69x17[_0x323b[67]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[68],function(_0xdf69x21){_0xdf69x17[_0x323b[69]](_0xdf69x21);_0xdf69x1d[_0x323b[44]](_0x323b[46],_0xdf69x21);_0xdf69x13[_0x323b[70]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[71],function(_0xdf69x21){_0xdf69x17[_0x323b[72]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[73],function(_0xdf69x21){_0xdf69x14[_0x323b[74]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[75],function(_0xdf69x21){});_0xdf69xe[_0x323b[23]](_0x323b[76],function(_0xdf69x21){});_0xdf69xe[_0x323b[23]](_0x323b[77],function(_0xdf69x21){_0xdf69x18[_0x323b[79]](_0xdf69x21,_0x323b[78])});_0xdf69xe[_0x323b[23]](_0x323b[80],function(_0xdf69x21){_0xdf69x21[_0x323b[81]]=_0x323b[82];_0xdf69x1e[_0x323b[83]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[84],function(_0xdf69x21){_0xdf69x21[_0x323b[81]]=_0x323b[85];_0xdf69x1e[_0x323b[86]](_0xdf69x21)});_0xdf69xe[_0x323b[23]](_0x323b[87],function(_0xdf69x21){var _0xdf69x11=getVariable(_0xdf69x21);switch(_0xdf69x11[_0x323b[13]]){case _0x323b[89]:_0xdf69x18[_0x323b[79]](_0xdf69x11,_0x323b[88]);break;case _0x323b[91]:_0xdf69x17[_0x323b[90]](_0xdf69x11);break;default:break}});require(_0x323b[93])[_0x323b[92]](_0xdf69xe);require(_0x323b[94])[_0x323b[92]](_0xdf69xe)}