Built motion from commit b6cf875.|1.0.15
[motion.git] / server / config / ami / db / trunk.js
index a245306..e308185 100644 (file)
@@ -1 +1 @@
-var _0xbd1b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x6F\x6C\x76\x65","\x54\x72\x75\x6E\x6B\x20\x2D\x20\x72\x65\x67\x69\x73\x74\x72\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x6F\x6D\x61\x69\x6E","\x75\x70\x64\x61\x74\x65","\x54\x72\x75\x6E\x6B\x20\x2D\x20\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x2F","\x73\x70\x6C\x69\x74","\x70\x65\x65\x72"];_0xbd1b[0];var BPromise=require(_0xbd1b[1]);var Trunk=require(_0xbd1b[3])[_0xbd1b[2]];var trunkStates={};module[_0xbd1b[4]]= function(){return {registry:function(_0x6f21x4){return function(_0x6f21x5){if(trunkStates[_0x6f21x4[_0xbd1b[5]]]&& trunkStates[_0x6f21x4[_0xbd1b[5]]]=== _0x6f21x4[_0xbd1b[6]]){return BPromise[_0xbd1b[7]]()}else {trunkStates[_0x6f21x4[_0xbd1b[5]]]= _0x6f21x4[_0xbd1b[6]]};return Trunk[_0xbd1b[12]]({status:_0x6f21x4[_0xbd1b[6]]},{where:{defaultuser:_0x6f21x4[_0xbd1b[5]],host:_0x6f21x4[_0xbd1b[11]],active:true},individualHooks:true,raw:true})[_0xbd1b[10]](function(_0x6f21x6){console[_0xbd1b[9]](_0xbd1b[8],_0x6f21x6)})}},peerstatus:function(_0x6f21x4){return function(_0x6f21x5){return Trunk[_0xbd1b[12]]({peerstatus:_0x6f21x4[_0xbd1b[14]]},{where:{name:_0x6f21x4[_0xbd1b[17]][_0xbd1b[16]](_0xbd1b[15])[1]},individualHooks:true,raw:true})[_0xbd1b[10]](function(_0x6f21x6){console[_0xbd1b[9]](_0xbd1b[13],_0x6f21x6)})}}}}
\ No newline at end of file
+var _0x436b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x6F\x6C\x76\x65","\x54\x72\x75\x6E\x6B\x20\x2D\x20\x72\x65\x67\x69\x73\x74\x72\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x6F\x6D\x61\x69\x6E","\x75\x70\x64\x61\x74\x65","\x54\x72\x75\x6E\x6B\x20\x2D\x20\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x2F","\x73\x70\x6C\x69\x74","\x70\x65\x65\x72"];_0x436b[0];var BPromise=require(_0x436b[1]);var Trunk=require(_0x436b[3])[_0x436b[2]];var trunkStates={};module[_0x436b[4]]= function(){return {registry:function(_0xcf51x4){return function(_0xcf51x5){if(trunkStates[_0xcf51x4[_0x436b[5]]]&& trunkStates[_0xcf51x4[_0x436b[5]]]=== _0xcf51x4[_0x436b[6]]){return BPromise[_0x436b[7]]()}else {trunkStates[_0xcf51x4[_0x436b[5]]]= _0xcf51x4[_0x436b[6]]};return Trunk[_0x436b[12]]({status:_0xcf51x4[_0x436b[6]]},{where:{defaultuser:_0xcf51x4[_0x436b[5]],host:_0xcf51x4[_0x436b[11]],active:true},individualHooks:true,raw:true})[_0x436b[10]](function(_0xcf51x6){console[_0x436b[9]](_0x436b[8],_0xcf51x6)})}},peerstatus:function(_0xcf51x4){return function(_0xcf51x5){return Trunk[_0x436b[12]]({peerstatus:_0xcf51x4[_0x436b[14]]},{where:{name:_0xcf51x4[_0x436b[17]][_0x436b[16]](_0x436b[15])[1]},individualHooks:true,raw:true})[_0x436b[10]](function(_0xcf51x6){console[_0x436b[9]](_0x436b[13],_0xcf51x6)})}}}}
\ No newline at end of file