c47a5f5c5b33b813789783cd5bb9996806cadfc5
[motion.git] / server / config / agi / events.js
1 var _0x75cc=["\x75\x74\x69\x6C","\x61\x67\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x4D\x65\x73\x73\x61\x67\x65","\x68\x61\x6E\x64\x6C\x65\x4D\x65\x73\x73\x61\x67\x65","\x64\x6F\x63","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x4D\x65\x73\x73\x61\x67\x65","\x61\x67\x69\x4E\x65\x77\x45\x78\x74\x65\x6E","\x73\x65\x6E\x64","\x4D\x65\x73\x73\x61\x67\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x43\x6C\x6F\x73\x65","\x46\x6F\x72\x6B\x65\x64\x20\x70\x72\x6F\x63\x65\x73\x73\x20\x63\x6C\x6F\x73\x65\x64\x20\x77\x69\x74\x68\x20\x63\x6F\x64\x65\x20\x25\x64\x20\x66\x6F\x72\x20\x73\x69\x67\x6E\x61\x6C\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x69\x6E\x66\x6F","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x45\x72\x72\x6F\x72\x20\x6F\x6E\x20\x66\x6F\x72\x6B\x65\x64\x20\x70\x72\x6F\x63\x65\x73\x73","\x4D\x65\x73\x73\x61\x67\x65\x3A","\x4E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B"];var util=require(_0x75cc[0]);var logger=require(_0x75cc[2])(_0x75cc[1]);var MailMessage=require(_0x75cc[4])[_0x75cc[3]];var FaxMessage=require(_0x75cc[4])[_0x75cc[5]];var FaxAttachment=require(_0x75cc[4])[_0x75cc[6]];var SmsMessage=require(_0x75cc[4])[_0x75cc[7]];var OpenchannelMessage=require(_0x75cc[4])[_0x75cc[8]];exports[_0x75cc[9]]= function(_0x9965x8,_0x9965x9){switch(_0x9965x8[_0x75cc[19]]){case _0x75cc[12]:return MailMessage[_0x75cc[11]](_0x9965x8[_0x75cc[10]]);case _0x75cc[13]:return FaxMessage[_0x75cc[11]](_0x9965x8[_0x75cc[10]],{include:[{model:FaxAttachment}]});case _0x75cc[14]:return SmsMessage[_0x75cc[11]](_0x9965x8[_0x75cc[10]]);case _0x75cc[15]:return OpenchannelMessage[_0x75cc[11]](_0x9965x8[_0x75cc[10]]);case _0x75cc[16]:_0x9965x9[_0x75cc[17]]({message:_0x75cc[16],evt:_0x9965x8[_0x75cc[10]]});break;default:logger[_0x75cc[20]](_0x75cc[18],_0x9965x8[_0x75cc[19]])}};exports[_0x75cc[21]]= function(_0x9965xa,_0x9965xb){logger[_0x75cc[24]](util[_0x75cc[23]](_0x75cc[22],_0x9965xa,_0x9965xb))};exports[_0x75cc[25]]= function(_0x9965xc){logger[_0x75cc[20]](_0x75cc[26]);logger[_0x75cc[20]](_0x75cc[27],_0x9965xc[_0x75cc[19]]|| _0x75cc[28]);logger[_0x75cc[20]](_0x75cc[29],_0x9965xc[_0x75cc[30]]|| _0x75cc[28])}