Built motion from commit d9028345.|2.5.43
[motion2.git] / server / services / agi / channel.js
index edf6f90..b785930 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9f83=['length','match','error','E_AGI_SOCKET_ERROR','code','close','E_AGI_SOCKET_CLOSE','timeout','E_AGI_SOCKET_TIMEOUT','destroy','pipe','command','function','inherits','sendRequest','sync','prototype','answer','ANSWER','getData','beep','format','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','NO\x20MESSAGE','VERBOSE\x20\x22%s\x22','isArray','join','EXEC\x20%s\x20%s','setContext','SET\x20CONTEXT\x20%s','SET\x20EXTENSION\x20%s','setPriority','HANGUP','setVariable','isBoolean','isNumber','toString','replace','SAY\x20NUMBER\x20%s\x20%s','sayDigits','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','continueAt','setExtension','noop','GOTO\x20%s\x20%s\x20%s','GET\x20VARIABLE\x20\x22%s\x22','wav','BEEP','RECORD\x20FILE\x20\x22%s\x22\x20\x22%s\x22\x20\x22%s\x22\x20%s\x20%s\x20%s','STREAM\x20FILE\x20\x22%s\x22\x20\x22%s\x22','agi','exec','wait','WAIT','label','exports','util','events','EventEmitter','setEncoding','utf8','headers','emit','ready','line','toLowerCase','hangup','substring','520-Invalid','no\x20code','indexOf','startsWith'];(function(_0x248dc8,_0x10c027){var _0x15aaee=function(_0xa53979){while(--_0xa53979){_0x248dc8['push'](_0x248dc8['shift']());}};_0x15aaee(++_0x10c027);}(_0x9f83,0x1ac));var _0x39f8=function(_0x3f2732,_0x4d078d){_0x3f2732=_0x3f2732-0x0;var _0xd7788a=_0x9f83[_0x3f2732];return _0xd7788a;};'use strict';var util=require(_0x39f8('0x0'));var _=require('lodash');var EventEmitter=require(_0x39f8('0x1'))[_0x39f8('0x2')];var AGIReply=require('./reply');var AGIError=require('./error');function AGIChannel(_0x606925){var _0x3b621e=this,_0x380223=new AGIReply(),_0x2e80ca=![],_0x2917f6={};EventEmitter['call'](_0x3b621e);_0x606925[_0x39f8('0x3')](_0x39f8('0x4'));_0x606925['setTimeout'](0x8*0x3c*0x3c*0x3e8);_0x380223[_0x39f8('0x3')](_0x39f8('0x4'));_0x380223['on'](_0x39f8('0x5'),function(_0x1e76c4){for(var _0x1c71a2 in _0x1e76c4){_0x3b621e[_0x1c71a2]=_0x1e76c4[_0x1c71a2];}_0x3b621e[_0x39f8('0x6')](_0x39f8('0x7'));});_0x380223['on'](_0x39f8('0x8'),function(_0x1170e6){if(_0x1170e6[_0x39f8('0x9')]()==_0x39f8('0xa')){_0x3b621e['emit'](_0x39f8('0xa'));return;}if(_0x1170e6[_0x39f8('0xb')](0x0,0xb)==_0x39f8('0xc')){_0x2e80ca=!![];}if(_0x2e80ca){_0x2917f6['rx']+=_0x1170e6+'\x0a';if(_0x1170e6['search']('520\x20End\x20of\x20proper')!=-0x1){_0x2e80ca=![];}}else{_0x2917f6['rx']=_0x1170e6;}if(_0x2e80ca){return;}if(typeof _0x2917f6['cb']=='function'){var _0x265a8c=_0x2917f6['rx'][_0x39f8('0xb')](0x0,0x3),_0x18b0b8=null,_0x8f92a9=null;_0x265a8c=parseInt(_0x265a8c);if(isNaN(_0x265a8c)){_0x2917f6['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0x39f8('0xd')});return;}if(_0x265a8c!=0xc8){_0x2917f6['cb'](null,{'code':_0x265a8c,'result':-0x1,'extra':'KO'});return;}_0x18b0b8=_0x2917f6['rx'][_0x39f8('0xb')](0x4)['replace']('result=','');if(_0x18b0b8[_0x39f8('0xe')]('\x20')!=-0x1){_0x18b0b8=_0x18b0b8['substr'](0x0,_0x18b0b8[_0x39f8('0xe')]('\x20'));}if(_[_0x39f8('0xf')](_0x18b0b8,'-1')){_0x18b0b8=parseInt(_0x18b0b8);}_0x8f92a9=_0x2917f6['rx']['split']('\x20');if(_0x8f92a9[_0x39f8('0x10')]==0x3){_0x8f92a9=_0x8f92a9[0x2][_0x39f8('0xb')](0x1,_0x8f92a9[0x2][_0x39f8('0x10')]-0x1);}else if(_0x8f92a9[_0x39f8('0x10')]>0x3){var _0x58c107=/\((.+)\)/;var _0x21db28=_0x2917f6['rx'][_0x39f8('0x11')](_0x58c107);if(_0x21db28){_0x8f92a9=_0x21db28[0x1];}else{_0x8f92a9=null;}}else{_0x8f92a9=null;}_0x2917f6['cb'](null,{'code':_0x265a8c,'result':_0x18b0b8,'extra':_0x8f92a9});}});_0x606925['on'](_0x39f8('0x12'),function(_0x57c753){_0x3b621e[_0x39f8('0x6')](_0x39f8('0x12'),new AGIError(_0x39f8('0x13'),_0x57c753[_0x39f8('0x14')]));});_0x606925['on'](_0x39f8('0x15'),function(){_0x3b621e['emit'](_0x39f8('0x15'),new AGIError(_0x39f8('0x16')));});_0x606925['on'](_0x39f8('0x17'),function(){_0x3b621e[_0x39f8('0x6')](_0x39f8('0x17'),new AGIError(_0x39f8('0x18')));_0x606925[_0x39f8('0x19')]();});_0x606925[_0x39f8('0x1a')](_0x380223);this[_0x39f8('0x1b')]=function(_0x3c232b,_0x287032){var _0x3c232b=_0x3c232b||'',_0x287032=typeof _0x287032==_0x39f8('0x1c')?_0x287032:new Function();_0x2917f6={'tx':_0x3c232b,'rx':'','cb':_0x287032};_0x606925['write'](_0x3c232b+'\x0a');},this[_0x39f8('0x15')]=function(){_0x606925[_0x39f8('0x19')]();};}util[_0x39f8('0x1d')](AGIChannel,EventEmitter);AGIChannel['prototype'][_0x39f8('0x1e')]=function(_0x5e2635){return this[_0x39f8('0x1b')][_0x39f8('0x1f')](this,_0x5e2635);};AGIChannel[_0x39f8('0x20')][_0x39f8('0x21')]=function(){return this[_0x39f8('0x1e')](_0x39f8('0x22'));};AGIChannel[_0x39f8('0x20')][_0x39f8('0x23')]=function(_0x2ab3e5,_0x82f1f0,_0x221d42){_0x2ab3e5=_0x2ab3e5===undefined?_0x39f8('0x24'):_0x2ab3e5;_0x82f1f0=_0x82f1f0===undefined?'5':_0x82f1f0;_0x221d42=_0x221d42===undefined?'1':_0x221d42;return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x26'),_0x2ab3e5,_0x82f1f0*0x3e8,_0x221d42));};AGIChannel[_0x39f8('0x20')]['noop']=function(_0xcada17){_0xcada17=_0xcada17||_0x39f8('0x27');return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x28'),_0xcada17));};AGIChannel[_0x39f8('0x20')]['exec']=function(_0x2d16ec,_0x5100ef){if(_[_0x39f8('0x29')](_0x5100ef)){return this[_0x39f8('0x1e')](util[_0x39f8('0x25')]('EXEC\x20%s\x20%s',_0x2d16ec,_0x5100ef[_0x39f8('0x2a')](',')));}return this['sendRequest'](util['format'](_0x39f8('0x2b'),_0x2d16ec,_0x5100ef));};AGIChannel[_0x39f8('0x20')][_0x39f8('0x2c')]=function(_0x529ace){return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x2d'),_0x529ace));};AGIChannel[_0x39f8('0x20')]['setExtension']=function(_0x1dc21a){return this['sendRequest'](util[_0x39f8('0x25')](_0x39f8('0x2e'),_0x1dc21a));};AGIChannel[_0x39f8('0x20')][_0x39f8('0x2f')]=function(_0x2780e8){return this[_0x39f8('0x1e')](util['format']('SET\x20PRIORITY\x20%s',_0x2780e8));};AGIChannel[_0x39f8('0x20')]['hangup']=function(){return this[_0x39f8('0x1e')](_0x39f8('0x30'));};AGIChannel[_0x39f8('0x20')][_0x39f8('0x31')]=function(_0xe516b,_0x43c18a){var _0x1cc800=_[_0x39f8('0x32')](_0x43c18a)||_[_0x39f8('0x33')](_0x43c18a)?_0x43c18a[_0x39f8('0x34')]():_0x43c18a;return this[_0x39f8('0x1e')](util[_0x39f8('0x25')]('SET\x20VARIABLE\x20%s\x20\x22%s\x22',_0xe516b,_0x1cc800?_0x1cc800['toString']()[_0x39f8('0x35')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel['prototype']['sayNumber']=function(_0x4a1670,_0x1a6688){return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x36'),_0x4a1670,_0x1a6688));};AGIChannel[_0x39f8('0x20')][_0x39f8('0x37')]=function(_0x5d09db,_0x110c71){return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x38'),_0x5d09db,_0x110c71));};AGIChannel[_0x39f8('0x20')][_0x39f8('0x39')]=function(_0x74d100,_0x222f66){return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x3a'),_0x74d100,_0x222f66));};AGIChannel['prototype'][_0x39f8('0x3b')]=function(_0x32a62b,_0x275bb2,_0x58aab4){_0x275bb2=_0x275bb2||this['extension'];_0x58aab4=_0x58aab4||0x1;this['setContext'](_0x32a62b);this[_0x39f8('0x3c')](_0x275bb2);this['setPriority'](_0x58aab4);return this[_0x39f8('0x3d')](util[_0x39f8('0x25')](_0x39f8('0x3e'),_0x32a62b,_0x275bb2,_0x58aab4));};AGIChannel[_0x39f8('0x20')]['getVariable']=function(_0x4d6e3e){return this['sendRequest'](util[_0x39f8('0x25')](_0x39f8('0x3f'),_0x4d6e3e));};AGIChannel[_0x39f8('0x20')]['recordFile']=function(_0x1a1a1b,_0x428ee9,_0x2eaf83,_0x21b02f,_0x2280e5,_0x3e3296){_0x428ee9=_0x428ee9||_0x39f8('0x40');_0x2eaf83=_0x2eaf83||'';_0x21b02f=_0x21b02f===undefined?-0x1:_0x21b02f==='-1'?-0x1:_0x21b02f*0x3e8;_0x2280e5=_0x2280e5===undefined?'':'s='+_0x2280e5;_0x3e3296=_0x3e3296?_0x39f8('0x41'):'';return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x42'),_0x1a1a1b,_0x428ee9,_0x2eaf83,_0x21b02f,_0x3e3296,_0x2280e5));};AGIChannel[_0x39f8('0x20')]['streamFile']=function(_0x1e1cbc,_0x5a85d0){_0x5a85d0=_0x5a85d0||'';return this[_0x39f8('0x1e')](util[_0x39f8('0x25')](_0x39f8('0x43'),_0x1e1cbc,_0x5a85d0));};AGIChannel['prototype'][_0x39f8('0x44')]=function(_0x53f92c){return this[_0x39f8('0x45')]('AGI',_0x53f92c);};AGIChannel['prototype'][_0x39f8('0x46')]=function(_0x9ccd8d){return this[_0x39f8('0x45')](_0x39f8('0x47'),_0x9ccd8d);};AGIChannel[_0x39f8('0x20')][_0x39f8('0x12')]=function(_0x223bee,_0x35804a){this[_0x39f8('0x3d')](util[_0x39f8('0x25')]('ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s',_0x223bee['id'],_0x223bee[_0x39f8('0x48')],_0x35804a));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x39f8('0x49')]=AGIChannel;
\ No newline at end of file
+var _0xf524=['extension','getVariable','recordFile','wav','RECORD\x20FILE\x20\x22%s\x22\x20\x22%s\x22\x20\x22%s\x22\x20%s\x20%s\x20%s','streamFile','STREAM\x20FILE\x20\x22%s\x22\x20\x22%s\x22','agi','exec','AGI','wait','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','exports','lodash','events','EventEmitter','./error','utf8','setTimeout','setEncoding','emit','ready','toLowerCase','hangup','substring','520-Invalid','520\x20End\x20of\x20proper','function','no\x20code','replace','result=','indexOf','substr','startsWith','length','match','error','close','timeout','E_AGI_SOCKET_TIMEOUT','write','destroy','inherits','sendRequest','command','sync','getData','beep','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','prototype','noop','NO\x20MESSAGE','VERBOSE\x20\x22%s\x22','EXEC\x20%s\x20%s','format','setContext','SET\x20CONTEXT\x20%s','setExtension','SET\x20EXTENSION\x20%s','setPriority','HANGUP','setVariable','isBoolean','isNumber','toString','sayNumber','SAY\x20NUMBER\x20%s\x20%s','sayDigits','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s'];(function(_0x5a940e,_0x20dfe8){var _0x41fa09=function(_0x3533ed){while(--_0x3533ed){_0x5a940e['push'](_0x5a940e['shift']());}};_0x41fa09(++_0x20dfe8);}(_0xf524,0x16b));var _0x4f52=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0xf524[_0x126558];return _0x1f6d14;};'use strict';var util=require('util');var _=require(_0x4f52('0x0'));var EventEmitter=require(_0x4f52('0x1'))[_0x4f52('0x2')];var AGIReply=require('./reply');var AGIError=require(_0x4f52('0x3'));function AGIChannel(_0x1ac7b9){var _0x2e5a16=this,_0x203890=new AGIReply(),_0x5c408f=![],_0x48a582={};EventEmitter['call'](_0x2e5a16);_0x1ac7b9['setEncoding'](_0x4f52('0x4'));_0x1ac7b9[_0x4f52('0x5')](0x8*0x3c*0x3c*0x3e8);_0x203890[_0x4f52('0x6')](_0x4f52('0x4'));_0x203890['on']('headers',function(_0x1e6421){for(var _0x263280 in _0x1e6421){_0x2e5a16[_0x263280]=_0x1e6421[_0x263280];}_0x2e5a16[_0x4f52('0x7')](_0x4f52('0x8'));});_0x203890['on']('line',function(_0x44ca0d){if(_0x44ca0d[_0x4f52('0x9')]()=='hangup'){_0x2e5a16[_0x4f52('0x7')](_0x4f52('0xa'));return;}if(_0x44ca0d[_0x4f52('0xb')](0x0,0xb)==_0x4f52('0xc')){_0x5c408f=!![];}if(_0x5c408f){_0x48a582['rx']+=_0x44ca0d+'\x0a';if(_0x44ca0d['search'](_0x4f52('0xd'))!=-0x1){_0x5c408f=![];}}else{_0x48a582['rx']=_0x44ca0d;}if(_0x5c408f){return;}if(typeof _0x48a582['cb']==_0x4f52('0xe')){var _0x5827f2=_0x48a582['rx'][_0x4f52('0xb')](0x0,0x3),_0x297d9d=null,_0x1f8905=null;_0x5827f2=parseInt(_0x5827f2);if(isNaN(_0x5827f2)){_0x48a582['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0x4f52('0xf')});return;}if(_0x5827f2!=0xc8){_0x48a582['cb'](null,{'code':_0x5827f2,'result':-0x1,'extra':'KO'});return;}_0x297d9d=_0x48a582['rx'][_0x4f52('0xb')](0x4)[_0x4f52('0x10')](_0x4f52('0x11'),'');if(_0x297d9d[_0x4f52('0x12')]('\x20')!=-0x1){_0x297d9d=_0x297d9d[_0x4f52('0x13')](0x0,_0x297d9d[_0x4f52('0x12')]('\x20'));}if(_[_0x4f52('0x14')](_0x297d9d,'-1')){_0x297d9d=parseInt(_0x297d9d);}_0x1f8905=_0x48a582['rx']['split']('\x20');if(_0x1f8905[_0x4f52('0x15')]==0x3){_0x1f8905=_0x1f8905[0x2][_0x4f52('0xb')](0x1,_0x1f8905[0x2]['length']-0x1);}else if(_0x1f8905['length']>0x3){var _0x251730=/\((.+)\)/;var _0x644901=_0x48a582['rx'][_0x4f52('0x16')](_0x251730);if(_0x644901){_0x1f8905=_0x644901[0x1];}else{_0x1f8905=null;}}else{_0x1f8905=null;}_0x48a582['cb'](null,{'code':_0x5827f2,'result':_0x297d9d,'extra':_0x1f8905});}});_0x1ac7b9['on'](_0x4f52('0x17'),function(_0x505880){_0x2e5a16[_0x4f52('0x7')](_0x4f52('0x17'),new AGIError('E_AGI_SOCKET_ERROR',_0x505880['code']));});_0x1ac7b9['on']('close',function(){_0x2e5a16[_0x4f52('0x7')](_0x4f52('0x18'),new AGIError('E_AGI_SOCKET_CLOSE'));});_0x1ac7b9['on'](_0x4f52('0x19'),function(){_0x2e5a16[_0x4f52('0x7')](_0x4f52('0x19'),new AGIError(_0x4f52('0x1a')));_0x1ac7b9['destroy']();});_0x1ac7b9['pipe'](_0x203890);this['command']=function(_0x20f0cd,_0x4b34e3){var _0x20f0cd=_0x20f0cd||'',_0x4b34e3=typeof _0x4b34e3=='function'?_0x4b34e3:new Function();_0x48a582={'tx':_0x20f0cd,'rx':'','cb':_0x4b34e3};_0x1ac7b9[_0x4f52('0x1b')](_0x20f0cd+'\x0a');},this[_0x4f52('0x18')]=function(){_0x1ac7b9[_0x4f52('0x1c')]();};}util[_0x4f52('0x1d')](AGIChannel,EventEmitter);AGIChannel['prototype'][_0x4f52('0x1e')]=function(_0xa01506){return this[_0x4f52('0x1f')][_0x4f52('0x20')](this,_0xa01506);};AGIChannel['prototype']['answer']=function(){return this['sendRequest']('ANSWER');};AGIChannel['prototype'][_0x4f52('0x21')]=function(_0x1b65b8,_0x2ae381,_0x366aed){_0x1b65b8=_0x1b65b8===undefined?_0x4f52('0x22'):_0x1b65b8;_0x2ae381=_0x2ae381===undefined?'5':_0x2ae381;_0x366aed=_0x366aed===undefined?'1':_0x366aed;return this['sendRequest'](util['format'](_0x4f52('0x23'),_0x1b65b8,_0x2ae381*0x3e8,_0x366aed));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x25')]=function(_0x81f69b){_0x81f69b=_0x81f69b||_0x4f52('0x26');return this[_0x4f52('0x1e')](util['format'](_0x4f52('0x27'),_0x81f69b));};AGIChannel['prototype']['exec']=function(_0x306ccf,_0x1681be){if(_['isArray'](_0x1681be)){return this[_0x4f52('0x1e')](util['format'](_0x4f52('0x28'),_0x306ccf,_0x1681be['join'](',')));}return this[_0x4f52('0x1e')](util[_0x4f52('0x29')](_0x4f52('0x28'),_0x306ccf,_0x1681be));};AGIChannel['prototype'][_0x4f52('0x2a')]=function(_0x52a1da){return this[_0x4f52('0x1e')](util['format'](_0x4f52('0x2b'),_0x52a1da));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x2c')]=function(_0x204f43){return this[_0x4f52('0x1e')](util[_0x4f52('0x29')](_0x4f52('0x2d'),_0x204f43));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x2e')]=function(_0x19b1a9){return this[_0x4f52('0x1e')](util[_0x4f52('0x29')]('SET\x20PRIORITY\x20%s',_0x19b1a9));};AGIChannel['prototype'][_0x4f52('0xa')]=function(){return this[_0x4f52('0x1e')](_0x4f52('0x2f'));};AGIChannel['prototype'][_0x4f52('0x30')]=function(_0x5d1b59,_0x230d6e){var _0x5c79a5=_[_0x4f52('0x31')](_0x230d6e)||_[_0x4f52('0x32')](_0x230d6e)?_0x230d6e[_0x4f52('0x33')]():_0x230d6e;return this[_0x4f52('0x1e')](util[_0x4f52('0x29')]('SET\x20VARIABLE\x20%s\x20\x22%s\x22',_0x5d1b59,_0x5c79a5?_0x5c79a5['toString']()[_0x4f52('0x10')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x34')]=function(_0x23ad2b,_0x5fcf3e){return this[_0x4f52('0x1e')](util[_0x4f52('0x29')](_0x4f52('0x35'),_0x23ad2b,_0x5fcf3e));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x36')]=function(_0x4a9989,_0x4983f0){return this[_0x4f52('0x1e')](util[_0x4f52('0x29')]('SAY\x20DIGITS\x20%s\x20%s',_0x4a9989,_0x4983f0));};AGIChannel['prototype'][_0x4f52('0x37')]=function(_0x1a364b,_0x5baf59){return this[_0x4f52('0x1e')](util[_0x4f52('0x29')](_0x4f52('0x38'),_0x1a364b,_0x5baf59));};AGIChannel[_0x4f52('0x24')]['continueAt']=function(_0xf6376a,_0x509f4a,_0x1670c6){_0x509f4a=_0x509f4a||this[_0x4f52('0x39')];_0x1670c6=_0x1670c6||0x1;this[_0x4f52('0x2a')](_0xf6376a);this[_0x4f52('0x2c')](_0x509f4a);this[_0x4f52('0x2e')](_0x1670c6);return this[_0x4f52('0x25')](util['format']('GOTO\x20%s\x20%s\x20%s',_0xf6376a,_0x509f4a,_0x1670c6));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x3a')]=function(_0x296e33){return this[_0x4f52('0x1e')](util[_0x4f52('0x29')]('GET\x20VARIABLE\x20\x22%s\x22',_0x296e33));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x3b')]=function(_0x175551,_0x43f0d3,_0x67a2c7,_0x34b24a,_0x30924b,_0xb9ebb1){_0x43f0d3=_0x43f0d3||_0x4f52('0x3c');_0x67a2c7=_0x67a2c7||'';_0x34b24a=_0x34b24a===undefined?-0x1:_0x34b24a==='-1'?-0x1:_0x34b24a*0x3e8;_0x30924b=_0x30924b===undefined?'':'s='+_0x30924b;_0xb9ebb1=_0xb9ebb1?'BEEP':'';return this[_0x4f52('0x1e')](util[_0x4f52('0x29')](_0x4f52('0x3d'),_0x175551,_0x43f0d3,_0x67a2c7,_0x34b24a,_0xb9ebb1,_0x30924b));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x3e')]=function(_0x1b702f,_0x303bbe){_0x303bbe=_0x303bbe||'';return this[_0x4f52('0x1e')](util[_0x4f52('0x29')](_0x4f52('0x3f'),_0x1b702f,_0x303bbe));};AGIChannel[_0x4f52('0x24')][_0x4f52('0x40')]=function(_0x33d561){return this[_0x4f52('0x41')](_0x4f52('0x42'),_0x33d561);};AGIChannel[_0x4f52('0x24')][_0x4f52('0x43')]=function(_0x571800){return this['exec']('WAIT',_0x571800);};AGIChannel[_0x4f52('0x24')][_0x4f52('0x17')]=function(_0x23b660,_0x37f88f){this['noop'](util[_0x4f52('0x29')](_0x4f52('0x44'),_0x23b660['id'],_0x23b660['label'],_0x37f88f));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x4f52('0x45')]=AGIChannel;
\ No newline at end of file