ea5ab32e2100ea409d95d189af014b8c7af57465
[motion.git] / server / config / ami / index.js
1 var _0xd8c9=["\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","\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","\x75\x70\x64\x61\x74\x65\x51\x75\x65\x75\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","\x75\x70\x64\x61\x74\x65\x54\x79\x70\x65","\x68\x61\x6E\x67\x75\x70","\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","\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","\x52\x65\x63\x65\x69\x76\x65\x46\x61\x78","\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"];_0xd8c9[0];var Agent=require(_0xd8c9[1]);var Action=require(_0xd8c9[2]);var Call=require(_0xd8c9[3]);var Member=require(_0xd8c9[4]);var QueueCaller=require(_0xd8c9[5]);var QueueMember=require(_0xd8c9[6]);var Recording=require(_0xd8c9[7]);var Trunk=require(_0xd8c9[8]);var Context=require(_0xd8c9[9]);var ACW=require(_0xd8c9[10]);var User=require(_0xd8c9[11]);var Transfer=require(_0xd8c9[12]);var Network=require(_0xd8c9[13]);var Fax=require(_0xd8c9[14]);function onDisconnect(_0x9634x10){}function onConnect(_0x9634x10){}function getVariable(_0x9634x13){var _0x9634x14=Object[_0xd8c9[16]](_0x9634x13[_0xd8c9[15]]);_0x9634x13[_0xd8c9[15]]=_0x9634x14[0];return _0x9634x13}module[_0xd8c9[17]]=function(_0x9634x10){var _0x9634x15= new Agent();var _0x9634x16= new Call();var _0x9634x17= new Member();var _0x9634x18= new QueueMember();var _0x9634x19= new QueueCaller();var _0x9634x1a= new Recording();var _0x9634x1b= new Trunk(_0x9634x10);var _0x9634x1c= new Context(_0x9634x10);var _0x9634x1d= new Action(_0x9634x10);var _0x9634x1e= new ACW(_0x9634x10);var _0x9634x1f= new User();var _0x9634x20= new Transfer();var _0x9634x21= new Network(_0x9634x10);var _0x9634x22= new Fax(_0x9634x10);_0x9634x10[_0xd8c9[25]](_0xd8c9[18],function(){console[_0xd8c9[23]](_0xd8c9[19],_0x9634x10[_0xd8c9[21]][_0xd8c9[20]],_0x9634x10[_0xd8c9[21]][_0xd8c9[22]]);_0x9634x10[_0xd8c9[21]][_0xd8c9[24]]= new Date();onConnect(_0x9634x10)});_0x9634x10[_0xd8c9[25]](_0xd8c9[26],function(){onDisconnect(_0x9634x10);console[_0xd8c9[23]](_0xd8c9[27],_0x9634x10[_0xd8c9[21]][_0xd8c9[20]],_0x9634x10[_0xd8c9[21]][_0xd8c9[22]])});_0x9634x10[_0xd8c9[25]](_0xd8c9[28],function(_0x9634x23){console[_0xd8c9[30]](_0xd8c9[29],_0x9634x10[_0xd8c9[21]][_0xd8c9[20]],_0x9634x10[_0xd8c9[21]][_0xd8c9[22]],_0x9634x23)});_0x9634x10[_0xd8c9[25]](_0xd8c9[31],function(_0x9634x24){console[_0xd8c9[30]](_0xd8c9[32],_0x9634x10[_0xd8c9[21]][_0xd8c9[20]],_0x9634x10[_0xd8c9[21]][_0xd8c9[22]],_0x9634x24)});_0x9634x10[_0xd8c9[25]](_0xd8c9[33],function(_0x9634x25){});_0x9634x10[_0xd8c9[25]](_0xd8c9[34],function(_0x9634x25){if(_0x9634x25[_0xd8c9[35]]===_0xd8c9[36]){console[_0xd8c9[30]](_0xd8c9[37],_0x9634x25[_0xd8c9[38]])};if(_0x9634x25[_0xd8c9[35]][_0xd8c9[40]](_0xd8c9[39])===0){_0x9634x1f[_0xd8c9[41]](_0x9634x25)}});_0x9634x10[_0xd8c9[25]](_0xd8c9[42],function(_0x9634x25){if(_0x9634x25[_0xd8c9[43]]===_0xd8c9[44]){console[_0xd8c9[30]](_0xd8c9[42],_0xd8c9[45])};_0x9634x15[_0xd8c9[45]](_0x9634x25);_0x9634x1f[_0xd8c9[46]](_0xd8c9[45],_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[47],function(_0x9634x25){_0x9634x1a[_0xd8c9[48]](_0x9634x25);_0x9634x1e[_0xd8c9[47]](_0x9634x25);_0x9634x15[_0xd8c9[49]](_0x9634x25);_0x9634x19[_0xd8c9[49]](_0x9634x25);_0x9634x1f[_0xd8c9[46]](_0xd8c9[49],_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[50],function(_0x9634x25){_0x9634x15[_0xd8c9[18]](_0x9634x25);_0x9634x1f[_0xd8c9[46]](_0xd8c9[18],_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[51],function(_0x9634x25){console[_0xd8c9[30]](_0xd8c9[51],_0x9634x25);_0x9634x15[_0xd8c9[52]](_0x9634x25);_0x9634x1f[_0xd8c9[46]](_0xd8c9[49],_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[53],function(_0x9634x25){console[_0xd8c9[30]](_0xd8c9[53],_0x9634x25);_0x9634x15[_0xd8c9[54]](_0x9634x25);_0x9634x1f[_0xd8c9[46]](_0xd8c9[49],_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[55],function(_0x9634x25){_0x9634x17[_0xd8c9[56]](_0x9634x25);_0x9634x18[_0xd8c9[57]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[58],function(_0x9634x25){_0x9634x17[_0xd8c9[59]](_0x9634x25);_0x9634x18[_0xd8c9[59]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[60],function(_0x9634x25){_0x9634x18[_0xd8c9[61]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[62],function(_0x9634x25){_0x9634x17[_0xd8c9[63]](_0x9634x25);_0x9634x18[_0xd8c9[64]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[65],function(_0x9634x25){_0x9634x18[_0xd8c9[66]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[67],function(_0x9634x25){_0x9634x18[_0xd8c9[68]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[69],function(_0x9634x25){_0x9634x19[_0xd8c9[70]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[71],function(_0x9634x25){_0x9634x19[_0xd8c9[72]](_0x9634x25);_0x9634x1f[_0xd8c9[46]](_0xd8c9[49],_0x9634x25);_0x9634x15[_0xd8c9[73]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[74],function(_0x9634x25){_0x9634x19[_0xd8c9[75]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[76],function(_0x9634x25){_0x9634x16[_0xd8c9[77]](_0x9634x25);_0x9634x1a[_0xd8c9[78]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[79],function(_0x9634x25){});_0x9634x10[_0xd8c9[25]](_0xd8c9[80],function(_0x9634x25){console[_0xd8c9[30]](_0xd8c9[80],_0x9634x25);_0x9634x25[_0xd8c9[81]]=_0xd8c9[82];_0x9634x20[_0xd8c9[83]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[84],function(_0x9634x25){console[_0xd8c9[30]](_0xd8c9[84],_0x9634x25);_0x9634x25[_0xd8c9[81]]=_0xd8c9[85];_0x9634x20[_0xd8c9[86]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[87],function(_0x9634x25){var _0x9634x13=getVariable(_0x9634x25);switch(_0x9634x13[_0xd8c9[15]]){case _0xd8c9[89]:_0x9634x1a[_0xd8c9[88]](_0x9634x13);break;case _0xd8c9[91]:_0x9634x19[_0xd8c9[90]](_0x9634x13);break;default:break}});_0x9634x10[_0xd8c9[25]](_0xd8c9[92],function(_0x9634x25){_0x9634x1b[_0xd8c9[93]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[94],function(_0x9634x25){_0x9634x1b[_0xd8c9[95]](_0x9634x25)});_0x9634x10[_0xd8c9[25]](_0xd8c9[96],function(_0x9634x25){console[_0xd8c9[30]](_0xd8c9[97],_0x9634x25);_0x9634x22[_0xd8c9[96]](_0x9634x25)});require(_0xd8c9[99])[_0xd8c9[98]](_0x9634x10)}