Built motion from commit 3594e56.|0.0.120
[motion.git] / server / config / tools / user.js
index c2a0ea8..aa92bad 100644 (file)
@@ -1 +1 @@
-var _0x9b2d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\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","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x68\x61\x6E\x53\x70\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x63\x68\x61\x6E\x73\x70\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x63\x61\x74\x63\x68","\x61\x6C\x6C","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x73\x61\x76\x65","\x65\x78\x74\x65\x6E","\x5F\x70\x72\x65\x76\x69\x6F\x75\x73\x44\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F","\x67\x65\x74\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x44\x69\x61\x6C","\x48\x61\x6E\x67\x75\x70","","\x65\x78\x70\x6F\x72\x74\x73"];_0x9b2d[0];var fs=require(_0x9b2d[1]);var util=require(_0x9b2d[2]);var path=require(_0x9b2d[3]);var config=require(_0x9b2d[4]);var UserModel=require(_0x9b2d[6])[_0x9b2d[5]];var VoiceExtension=require(_0x9b2d[6])[_0x9b2d[7]];var ChanSpy=require(_0x9b2d[6])[_0x9b2d[8]];var sequelize=require(_0x9b2d[6])[_0x9b2d[9]];function User(){UserModel[_0x9b2d[11]](function(_0x8056xa){createCallerID(_0x8056xa);createExtension(_0x8056xa);if(_0x8056xa[_0x9b2d[10]]){createChanspy(_0x8056xa)}});UserModel[_0x9b2d[18]](function(_0x8056xa){if(!_0x8056xa[_0x9b2d[13]](_0x9b2d[12])&&!_0x8056xa[_0x9b2d[13]](_0x9b2d[14])){updateExtension(_0x8056xa);if(_0x8056xa[_0x9b2d[15]]===_0x9b2d[16]){console[_0x9b2d[17]](_0x8056xa[_0x9b2d[12]])};createCallerID(_0x8056xa);if((_0x8056xa[_0x9b2d[10]]&&_0x8056xa[_0x9b2d[13]](_0x9b2d[10]))){createChanspy(_0x8056xa)}else {if(_0x8056xa[_0x9b2d[10]]&&!_0x8056xa[_0x9b2d[13]](_0x9b2d[10])&&_0x8056xa[_0x9b2d[13]](_0x9b2d[15])){deleteChanSpy(_0x8056xa);createChanspy(_0x8056xa)}else {if(!_0x8056xa[_0x9b2d[10]]&&_0x8056xa[_0x9b2d[13]](_0x9b2d[10])){deleteChanSpy(_0x8056xa)}}}}})}function createChanspy(_0x8056xa){return sequelize[_0x9b2d[38]](function(_0x8056xd){return ChanSpy[_0x9b2d[37]]()[_0x9b2d[36]](function(_0x8056xe){var _0x8056xf=[];_0x8056xe[_0x9b2d[35]](function(_0x8056x10){var _0x8056x11=[];var _0x8056x12=1;if(_0x8056x10[_0x9b2d[21]]){_0x8056x11[_0x9b2d[30]]({context:_0x9b2d[22],exten:util[_0x9b2d[25]](_0x9b2d[23],_0x8056x10[_0x9b2d[24]],_0x8056xa[_0x9b2d[15]]),priority:_0x8056x12,app:_0x9b2d[26],appdata:_0x8056x10[_0x9b2d[27]],UserId:_0x8056xa[_0x9b2d[28]],ChanSpyId:_0x8056x10[_0x9b2d[28]],type:_0x9b2d[29]});_0x8056x12++};_0x8056x11[_0x9b2d[30]]({context:_0x9b2d[22],exten:util[_0x9b2d[25]](_0x9b2d[23],_0x8056x10[_0x9b2d[24]],_0x8056xa[_0x9b2d[15]]),priority:_0x8056x12,app:_0x9b2d[8],appdata:util[_0x9b2d[25]](_0x9b2d[31],_0x8056xa[_0x9b2d[15]],_0x8056x10[_0x9b2d[32]]),UserId:_0x8056xa[_0x9b2d[28]],ChanSpyId:_0x8056x10[_0x9b2d[28]],type:_0x9b2d[29]});_0x8056x12=1;if(_0x8056x10[_0x9b2d[21]]){_0x8056x11[_0x9b2d[30]]({context:_0x9b2d[22],exten:util[_0x9b2d[25]](_0x9b2d[23],_0x8056x10[_0x9b2d[24]],_0x8056xa[_0x9b2d[33]]),priority:_0x8056x12,app:_0x9b2d[26],appdata:_0x8056x10[_0x9b2d[27]],UserId:_0x8056xa[_0x9b2d[28]],ChanSpyId:_0x8056x10[_0x9b2d[28]],type:_0x9b2d[29]});_0x8056x12++};_0x8056x11[_0x9b2d[30]]({context:_0x9b2d[22],exten:util[_0x9b2d[25]](_0x9b2d[23],_0x8056x10[_0x9b2d[24]],_0x8056xa[_0x9b2d[33]]),priority:_0x8056x12,app:_0x9b2d[8],appdata:util[_0x9b2d[25]](_0x9b2d[31],_0x8056xa[_0x9b2d[15]],_0x8056x10[_0x9b2d[32]]),UserId:_0x8056xa[_0x9b2d[28]],ChanSpyId:_0x8056x10[_0x9b2d[28]],type:_0x9b2d[29]});_0x8056xf[_0x9b2d[30]](VoiceExtension[_0x9b2d[34]](_0x8056x11,{transaction:_0x8056xd}))});return _0x8056xf})[_0x9b2d[20]]()})[_0x9b2d[19]](function(_0x8056xc){console[_0x9b2d[17]](_0x8056xc)})}function deleteChanSpy(_0x8056xa){return sequelize[_0x9b2d[38]](function(_0x8056xd){return VoiceExtension[_0x9b2d[39]]({where:{UserId:_0x8056xa[_0x9b2d[28]],ChanSpyId:{$ne:null}},transaction:_0x8056xd})})[_0x9b2d[19]](function(_0x8056xc){console[_0x9b2d[17]](_0x8056xc)})}function createCallerID(_0x8056xa){if(_0x8056xa[_0x9b2d[40]]&&_0x8056xa[_0x9b2d[33]]){_0x8056xa[_0x9b2d[41]]=util[_0x9b2d[25]](_0x9b2d[42],_0x8056xa[_0x9b2d[40]],_0x8056xa[_0x9b2d[33]]);_0x8056xa[_0x9b2d[43]]()};return}function updateExtension(_0x8056xa){if(_0x8056xa[_0x9b2d[13]](_0x9b2d[15])){_0x8056xa[_0x9b2d[48]]()[_0x9b2d[36]](function(_0x8056x16){_0x8056x16[_0x9b2d[35]](function(_0x8056x10){_0x8056x10[_0x9b2d[44]]=(_0x8056x10[_0x9b2d[44]]===_0x8056xa[_0x9b2d[45]][_0x9b2d[33]])?_0x8056xa[_0x9b2d[33]]:_0x8056xa[_0x9b2d[15]];_0x8056x10[_0x9b2d[46]]=_0x9b2d[47]+_0x8056xa[_0x9b2d[15]];_0x8056x10[_0x9b2d[43]]()})})[_0x9b2d[19]](function(_0x8056xc){console[_0x9b2d[17]](_0x8056xc)})}}function createExtension(_0x8056xa){if(_0x8056xa[_0x9b2d[33]]){var _0x8056x18=[{context:_0x9b2d[22],exten:_0x8056xa[_0x9b2d[33]],priority:1,app:_0x9b2d[49],appdata:_0x9b2d[50],UserId:_0x8056xa[_0x9b2d[28]],type:_0x9b2d[29]},{context:_0x9b2d[22],exten:_0x8056xa[_0x9b2d[33]],priority:2,app:_0x9b2d[51],appdata:_0x9b2d[47]+_0x8056xa[_0x9b2d[15]],UserId:_0x8056xa[_0x9b2d[28]],type:_0x9b2d[29]},{context:_0x9b2d[22],exten:_0x8056xa[_0x9b2d[33]],priority:3,app:_0x9b2d[52],appdata:_0x9b2d[53],UserId:_0x8056xa[_0x9b2d[28]],type:_0x9b2d[29]},{context:_0x9b2d[22],exten:_0x8056xa[_0x9b2d[15]],priority:1,app:_0x9b2d[49],appdata:_0x9b2d[50],UserId:_0x8056xa[_0x9b2d[28]],type:_0x9b2d[29]},{context:_0x9b2d[22],exten:_0x8056xa[_0x9b2d[15]],priority:2,app:_0x9b2d[51],appdata:_0x9b2d[47]+_0x8056xa[_0x9b2d[15]],UserId:_0x8056xa[_0x9b2d[28]],type:_0x9b2d[29]},{context:_0x9b2d[22],exten:_0x8056xa[_0x9b2d[15]],priority:3,app:_0x9b2d[52],appdata:_0x9b2d[53],UserId:_0x8056xa[_0x9b2d[28]],type:_0x9b2d[29]}];return VoiceExtension[_0x9b2d[34]](_0x8056x18)[_0x9b2d[19]](function(_0x8056xc){console[_0x9b2d[17]](_0x8056xc)})}}module[_0x9b2d[54]]=User
\ No newline at end of file
+var _0xb64d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\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","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x68\x61\x6E\x53\x70\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x5F\x63\x68\x61\x6E\x67\x65\x64","\x63\x68\x61\x6E\x73\x70\x79","\x74\x68\x65\x6E","\x61\x6C\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x74\x68\x65\x20\x69\x6E\x74\x65\x72\x6E\x61\x6C\x20\x6F\x66\x20\x61\x20\x55\x73\x65\x72\x2F\x41\x67\x65\x6E\x74\x2F\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x6C\x61\x73\x74\x4C\x6F\x67\x69\x6E\x41\x74","\x6F\x6E\x6C\x69\x6E\x65","\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x44\x65\x6C\x65\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x64\x65\x73\x74\x72\x6F\x79","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x61\x6C\x6C\x65\x72\x49\x44\x2E\x2E\x2E","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x73\x61\x76\x65","\x55\x70\x64\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x2E\x2E","\x65\x78\x74\x65\x6E","\x5F","\x61\x70\x70","\x44\x69\x61\x6C","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F","\x2C\x74\x54\x78\x58","\x67\x65\x74\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x2E\x2E","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x48\x61\x6E\x67\x75\x70","","\x65\x78\x70\x6F\x72\x74\x73"];_0xb64d[0];var fs=require(_0xb64d[1]);var util=require(_0xb64d[2]);var path=require(_0xb64d[3]);var config=require(_0xb64d[4]);var UserModel=require(_0xb64d[6])[_0xb64d[5]];var VoiceExtension=require(_0xb64d[6])[_0xb64d[7]];var ChanSpy=require(_0xb64d[6])[_0xb64d[8]];var sequelize=require(_0xb64d[6])[_0xb64d[9]];var Promise=require(_0xb64d[10]);function User(){UserModel[_0xb64d[16]](function(_0xd54cxb,_0xd54cxc){delete _0xd54cxb[_0xb64d[12]][_0xb64d[11]];return Promise[_0xb64d[15]]([])[_0xb64d[14]](createCallerID(_0xd54cxb,_0xd54cxc))[_0xb64d[14]](createExtension(_0xd54cxb,_0xd54cxc))[_0xb64d[14]](function(){if(_0xd54cxb[_0xb64d[13]]){createChanspy(_0xd54cxb,_0xd54cxc)}})});UserModel[_0xb64d[19]](function(_0xd54cxb,_0xd54cxc){if(_0xd54cxb[_0xb64d[17]](_0xb64d[11])){throw  new sequelize.Error(_0xb64d[18])}});UserModel[_0xb64d[26]](function(_0xd54cxb,_0xd54cxc){if(!_0xd54cxb[_0xb64d[17]](_0xb64d[20])&& !_0xd54cxb[_0xb64d[17]](_0xb64d[21])&& !_0xd54cxb[_0xb64d[17]](_0xb64d[22])&& !_0xd54cxb[_0xb64d[17]](_0xb64d[23])&& !_0xd54cxb[_0xb64d[17]](_0xb64d[24])){return Promise[_0xb64d[15]]([])[_0xb64d[14]](updateExtension(_0xd54cxb,_0xd54cxc))[_0xb64d[14]](createCallerID(_0xd54cxb,_0xd54cxc))[_0xb64d[14]](function(){if((_0xd54cxb[_0xb64d[13]]&& _0xd54cxb[_0xb64d[17]](_0xb64d[13]))){createChanspy(_0xd54cxb,_0xd54cxc)}})[_0xb64d[14]](function(){if(_0xd54cxb[_0xb64d[13]]&& !_0xd54cxb[_0xb64d[17]](_0xb64d[13])&& _0xd54cxb[_0xb64d[17]](_0xb64d[25])){deleteChanSpy(_0xd54cxb,_0xd54cxc)}})[_0xb64d[14]](function(){if(_0xd54cxb[_0xb64d[13]]&& !_0xd54cxb[_0xb64d[17]](_0xb64d[13])&& _0xd54cxb[_0xb64d[17]](_0xb64d[25])){createChanspy(_0xd54cxb,_0xd54cxc)}})[_0xb64d[14]](function(){if(!_0xd54cxb[_0xb64d[13]]&& _0xd54cxb[_0xb64d[17]](_0xb64d[13])){deleteChanSpy(_0xd54cxb,_0xd54cxc)}})}})}function createChanspy(_0xd54cxb,_0xd54cxc){console[_0xb64d[28]](_0xb64d[27]);return function(){return ChanSpy[_0xb64d[44]]()[_0xb64d[14]](function(_0xd54cxe){var _0xd54cxf=[];_0xd54cxe[_0xb64d[43]](function(_0xd54cx10){var _0xd54cx11=[];var _0xd54cx12=1;if(_0xd54cx10[_0xb64d[29]]){_0xd54cx11[_0xb64d[38]]({context:_0xb64d[30],exten:util[_0xb64d[33]](_0xb64d[31],_0xd54cx10[_0xb64d[32]],_0xd54cxb[_0xb64d[25]]),priority:_0xd54cx12,app:_0xb64d[34],appdata:_0xd54cx10[_0xb64d[35]],UserId:_0xd54cxb[_0xb64d[36]],ChanSpyId:_0xd54cx10[_0xb64d[36]],type:_0xb64d[37]});_0xd54cx12++};_0xd54cx11[_0xb64d[38]]({context:_0xb64d[30],exten:util[_0xb64d[33]](_0xb64d[31],_0xd54cx10[_0xb64d[32]],_0xd54cxb[_0xb64d[25]]),priority:_0xd54cx12,app:_0xb64d[8],appdata:util[_0xb64d[33]](_0xb64d[39],_0xd54cxb[_0xb64d[25]],_0xd54cx10[_0xb64d[40]]),UserId:_0xd54cxb[_0xb64d[36]],ChanSpyId:_0xd54cx10[_0xb64d[36]],type:_0xb64d[37]});_0xd54cx12= 1;if(_0xd54cx10[_0xb64d[29]]){_0xd54cx11[_0xb64d[38]]({context:_0xb64d[30],exten:util[_0xb64d[33]](_0xb64d[31],_0xd54cx10[_0xb64d[32]],_0xd54cxb[_0xb64d[11]]),priority:_0xd54cx12,app:_0xb64d[34],appdata:_0xd54cx10[_0xb64d[35]],UserId:_0xd54cxb[_0xb64d[36]],ChanSpyId:_0xd54cx10[_0xb64d[36]],type:_0xb64d[37]});_0xd54cx12++};_0xd54cx11[_0xb64d[38]]({context:_0xb64d[30],exten:util[_0xb64d[33]](_0xb64d[31],_0xd54cx10[_0xb64d[32]],_0xd54cxb[_0xb64d[11]]),priority:_0xd54cx12,app:_0xb64d[8],appdata:util[_0xb64d[33]](_0xb64d[39],_0xd54cxb[_0xb64d[25]],_0xd54cx10[_0xb64d[40]]),UserId:_0xd54cxb[_0xb64d[36]],ChanSpyId:_0xd54cx10[_0xb64d[36]],type:_0xb64d[37]});_0xd54cxf[_0xb64d[38]](VoiceExtension[_0xb64d[42]](_0xd54cx11,{transaction:_0xd54cxc[_0xb64d[41]]}))});return _0xd54cxf})[_0xb64d[15]]()}}function deleteChanSpy(_0xd54cxb,_0xd54cxc){console[_0xb64d[28]](_0xb64d[45]);return function(){return VoiceExtension[_0xb64d[46]]({where:{UserId:_0xd54cxb[_0xb64d[36]],ChanSpyId:{$ne:null}},transaction:_0xd54cxc[_0xb64d[41]]})}}function createCallerID(_0xd54cxb,_0xd54cxc){return function(){if(_0xd54cxb[_0xb64d[47]]&& _0xd54cxb[_0xb64d[11]]&& _0xd54cxb[_0xb64d[17]](_0xb64d[47])){console[_0xb64d[28]](_0xb64d[48]);_0xd54cxb[_0xb64d[22]]= util[_0xb64d[33]](_0xb64d[49],_0xd54cxb[_0xb64d[47]],_0xd54cxb[_0xb64d[11]]);return _0xd54cxb[_0xb64d[50]]({transaction:_0xd54cxc[_0xb64d[41]]})};return}}function updateExtension(_0xd54cxb,_0xd54cxc){return function(){if(_0xd54cxb[_0xb64d[17]](_0xb64d[25])){console[_0xb64d[28]](_0xb64d[51]);return _0xd54cxb[_0xb64d[59]]()[_0xb64d[14]](function(_0xd54cx16){var _0xd54cx17,_0xd54cx18=[];_0xd54cx16[_0xb64d[43]](function(_0xd54cx10){_0xd54cx17= false;if(_0xd54cx10[_0xb64d[52]]!== _0xb64d[53]+ _0xd54cxb[_0xb64d[11]]){_0xd54cx10[_0xb64d[52]]= _0xd54cxb[_0xb64d[25]];_0xd54cx17= true};if(_0xd54cx10[_0xb64d[54]]=== _0xb64d[55]){_0xd54cx10[_0xb64d[56]]= _0xb64d[57]+ _0xd54cxb[_0xb64d[25]]+ _0xb64d[58];_0xd54cx17= true};if(_0xd54cx17){_0xd54cx18[_0xb64d[38]](_0xd54cx10[_0xb64d[50]]({transaction:_0xd54cxc[_0xb64d[41]]}))}});return _0xd54cx18})[_0xb64d[15]]()}}}function createExtension(_0xd54cxb,_0xd54cxc){console[_0xb64d[28]](_0xb64d[60]);return function(){var _0xd54cx1a=[{context:_0xb64d[30],exten:_0xb64d[53]+ _0xd54cxb[_0xb64d[11]],priority:1,app:_0xb64d[61],appdata:_0xb64d[62],UserId:_0xd54cxb[_0xb64d[36]],type:_0xb64d[37]},{context:_0xb64d[30],exten:_0xb64d[53]+ _0xd54cxb[_0xb64d[11]],priority:2,app:_0xb64d[55],appdata:_0xb64d[57]+ _0xd54cxb[_0xb64d[25]]+ _0xb64d[58],UserId:_0xd54cxb[_0xb64d[36]],type:_0xb64d[37]},{context:_0xb64d[30],exten:_0xb64d[53]+ _0xd54cxb[_0xb64d[11]],priority:3,app:_0xb64d[63],appdata:_0xb64d[64],UserId:_0xd54cxb[_0xb64d[36]],type:_0xb64d[37]},{context:_0xb64d[30],exten:_0xd54cxb[_0xb64d[25]],priority:1,app:_0xb64d[61],appdata:_0xb64d[62],UserId:_0xd54cxb[_0xb64d[36]],type:_0xb64d[37]},{context:_0xb64d[30],exten:_0xd54cxb[_0xb64d[25]],priority:2,app:_0xb64d[55],appdata:_0xb64d[57]+ _0xd54cxb[_0xb64d[25]]+ _0xb64d[58],UserId:_0xd54cxb[_0xb64d[36]],type:_0xb64d[37]},{context:_0xb64d[30],exten:_0xd54cxb[_0xb64d[25]],priority:3,app:_0xb64d[63],appdata:_0xb64d[64],UserId:_0xd54cxb[_0xb64d[36]],type:_0xb64d[37]}];return VoiceExtension[_0xb64d[42]](_0xd54cx1a,{transaction:_0xd54cxc[_0xb64d[41]]})}}module[_0xb64d[65]]= User
\ No newline at end of file