Built motion from commit 3d6333b4.|2.6.31
[motion2.git] / server / services / agi / channel.js
index f2a286c..d1db4ae 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x29b1=['code','close','E_AGI_SOCKET_CLOSE','timeout','E_AGI_SOCKET_TIMEOUT','command','destroy','prototype','sync','answer','ANSWER','sendRequest','format','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','noop','NO\x20MESSAGE','VERBOSE\x20\x22%s\x22','exec','isArray','EXEC\x20%s\x20%s','join','SET\x20CONTEXT\x20%s','setExtension','SET\x20EXTENSION\x20%s','setPriority','SET\x20PRIORITY\x20%s','hangup','HANGUP','isBoolean','SET\x20VARIABLE\x20%s\x20\x22%s\x22','SAY\x20NUMBER\x20%s\x20%s','sayDigits','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','extension','setContext','GOTO\x20%s\x20%s\x20%s','GET\x20VARIABLE\x20\x22%s\x22','BEEP','STREAM\x20FILE\x20\x22%s\x22\x20\x22%s\x22','agi','wait','WAIT','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','label','exports','lodash','./error','call','setEncoding','setTimeout','utf8','headers','ready','line','toLowerCase','emit','substring','520\x20End\x20of\x20proper','replace','result=','indexOf','substr','startsWith','split','length','match','error','E_AGI_SOCKET_ERROR'];(function(_0x1467d7,_0x33654c){var _0x5280e4=function(_0x3771d1){while(--_0x3771d1){_0x1467d7['push'](_0x1467d7['shift']());}};_0x5280e4(++_0x33654c);}(_0x29b1,0xbb));var _0x129b=function(_0x341e0f,_0x4a09d0){_0x341e0f=_0x341e0f-0x0;var _0x59555a=_0x29b1[_0x341e0f];return _0x59555a;};'use strict';var util=require('util');var _=require(_0x129b('0x0'));var EventEmitter=require('events')['EventEmitter'];var AGIReply=require('./reply');var AGIError=require(_0x129b('0x1'));function AGIChannel(_0x3a13a5){var _0x340c01=this,_0x54a38b=new AGIReply(),_0x1e6cd4=![],_0xb4ee0e={};EventEmitter[_0x129b('0x2')](_0x340c01);_0x3a13a5[_0x129b('0x3')]('utf8');_0x3a13a5[_0x129b('0x4')](0x8*0x3c*0x3c*0x3e8);_0x54a38b[_0x129b('0x3')](_0x129b('0x5'));_0x54a38b['on'](_0x129b('0x6'),function(_0x5e066f){for(var _0x481318 in _0x5e066f){_0x340c01[_0x481318]=_0x5e066f[_0x481318];}_0x340c01['emit'](_0x129b('0x7'));});_0x54a38b['on'](_0x129b('0x8'),function(_0x5675e9){if(_0x5675e9[_0x129b('0x9')]()=='hangup'){_0x340c01[_0x129b('0xa')]('hangup');return;}if(_0x5675e9[_0x129b('0xb')](0x0,0xb)=='520-Invalid'){_0x1e6cd4=!![];}if(_0x1e6cd4){_0xb4ee0e['rx']+=_0x5675e9+'\x0a';if(_0x5675e9['search'](_0x129b('0xc'))!=-0x1){_0x1e6cd4=![];}}else{_0xb4ee0e['rx']=_0x5675e9;}if(_0x1e6cd4){return;}if(typeof _0xb4ee0e['cb']=='function'){var _0x14bb9e=_0xb4ee0e['rx'][_0x129b('0xb')](0x0,0x3),_0x2d91ae=null,_0x9c34e9=null;_0x14bb9e=parseInt(_0x14bb9e);if(isNaN(_0x14bb9e)){_0xb4ee0e['cb'](null,{'code':0x1f4,'result':-0x1,'extra':'no\x20code'});return;}if(_0x14bb9e!=0xc8){_0xb4ee0e['cb'](null,{'code':_0x14bb9e,'result':-0x1,'extra':'KO'});return;}_0x2d91ae=_0xb4ee0e['rx'][_0x129b('0xb')](0x4)[_0x129b('0xd')](_0x129b('0xe'),'');if(_0x2d91ae[_0x129b('0xf')]('\x20')!=-0x1){_0x2d91ae=_0x2d91ae[_0x129b('0x10')](0x0,_0x2d91ae[_0x129b('0xf')]('\x20'));}if(_[_0x129b('0x11')](_0x2d91ae,'-1')){_0x2d91ae=parseInt(_0x2d91ae);}_0x9c34e9=_0xb4ee0e['rx'][_0x129b('0x12')]('\x20');if(_0x9c34e9[_0x129b('0x13')]==0x3){_0x9c34e9=_0x9c34e9[0x2][_0x129b('0xb')](0x1,_0x9c34e9[0x2][_0x129b('0x13')]-0x1);}else if(_0x9c34e9[_0x129b('0x13')]>0x3){var _0xb34c52=/\((.+)\)/;var _0x10939e=_0xb4ee0e['rx'][_0x129b('0x14')](_0xb34c52);if(_0x10939e){_0x9c34e9=_0x10939e[0x1];}else{_0x9c34e9=null;}}else{_0x9c34e9=null;}_0xb4ee0e['cb'](null,{'code':_0x14bb9e,'result':_0x2d91ae,'extra':_0x9c34e9});}});_0x3a13a5['on'](_0x129b('0x15'),function(_0xdaa9d7){_0x340c01[_0x129b('0xa')](_0x129b('0x15'),new AGIError(_0x129b('0x16'),_0xdaa9d7[_0x129b('0x17')]));});_0x3a13a5['on'](_0x129b('0x18'),function(){_0x340c01[_0x129b('0xa')]('close',new AGIError(_0x129b('0x19')));});_0x3a13a5['on'](_0x129b('0x1a'),function(){_0x340c01[_0x129b('0xa')]('timeout',new AGIError(_0x129b('0x1b')));_0x3a13a5['destroy']();});_0x3a13a5['pipe'](_0x54a38b);this[_0x129b('0x1c')]=function(_0x246511,_0x5ca376){var _0x246511=_0x246511||'',_0x5ca376=typeof _0x5ca376=='function'?_0x5ca376:new Function();_0xb4ee0e={'tx':_0x246511,'rx':'','cb':_0x5ca376};_0x3a13a5['write'](_0x246511+'\x0a');},this['close']=function(){_0x3a13a5[_0x129b('0x1d')]();};}util['inherits'](AGIChannel,EventEmitter);AGIChannel[_0x129b('0x1e')]['sendRequest']=function(_0x475092){return this['command'][_0x129b('0x1f')](this,_0x475092);};AGIChannel[_0x129b('0x1e')][_0x129b('0x20')]=function(){return this['sendRequest'](_0x129b('0x21'));};AGIChannel[_0x129b('0x1e')]['getData']=function(_0xab26ee,_0x59bc83,_0x1fa141){_0xab26ee=_0xab26ee===undefined?'beep':_0xab26ee;_0x59bc83=_0x59bc83===undefined?'5':_0x59bc83;_0x1fa141=_0x1fa141===undefined?'1':_0x1fa141;return this[_0x129b('0x22')](util[_0x129b('0x23')](_0x129b('0x24'),_0xab26ee,_0x59bc83*0x3e8,_0x1fa141));};AGIChannel[_0x129b('0x1e')][_0x129b('0x25')]=function(_0xc8b344){_0xc8b344=_0xc8b344||_0x129b('0x26');return this[_0x129b('0x22')](util['format'](_0x129b('0x27'),_0xc8b344));};AGIChannel[_0x129b('0x1e')][_0x129b('0x28')]=function(_0x43719b,_0x26f1e2){if(_[_0x129b('0x29')](_0x26f1e2)){return this[_0x129b('0x22')](util['format'](_0x129b('0x2a'),_0x43719b,_0x26f1e2[_0x129b('0x2b')](',')));}return this[_0x129b('0x22')](util[_0x129b('0x23')]('EXEC\x20%s\x20%s',_0x43719b,_0x26f1e2));};AGIChannel[_0x129b('0x1e')]['setContext']=function(_0x24d709){return this[_0x129b('0x22')](util['format'](_0x129b('0x2c'),_0x24d709));};AGIChannel[_0x129b('0x1e')][_0x129b('0x2d')]=function(_0x4b33ae){return this[_0x129b('0x22')](util['format'](_0x129b('0x2e'),_0x4b33ae));};AGIChannel[_0x129b('0x1e')][_0x129b('0x2f')]=function(_0x1ae6ee){return this[_0x129b('0x22')](util['format'](_0x129b('0x30'),_0x1ae6ee));};AGIChannel['prototype'][_0x129b('0x31')]=function(){return this[_0x129b('0x22')](_0x129b('0x32'));};AGIChannel['prototype']['setVariable']=function(_0x34bb1f,_0x3f26e3){var _0x55b1e5=_[_0x129b('0x33')](_0x3f26e3)||_['isNumber'](_0x3f26e3)?_0x3f26e3['toString']():_0x3f26e3;return this[_0x129b('0x22')](util[_0x129b('0x23')](_0x129b('0x34'),_0x34bb1f,_0x55b1e5?_0x55b1e5['toString']()[_0x129b('0xd')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel['prototype']['sayNumber']=function(_0x23f8c8,_0xb37b0a){return this[_0x129b('0x22')](util[_0x129b('0x23')](_0x129b('0x35'),_0x23f8c8,_0xb37b0a));};AGIChannel[_0x129b('0x1e')][_0x129b('0x36')]=function(_0x37215c,_0x1fb955){return this[_0x129b('0x22')](util[_0x129b('0x23')](_0x129b('0x37'),_0x37215c,_0x1fb955));};AGIChannel['prototype'][_0x129b('0x38')]=function(_0x964798,_0xa10258){return this[_0x129b('0x22')](util[_0x129b('0x23')](_0x129b('0x39'),_0x964798,_0xa10258));};AGIChannel[_0x129b('0x1e')]['continueAt']=function(_0x26c14a,_0x4eeaaa,_0x59199d){_0x4eeaaa=_0x4eeaaa||this[_0x129b('0x3a')];_0x59199d=_0x59199d||0x1;this[_0x129b('0x3b')](_0x26c14a);this[_0x129b('0x2d')](_0x4eeaaa);this[_0x129b('0x2f')](_0x59199d);return this[_0x129b('0x25')](util[_0x129b('0x23')](_0x129b('0x3c'),_0x26c14a,_0x4eeaaa,_0x59199d));};AGIChannel['prototype']['getVariable']=function(_0x36c22a){return this[_0x129b('0x22')](util['format'](_0x129b('0x3d'),_0x36c22a));};AGIChannel['prototype']['recordFile']=function(_0x3c48b1,_0x34ef65,_0x1b5b07,_0x2a96cb,_0x576616,_0x1e97ad){_0x34ef65=_0x34ef65||'wav';_0x1b5b07=_0x1b5b07||'';_0x2a96cb=_0x2a96cb===undefined?-0x1:_0x2a96cb==='-1'?-0x1:_0x2a96cb*0x3e8;_0x576616=_0x576616===undefined?'':'s='+_0x576616;_0x1e97ad=_0x1e97ad?_0x129b('0x3e'):'';return this['sendRequest'](util[_0x129b('0x23')]('RECORD\x20FILE\x20\x22%s\x22\x20\x22%s\x22\x20\x22%s\x22\x20%s\x20%s\x20%s',_0x3c48b1,_0x34ef65,_0x1b5b07,_0x2a96cb,_0x1e97ad,_0x576616));};AGIChannel[_0x129b('0x1e')]['streamFile']=function(_0x43010e,_0x6dcf57){_0x6dcf57=_0x6dcf57||'';return this['sendRequest'](util[_0x129b('0x23')](_0x129b('0x3f'),_0x43010e,_0x6dcf57));};AGIChannel['prototype'][_0x129b('0x40')]=function(_0x536b6b){return this[_0x129b('0x28')]('AGI',_0x536b6b);};AGIChannel[_0x129b('0x1e')][_0x129b('0x41')]=function(_0x2fb885){return this['exec'](_0x129b('0x42'),_0x2fb885);};AGIChannel[_0x129b('0x1e')]['error']=function(_0x156bc9,_0x562960){this[_0x129b('0x25')](util[_0x129b('0x23')](_0x129b('0x43'),_0x156bc9['id'],_0x156bc9[_0x129b('0x44')],_0x562960));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x129b('0x45')]=AGIChannel;
\ No newline at end of file
+var _0x544f=['VERBOSE\x20\x22%s\x22','exec','isArray','join','EXEC\x20%s\x20%s','SET\x20CONTEXT\x20%s','setExtension','setPriority','HANGUP','setVariable','SET\x20VARIABLE\x20%s\x20\x22%s\x22','sayNumber','sayDigits','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','continueAt','extension','setContext','getVariable','GET\x20VARIABLE\x20\x22%s\x22','recordFile','wav','BEEP','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','AGI','wait','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','exports','lodash','EventEmitter','./reply','./error','call','setEncoding','utf8','headers','emit','ready','line','toLowerCase','hangup','substring','520-Invalid','search','520\x20End\x20of\x20proper','function','no\x20code','replace','result=','indexOf','length','match','error','E_AGI_SOCKET_ERROR','code','close','timeout','E_AGI_SOCKET_TIMEOUT','pipe','write','destroy','inherits','prototype','command','sync','answer','sendRequest','ANSWER','beep','format','noop','NO\x20MESSAGE'];(function(_0x388edf,_0x12d6d2){var _0xffe643=function(_0x3459e1){while(--_0x3459e1){_0x388edf['push'](_0x388edf['shift']());}};_0xffe643(++_0x12d6d2);}(_0x544f,0x104));var _0xf544=function(_0x5eef05,_0x1be989){_0x5eef05=_0x5eef05-0x0;var _0x56d4b8=_0x544f[_0x5eef05];return _0x56d4b8;};'use strict';var util=require('util');var _=require(_0xf544('0x0'));var EventEmitter=require('events')[_0xf544('0x1')];var AGIReply=require(_0xf544('0x2'));var AGIError=require(_0xf544('0x3'));function AGIChannel(_0x4a96d7){var _0x21cfa3=this,_0x8f64a3=new AGIReply(),_0x3f3361=![],_0x4d56cd={};EventEmitter[_0xf544('0x4')](_0x21cfa3);_0x4a96d7[_0xf544('0x5')]('utf8');_0x4a96d7['setTimeout'](0x8*0x3c*0x3c*0x3e8);_0x8f64a3['setEncoding'](_0xf544('0x6'));_0x8f64a3['on'](_0xf544('0x7'),function(_0x13cbea){for(var _0x4a3708 in _0x13cbea){_0x21cfa3[_0x4a3708]=_0x13cbea[_0x4a3708];}_0x21cfa3[_0xf544('0x8')](_0xf544('0x9'));});_0x8f64a3['on'](_0xf544('0xa'),function(_0x2c59f0){if(_0x2c59f0[_0xf544('0xb')]()==_0xf544('0xc')){_0x21cfa3[_0xf544('0x8')](_0xf544('0xc'));return;}if(_0x2c59f0[_0xf544('0xd')](0x0,0xb)==_0xf544('0xe')){_0x3f3361=!![];}if(_0x3f3361){_0x4d56cd['rx']+=_0x2c59f0+'\x0a';if(_0x2c59f0[_0xf544('0xf')](_0xf544('0x10'))!=-0x1){_0x3f3361=![];}}else{_0x4d56cd['rx']=_0x2c59f0;}if(_0x3f3361){return;}if(typeof _0x4d56cd['cb']==_0xf544('0x11')){var _0x1b5698=_0x4d56cd['rx'][_0xf544('0xd')](0x0,0x3),_0x7e7085=null,_0x2263c3=null;_0x1b5698=parseInt(_0x1b5698);if(isNaN(_0x1b5698)){_0x4d56cd['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0xf544('0x12')});return;}if(_0x1b5698!=0xc8){_0x4d56cd['cb'](null,{'code':_0x1b5698,'result':-0x1,'extra':'KO'});return;}_0x7e7085=_0x4d56cd['rx'][_0xf544('0xd')](0x4)[_0xf544('0x13')](_0xf544('0x14'),'');if(_0x7e7085['indexOf']('\x20')!=-0x1){_0x7e7085=_0x7e7085['substr'](0x0,_0x7e7085[_0xf544('0x15')]('\x20'));}if(_['startsWith'](_0x7e7085,'-1')){_0x7e7085=parseInt(_0x7e7085);}_0x2263c3=_0x4d56cd['rx']['split']('\x20');if(_0x2263c3[_0xf544('0x16')]==0x3){_0x2263c3=_0x2263c3[0x2][_0xf544('0xd')](0x1,_0x2263c3[0x2]['length']-0x1);}else if(_0x2263c3[_0xf544('0x16')]>0x3){var _0x438b93=/\((.+)\)/;var _0x467934=_0x4d56cd['rx'][_0xf544('0x17')](_0x438b93);if(_0x467934){_0x2263c3=_0x467934[0x1];}else{_0x2263c3=null;}}else{_0x2263c3=null;}_0x4d56cd['cb'](null,{'code':_0x1b5698,'result':_0x7e7085,'extra':_0x2263c3});}});_0x4a96d7['on'](_0xf544('0x18'),function(_0x2abda3){_0x21cfa3[_0xf544('0x8')](_0xf544('0x18'),new AGIError(_0xf544('0x19'),_0x2abda3[_0xf544('0x1a')]));});_0x4a96d7['on'](_0xf544('0x1b'),function(){_0x21cfa3['emit'](_0xf544('0x1b'),new AGIError('E_AGI_SOCKET_CLOSE'));});_0x4a96d7['on']('timeout',function(){_0x21cfa3[_0xf544('0x8')](_0xf544('0x1c'),new AGIError(_0xf544('0x1d')));_0x4a96d7['destroy']();});_0x4a96d7[_0xf544('0x1e')](_0x8f64a3);this['command']=function(_0x296281,_0x5f5d1e){var _0x296281=_0x296281||'',_0x5f5d1e=typeof _0x5f5d1e==_0xf544('0x11')?_0x5f5d1e:new Function();_0x4d56cd={'tx':_0x296281,'rx':'','cb':_0x5f5d1e};_0x4a96d7[_0xf544('0x1f')](_0x296281+'\x0a');},this['close']=function(){_0x4a96d7[_0xf544('0x20')]();};}util[_0xf544('0x21')](AGIChannel,EventEmitter);AGIChannel[_0xf544('0x22')]['sendRequest']=function(_0x4feffa){return this[_0xf544('0x23')][_0xf544('0x24')](this,_0x4feffa);};AGIChannel['prototype'][_0xf544('0x25')]=function(){return this[_0xf544('0x26')](_0xf544('0x27'));};AGIChannel[_0xf544('0x22')]['getData']=function(_0x3bf1c3,_0x409bf6,_0x343f3a){_0x3bf1c3=_0x3bf1c3===undefined?_0xf544('0x28'):_0x3bf1c3;_0x409bf6=_0x409bf6===undefined?'5':_0x409bf6;_0x343f3a=_0x343f3a===undefined?'1':_0x343f3a;return this['sendRequest'](util[_0xf544('0x29')]('GET\x20DATA\x20\x22%s\x22\x20%s\x20%s',_0x3bf1c3,_0x409bf6*0x3e8,_0x343f3a));};AGIChannel[_0xf544('0x22')][_0xf544('0x2a')]=function(_0x202cf3){_0x202cf3=_0x202cf3||_0xf544('0x2b');return this[_0xf544('0x26')](util[_0xf544('0x29')](_0xf544('0x2c'),_0x202cf3));};AGIChannel[_0xf544('0x22')][_0xf544('0x2d')]=function(_0x29cd18,_0x626635){if(_[_0xf544('0x2e')](_0x626635)){return this[_0xf544('0x26')](util[_0xf544('0x29')]('EXEC\x20%s\x20%s',_0x29cd18,_0x626635[_0xf544('0x2f')](',')));}return this[_0xf544('0x26')](util[_0xf544('0x29')](_0xf544('0x30'),_0x29cd18,_0x626635));};AGIChannel[_0xf544('0x22')]['setContext']=function(_0x39d08c){return this[_0xf544('0x26')](util[_0xf544('0x29')](_0xf544('0x31'),_0x39d08c));};AGIChannel[_0xf544('0x22')][_0xf544('0x32')]=function(_0x514326){return this['sendRequest'](util[_0xf544('0x29')]('SET\x20EXTENSION\x20%s',_0x514326));};AGIChannel[_0xf544('0x22')][_0xf544('0x33')]=function(_0x3f7982){return this[_0xf544('0x26')](util[_0xf544('0x29')]('SET\x20PRIORITY\x20%s',_0x3f7982));};AGIChannel[_0xf544('0x22')][_0xf544('0xc')]=function(){return this['sendRequest'](_0xf544('0x34'));};AGIChannel[_0xf544('0x22')][_0xf544('0x35')]=function(_0x266cdc,_0xd96f0f){var _0x1d742f=_['isBoolean'](_0xd96f0f)||_['isNumber'](_0xd96f0f)?_0xd96f0f['toString']():_0xd96f0f;return this[_0xf544('0x26')](util[_0xf544('0x29')](_0xf544('0x36'),_0x266cdc,_0x1d742f?_0x1d742f['toString']()['replace'](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel[_0xf544('0x22')][_0xf544('0x37')]=function(_0x2ff571,_0x45fbbc){return this['sendRequest'](util[_0xf544('0x29')]('SAY\x20NUMBER\x20%s\x20%s',_0x2ff571,_0x45fbbc));};AGIChannel[_0xf544('0x22')][_0xf544('0x38')]=function(_0x3893b7,_0x490d21){return this[_0xf544('0x26')](util[_0xf544('0x29')](_0xf544('0x39'),_0x3893b7,_0x490d21));};AGIChannel[_0xf544('0x22')][_0xf544('0x3a')]=function(_0x485b9a,_0x41fadb){return this['sendRequest'](util[_0xf544('0x29')](_0xf544('0x3b'),_0x485b9a,_0x41fadb));};AGIChannel[_0xf544('0x22')][_0xf544('0x3c')]=function(_0x56f222,_0xe05fb0,_0x4b29fd){_0xe05fb0=_0xe05fb0||this[_0xf544('0x3d')];_0x4b29fd=_0x4b29fd||0x1;this[_0xf544('0x3e')](_0x56f222);this['setExtension'](_0xe05fb0);this[_0xf544('0x33')](_0x4b29fd);return this[_0xf544('0x2a')](util['format']('GOTO\x20%s\x20%s\x20%s',_0x56f222,_0xe05fb0,_0x4b29fd));};AGIChannel[_0xf544('0x22')][_0xf544('0x3f')]=function(_0x3dfb48){return this[_0xf544('0x26')](util[_0xf544('0x29')](_0xf544('0x40'),_0x3dfb48));};AGIChannel[_0xf544('0x22')][_0xf544('0x41')]=function(_0x425961,_0x50b090,_0x416698,_0x5b3af6,_0xbbc659,_0x45828d){_0x50b090=_0x50b090||_0xf544('0x42');_0x416698=_0x416698||'';_0x5b3af6=_0x5b3af6===undefined?-0x1:_0x5b3af6==='-1'?-0x1:_0x5b3af6*0x3e8;_0xbbc659=_0xbbc659===undefined?'':'s='+_0xbbc659;_0x45828d=_0x45828d?_0xf544('0x43'):'';return this['sendRequest'](util[_0xf544('0x29')](_0xf544('0x44'),_0x425961,_0x50b090,_0x416698,_0x5b3af6,_0x45828d,_0xbbc659));};AGIChannel[_0xf544('0x22')][_0xf544('0x45')]=function(_0x40323b,_0xc0244){_0xc0244=_0xc0244||'';return this[_0xf544('0x26')](util[_0xf544('0x29')](_0xf544('0x46'),_0x40323b,_0xc0244));};AGIChannel[_0xf544('0x22')][_0xf544('0x47')]=function(_0x4ce957){return this[_0xf544('0x2d')](_0xf544('0x48'),_0x4ce957);};AGIChannel[_0xf544('0x22')][_0xf544('0x49')]=function(_0x295fec){return this[_0xf544('0x2d')]('WAIT',_0x295fec);};AGIChannel[_0xf544('0x22')][_0xf544('0x18')]=function(_0x19808c,_0x11f065){this[_0xf544('0x2a')](util[_0xf544('0x29')](_0xf544('0x4a'),_0x19808c['id'],_0x19808c['label'],_0x11f065));return{'code':0x1f4,'result':'-1','extra':''};};module[_0xf544('0x4b')]=AGIChannel;
\ No newline at end of file