Built motion from commit 1038d87.|0.0.141
[motion.git] / server / config / ami / index.js
index 71b1e80..4e495d5 100644 (file)
@@ -1 +1 @@
-var _0x12b7=["\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"];_0x12b7[0];var Agent=require(_0x12b7[1]);var Action=require(_0x12b7[2]);var Call=require(_0x12b7[3]);var Member=require(_0x12b7[4]);var QueueCaller=require(_0x12b7[5]);var QueueMember=require(_0x12b7[6]);var Recording=require(_0x12b7[7]);var Trunk=require(_0x12b7[8]);var Context=require(_0x12b7[9]);var ACW=require(_0x12b7[10]);var User=require(_0x12b7[11]);var Transfer=require(_0x12b7[12]);function onDisconnect(_0xe052xe){}function onConnect(_0xe052xe){}function getVariable(_0xe052x11){var _0xe052x12=Object[_0x12b7[14]](_0xe052x11[_0x12b7[13]]);_0xe052x11[_0x12b7[13]]=_0xe052x12[0];return _0xe052x11}module[_0x12b7[15]]=function(_0xe052xe){var _0xe052x13= new Agent();var _0xe052x14= new Call();var _0xe052x15= new Member();var _0xe052x16= new QueueMember();var _0xe052x17= new QueueCaller();var _0xe052x18= new Recording();var _0xe052x19= new Trunk(_0xe052xe);var _0xe052x1a= new Context(_0xe052xe);var _0xe052x1b= new Action(_0xe052xe);var _0xe052x1c= new ACW(_0xe052xe);var _0xe052x1d= new User();var _0xe052x1e= new Transfer();_0xe052xe[_0x12b7[23]](_0x12b7[16],function(){console[_0x12b7[21]](_0x12b7[17],_0xe052xe[_0x12b7[19]][_0x12b7[18]],_0xe052xe[_0x12b7[19]][_0x12b7[20]]);_0xe052xe[_0x12b7[19]][_0x12b7[22]]= new Date();onConnect(_0xe052xe)});_0xe052xe[_0x12b7[23]](_0x12b7[24],function(){onDisconnect(_0xe052xe);console[_0x12b7[21]](_0x12b7[25],_0xe052xe[_0x12b7[19]][_0x12b7[18]],_0xe052xe[_0x12b7[19]][_0x12b7[20]])});_0xe052xe[_0x12b7[23]](_0x12b7[26],function(_0xe052x1f){console[_0x12b7[28]](_0x12b7[27],_0xe052xe[_0x12b7[19]][_0x12b7[18]],_0xe052xe[_0x12b7[19]][_0x12b7[20]],_0xe052x1f)});_0xe052xe[_0x12b7[23]](_0x12b7[29],function(_0xe052x20){console[_0x12b7[28]](_0x12b7[30],_0xe052xe[_0x12b7[19]][_0x12b7[18]],_0xe052xe[_0x12b7[19]][_0x12b7[20]],_0xe052x20)});_0xe052xe[_0x12b7[23]](_0x12b7[31],function(_0xe052x21){});_0xe052xe[_0x12b7[23]](_0x12b7[32],function(_0xe052x21){if(_0xe052x21[_0x12b7[33]]===_0x12b7[34]){console[_0x12b7[28]](_0x12b7[35],_0xe052x21[_0x12b7[36]])};if(_0xe052x21[_0x12b7[33]][_0x12b7[38]](_0x12b7[37])===0){_0xe052x1d[_0x12b7[39]](_0xe052x21)}});_0xe052xe[_0x12b7[23]](_0x12b7[40],function(_0xe052x21){if(_0xe052x21[_0x12b7[41]]===_0x12b7[42]){console[_0x12b7[28]](_0x12b7[40],_0x12b7[43])};_0xe052x13[_0x12b7[43]](_0xe052x21);_0xe052x1d[_0x12b7[44]](_0x12b7[43],_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[45],function(_0xe052x21){_0xe052x1c[_0x12b7[45]](_0xe052x21);_0xe052x13[_0x12b7[46]](_0xe052x21);_0xe052x17[_0x12b7[46]](_0xe052x21);_0xe052x1d[_0x12b7[44]](_0x12b7[46],_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[47],function(_0xe052x21){_0xe052x13[_0x12b7[16]](_0xe052x21);_0xe052x1d[_0x12b7[44]](_0x12b7[16],_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[48],function(_0xe052x21){_0xe052x13[_0x12b7[49]](_0xe052x21);_0xe052x1d[_0x12b7[44]](_0x12b7[46],_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[50],function(_0xe052x21){_0xe052x13[_0x12b7[51]](_0xe052x21);_0xe052x1d[_0x12b7[44]](_0x12b7[46],_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[52],function(_0xe052x21){_0xe052x15[_0x12b7[53]](_0xe052x21);_0xe052x16[_0x12b7[54]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[55],function(_0xe052x21){_0xe052x15[_0x12b7[56]](_0xe052x21);_0xe052x16[_0x12b7[56]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[57],function(_0xe052x21){_0xe052x16[_0x12b7[58]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[59],function(_0xe052x21){_0xe052x15[_0x12b7[60]](_0xe052x21);_0xe052x16[_0x12b7[61]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[62],function(_0xe052x21){_0xe052x16[_0x12b7[63]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[64],function(_0xe052x21){_0xe052x16[_0x12b7[65]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[66],function(_0xe052x21){_0xe052x17[_0x12b7[67]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[68],function(_0xe052x21){_0xe052x17[_0x12b7[69]](_0xe052x21);_0xe052x1d[_0x12b7[44]](_0x12b7[46],_0xe052x21);_0xe052x13[_0x12b7[70]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[71],function(_0xe052x21){_0xe052x17[_0x12b7[72]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[73],function(_0xe052x21){_0xe052x14[_0x12b7[74]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[75],function(_0xe052x21){});_0xe052xe[_0x12b7[23]](_0x12b7[76],function(_0xe052x21){});_0xe052xe[_0x12b7[23]](_0x12b7[77],function(_0xe052x21){_0xe052x18[_0x12b7[79]](_0xe052x21,_0x12b7[78])});_0xe052xe[_0x12b7[23]](_0x12b7[80],function(_0xe052x21){_0xe052x21[_0x12b7[81]]=_0x12b7[82];_0xe052x1e[_0x12b7[83]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[84],function(_0xe052x21){_0xe052x21[_0x12b7[81]]=_0x12b7[85];_0xe052x1e[_0x12b7[86]](_0xe052x21)});_0xe052xe[_0x12b7[23]](_0x12b7[87],function(_0xe052x21){var _0xe052x11=getVariable(_0xe052x21);switch(_0xe052x11[_0x12b7[13]]){case _0x12b7[89]:_0xe052x18[_0x12b7[79]](_0xe052x11,_0x12b7[88]);break;case _0x12b7[91]:_0xe052x17[_0x12b7[90]](_0xe052x11);break;default:break}});require(_0x12b7[93])[_0x12b7[92]](_0xe052xe);require(_0x12b7[94])[_0x12b7[92]](_0xe052xe)}
\ No newline at end of file
+var _0x2f7b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x61\x74\x68","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x61\x6D\x69","\x6A\x6F\x69\x6E","\x66\x6F\x72\x6B","\x65\x76\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x41\x63\x74\x69\x6F\x6E\x2E\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6F\x70\x74\x69\x6F\x6E\x73","\x62\x6F\x64\x79","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x2E\x62\x65\x66\x6F\x72\x65\x43\x72\x65\x61\x74\x65","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x2E\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x75\x73\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x2E\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x2E\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x46\x61\x78\x52\x6F\x6F\x6D\x2E\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x2E\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x2E\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x2E\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x2f7b[0];const path=require(_0x2f7b[1]);const cp=require(_0x2f7b[2]);const config=require(_0x2f7b[3]);const User=require(_0x2f7b[5])[_0x2f7b[4]];const Action=require(_0x2f7b[5])[_0x2f7b[6]];const ReportMember=require(_0x2f7b[5])[_0x2f7b[7]];const FaxMessage=require(_0x2f7b[5])[_0x2f7b[8]];const ReportFax=require(_0x2f7b[5])[_0x2f7b[9]];const FaxRoom=require(_0x2f7b[5])[_0x2f7b[10]];const FaxAccount=require(_0x2f7b[5])[_0x2f7b[11]];var cpAmi=cp[_0x2f7b[14]](path[_0x2f7b[13]](__dirname,_0x2f7b[12]));Action[_0x2f7b[21]](function(_0xf473xc,_0xf473xd){_0xf473xc[_0x2f7b[16]][_0x2f7b[15]]= _0x2f7b[17];_0xf473xc[_0x2f7b[16]][_0x2f7b[18]]= {body:_0xf473xd[_0x2f7b[19]]|| null};cpAmi[_0x2f7b[20]](_0xf473xc[_0x2f7b[16]])});ReportMember[_0x2f7b[21]](function(_0xf473xc,_0xf473xd){_0xf473xc[_0x2f7b[16]][_0x2f7b[15]]= _0x2f7b[22];cpAmi[_0x2f7b[20]](_0xf473xc[_0x2f7b[16]])});FaxMessage[_0x2f7b[21]](function(_0xf473xc,_0xf473xd){var _0xf473xe={message:_0x2f7b[23],doc:_0xf473xc[_0x2f7b[16]],options:{user:_0xf473xd[_0x2f7b[24]]|| null}};cpAmi[_0x2f7b[20]](_0xf473xe)});FaxMessage[_0x2f7b[27]](function(_0xf473xc,_0xf473xd){var _0xf473xe={message:_0x2f7b[25],doc:_0xf473xc[_0x2f7b[16]],options:{user:_0xf473xd[_0x2f7b[24]]|| null,changed:_0xf473xc[_0x2f7b[26]]()}};cpAmi[_0x2f7b[20]](_0xf473xe)});ReportFax[_0x2f7b[27]](function(_0xf473xc,_0xf473xd){var _0xf473xe={message:_0x2f7b[28],doc:_0xf473xc[_0x2f7b[16]],options:{user:_0xf473xd[_0x2f7b[24]]|| null,changed:_0xf473xc[_0x2f7b[26]]()}};cpAmi[_0x2f7b[20]](_0xf473xe)});FaxRoom[_0x2f7b[27]](function(_0xf473xc,_0xf473xd){var _0xf473xe={message:_0x2f7b[29],doc:_0xf473xc[_0x2f7b[16]],options:{user:_0xf473xd[_0x2f7b[24]]|| null,changed:_0xf473xc[_0x2f7b[26]]()}};cpAmi[_0x2f7b[20]](_0xf473xe)});FaxAccount[_0x2f7b[21]](function(_0xf473xc,_0xf473xd){var _0xf473xe={message:_0x2f7b[30],doc:_0xf473xc[_0x2f7b[16]],options:{user:_0xf473xd[_0x2f7b[24]]|| null}};cpAmi[_0x2f7b[20]](_0xf473xe)});FaxAccount[_0x2f7b[27]](function(_0xf473xc,_0xf473xd){var _0xf473xe={message:_0x2f7b[31],doc:_0xf473xc[_0x2f7b[16]],options:{user:_0xf473xd[_0x2f7b[24]]|| null,changed:_0xf473xc[_0x2f7b[26]]()}};cpAmi[_0x2f7b[20]](_0xf473xe)});FaxAccount[_0x2f7b[33]](function(_0xf473xc,_0xf473xd){var _0xf473xe={message:_0x2f7b[32],doc:_0xf473xc[_0x2f7b[16]],options:{user:_0xf473xd[_0x2f7b[24]]|| null}};cpAmi[_0x2f7b[20]](_0xf473xe)});module[_0x2f7b[34]]= cpAmi
\ No newline at end of file