Built motion from commit 7db97eb.|0.0.116
[motion.git] / server / config / ami / index.js
1 var _0x7bcc=["\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","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B","\x2E\x2F\x66\x61\x78","\x2E\x2F\x64\x69\x61\x6C","\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","\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","\x75\x70\x64\x61\x74\x65\x51\x75\x65\x75\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x69\x6E\x62\x6F\x75\x6E\x64\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x69\x6E\x62\x6F\x75\x6E\x64\x54\x61\x6C\x6B\x69\x6E\x67","\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","\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","\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","\x75\x70\x64\x61\x74\x65\x54\x79\x70\x65","\x68\x61\x6E\x67\x75\x70","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x43\x6F\x6D\x70\x6C\x65\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","\x63\x72\x65\x61\x74\x65","\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","\x56\x61\x72\x53\x65\x74\x20\x66\x61\x78\x65\x72\x72\x6F\x72","\x76\x61\x6C\x75\x65","\x75\x70\x64\x61\x74\x65\x45\x72\x72\x6F\x72","\x66\x61\x78\x65\x72\x72\x6F\x72","\x56\x61\x72\x53\x65\x74\x20\x66\x61\x78\x73\x74\x61\x74\x75\x73\x73\x74\x72\x69\x6E\x67","\x66\x61\x78\x73\x74\x61\x74\x75\x73\x73\x74\x72\x69\x6E\x67","\x56\x61\x72\x53\x65\x74\x20\x66\x61\x78\x70\x61\x67\x65\x73","\x66\x61\x78\x70\x61\x67\x65\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x62\x65\x66\x6F\x72\x65\x44\x69\x61\x6C","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x72\x6F\x75\x74\x65\x69\x64","\x72\x65\x67\x69\x73\x74\x72\x79","\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x66\x61\x78\x73\x74\x61\x74\x75\x73","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x20\x45\x76\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x64\x69\x61\x6C\x62\x65\x67\x69\x6E","\x62\x65\x67\x69\x6E","\x64\x69\x61\x6C\x65\x6E\x64","\x65\x6E\x64","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x54\x61\x6C\x6B\x69\x6E\x67","\x73\x65\x6E\x64\x66\x61\x78","\x53\x65\x6E\x64\x46\x41\x58\x20\x45\x76\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x53\x65\x6E\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0x7bcc[0];var Agent=require(_0x7bcc[1]);var Action=require(_0x7bcc[2]);var Call=require(_0x7bcc[3]);var Member=require(_0x7bcc[4]);var QueueCaller=require(_0x7bcc[5]);var QueueMember=require(_0x7bcc[6]);var Recording=require(_0x7bcc[7]);var Trunk=require(_0x7bcc[8]);var Context=require(_0x7bcc[9]);var ACW=require(_0x7bcc[10]);var User=require(_0x7bcc[11]);var Transfer=require(_0x7bcc[12]);var Network=require(_0x7bcc[13]);var Fax=require(_0x7bcc[14]);var Dial=require(_0x7bcc[15]);function onDisconnect(_0x8bf0x11){}function onConnect(_0x8bf0x11){}function getVariable(_0x8bf0x14){var _0x8bf0x15=Object[_0x7bcc[17]](_0x8bf0x14[_0x7bcc[16]]);_0x8bf0x14[_0x7bcc[16]]= _0x8bf0x15[0];return _0x8bf0x14}module[_0x7bcc[18]]= function(_0x8bf0x11){var _0x8bf0x16= new Agent();var _0x8bf0x17= new Call();var _0x8bf0x18= new Member();var _0x8bf0x19= new QueueMember();var _0x8bf0x1a= new QueueCaller();var _0x8bf0x1b= new Recording();var _0x8bf0x1c= new Trunk(_0x8bf0x11);var _0x8bf0x1d= new Context(_0x8bf0x11);var _0x8bf0x1e= new Action(_0x8bf0x11);var _0x8bf0x1f= new ACW(_0x8bf0x11);var _0x8bf0x20= new User();var _0x8bf0x21= new Transfer();var _0x8bf0x22= new Network(_0x8bf0x11);var _0x8bf0x23= new Fax(_0x8bf0x11);var _0x8bf0x24= new Dial();_0x8bf0x11[_0x7bcc[26]](_0x7bcc[19],function(){console[_0x7bcc[24]](_0x7bcc[20],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[21]],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[23]]);_0x8bf0x11[_0x7bcc[22]][_0x7bcc[25]]=  new Date();onConnect(_0x8bf0x11)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[27],function(){onDisconnect(_0x8bf0x11);console[_0x7bcc[24]](_0x7bcc[28],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[21]],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[23]])});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[29],function(_0x8bf0x25){console[_0x7bcc[31]](_0x7bcc[30],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[21]],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[23]],_0x8bf0x25)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[32],function(_0x8bf0x26){console[_0x7bcc[31]](_0x7bcc[33],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[21]],_0x8bf0x11[_0x7bcc[22]][_0x7bcc[23]],_0x8bf0x26)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[34],function(_0x8bf0x27){if(_0x8bf0x27[_0x7bcc[35]]=== _0x7bcc[36]){console[_0x7bcc[31]](_0x7bcc[37],_0x8bf0x27[_0x7bcc[38]])};if(_0x8bf0x27[_0x7bcc[35]][_0x7bcc[40]](_0x7bcc[39])=== 0){_0x8bf0x20[_0x7bcc[41]](_0x8bf0x27)}});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[42],function(_0x8bf0x27){if(_0x8bf0x27[_0x7bcc[43]]=== _0x7bcc[44]){console[_0x7bcc[31]](_0x7bcc[42],_0x7bcc[45])};_0x8bf0x16[_0x7bcc[45]](_0x8bf0x27);_0x8bf0x20[_0x7bcc[46]](_0x7bcc[45],_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[47],function(_0x8bf0x27){_0x8bf0x1b[_0x7bcc[48]](_0x8bf0x27);_0x8bf0x1f[_0x7bcc[47]](_0x8bf0x27);_0x8bf0x16[_0x7bcc[49]](_0x8bf0x27);_0x8bf0x18[_0x7bcc[50]](_0x8bf0x27);_0x8bf0x1a[_0x7bcc[49]](_0x8bf0x27);_0x8bf0x20[_0x7bcc[46]](_0x7bcc[49],_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[51],function(_0x8bf0x27){_0x8bf0x16[_0x7bcc[19]](_0x8bf0x27);_0x8bf0x18[_0x7bcc[52]](_0x8bf0x27);_0x8bf0x20[_0x7bcc[46]](_0x7bcc[19],_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[53],function(_0x8bf0x27){console[_0x7bcc[31]](_0x7bcc[53],_0x8bf0x27);_0x8bf0x16[_0x7bcc[54]](_0x8bf0x27);_0x8bf0x20[_0x7bcc[46]](_0x7bcc[49],_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[55],function(_0x8bf0x27){console[_0x7bcc[31]](_0x7bcc[55],_0x8bf0x27);_0x8bf0x16[_0x7bcc[56]](_0x8bf0x27);_0x8bf0x20[_0x7bcc[46]](_0x7bcc[49],_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[57],function(_0x8bf0x27){_0x8bf0x19[_0x7bcc[58]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[59],function(_0x8bf0x27){_0x8bf0x19[_0x7bcc[60]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[61],function(_0x8bf0x27){_0x8bf0x19[_0x7bcc[62]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[63],function(_0x8bf0x27){_0x8bf0x19[_0x7bcc[64]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[65],function(_0x8bf0x27){_0x8bf0x19[_0x7bcc[66]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[67],function(_0x8bf0x27){_0x8bf0x19[_0x7bcc[68]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[69],function(_0x8bf0x27){_0x8bf0x1a[_0x7bcc[70]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[71],function(_0x8bf0x27){_0x8bf0x1a[_0x7bcc[72]](_0x8bf0x27);_0x8bf0x20[_0x7bcc[46]](_0x7bcc[49],_0x8bf0x27);_0x8bf0x16[_0x7bcc[73]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[74],function(_0x8bf0x27){_0x8bf0x1a[_0x7bcc[75]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[76],function(_0x8bf0x27){_0x8bf0x17[_0x7bcc[77]](_0x8bf0x27);_0x8bf0x1b[_0x7bcc[78]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[79],function(_0x8bf0x27){_0x8bf0x24[_0x7bcc[79]](_0x8bf0x27);_0x8bf0x18[_0x7bcc[80]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[81],function(_0x8bf0x27){console[_0x7bcc[31]](_0x7bcc[81],_0x8bf0x27);_0x8bf0x27[_0x7bcc[82]]= _0x7bcc[83];_0x8bf0x21[_0x7bcc[84]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[85],function(_0x8bf0x27){console[_0x7bcc[31]](_0x7bcc[85],_0x8bf0x27);_0x8bf0x27[_0x7bcc[82]]= _0x7bcc[86];_0x8bf0x21[_0x7bcc[87]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[88],function(_0x8bf0x27){var _0x8bf0x14=getVariable(_0x8bf0x27);switch(_0x8bf0x14[_0x7bcc[16]]){case _0x7bcc[90]:_0x8bf0x1b[_0x7bcc[89]](_0x8bf0x14);break;case _0x7bcc[92]:_0x8bf0x1a[_0x7bcc[91]](_0x8bf0x14);break;case _0x7bcc[96]:console[_0x7bcc[31]](_0x7bcc[93],_0x8bf0x27);if(_0x8bf0x27[_0x7bcc[94]]){_0x8bf0x23[_0x7bcc[95]](_0x8bf0x27)};break;case _0x7bcc[98]:console[_0x7bcc[31]](_0x7bcc[97],_0x8bf0x27);break;case _0x7bcc[100]:console[_0x7bcc[31]](_0x7bcc[99],_0x8bf0x27);break;case _0x7bcc[103]:if(_0x8bf0x27[_0x7bcc[94]]){_0x8bf0x24[_0x7bcc[102]]({uniqueid:_0x8bf0x27[_0x7bcc[101]],routeId:_0x8bf0x27[_0x7bcc[94]]})};break;default:break}});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[104],function(_0x8bf0x27){_0x8bf0x1c[_0x7bcc[105]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[106],function(_0x8bf0x27){_0x8bf0x1c[_0x7bcc[107]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[108],function(_0x8bf0x27){_0x8bf0x23[_0x7bcc[108]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[109],function(_0x8bf0x27){if(_0x8bf0x27[_0x7bcc[110]]=== _0x7bcc[111]){console[_0x7bcc[31]](_0x7bcc[112],_0x8bf0x27);_0x8bf0x23[_0x7bcc[113]](_0x8bf0x27)}});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[114],function(_0x8bf0x27){_0x8bf0x24[_0x7bcc[115]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[116],function(_0x8bf0x27){_0x8bf0x24[_0x7bcc[117]](_0x8bf0x27);_0x8bf0x18[_0x7bcc[118]](_0x8bf0x27)});_0x8bf0x11[_0x7bcc[26]](_0x7bcc[119],function(_0x8bf0x27){console[_0x7bcc[31]](_0x7bcc[120],_0x8bf0x27);_0x8bf0x23[_0x7bcc[121]](_0x8bf0x27)});require(_0x7bcc[123])[_0x7bcc[122]](_0x8bf0x11)}