Built motion from commit (unavailable).|2.3.91
[motion2.git] / server / services / agi / channel.js
index 79918d5..aa9b41f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb187=['continueAt','getVariable','recordFile','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','AGI','wait','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','exports','lodash','call','utf8','setTimeout','setEncoding','headers','emit','ready','line','toLowerCase','hangup','substring','520-Invalid','search','520\x20End\x20of\x20proper','function','no\x20code','replace','result=','indexOf','substr','startsWith','split','length','match','error','E_AGI_SOCKET_ERROR','code','close','E_AGI_SOCKET_CLOSE','E_AGI_SOCKET_TIMEOUT','destroy','pipe','command','inherits','sendRequest','sync','prototype','answer','ANSWER','getData','beep','format','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','noop','NO\x20MESSAGE','VERBOSE\x20\x22%s\x22','exec','isArray','join','EXEC\x20%s\x20%s','setContext','setExtension','SET\x20EXTENSION\x20%s','SET\x20PRIORITY\x20%s','HANGUP','setVariable','toString','SAY\x20NUMBER\x20%s\x20%s','sayDigits','SAY\x20DIGITS\x20%s\x20%s','SAY\x20PHONETIC\x20\x22%s\x22\x20%s'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xb187,0x9d));var _0x7b18=function(_0x434ab8,_0x164e29){_0x434ab8=_0x434ab8-0x0;var _0x4173a2=_0xb187[_0x434ab8];return _0x4173a2;};'use strict';var util=require('util');var _=require(_0x7b18('0x0'));var EventEmitter=require('events')['EventEmitter'];var AGIReply=require('./reply');var AGIError=require('./error');function AGIChannel(_0x3e3d99){var _0x28a21b=this,_0x745529=new AGIReply(),_0x20b695=![],_0x635c22={};EventEmitter[_0x7b18('0x1')](_0x28a21b);_0x3e3d99['setEncoding'](_0x7b18('0x2'));_0x3e3d99[_0x7b18('0x3')](0x8*0x3c*0x3c*0x3e8);_0x745529[_0x7b18('0x4')](_0x7b18('0x2'));_0x745529['on'](_0x7b18('0x5'),function(_0x44fae3){for(var _0x4994ce in _0x44fae3){_0x28a21b[_0x4994ce]=_0x44fae3[_0x4994ce];}_0x28a21b[_0x7b18('0x6')](_0x7b18('0x7'));});_0x745529['on'](_0x7b18('0x8'),function(_0xafc29d){if(_0xafc29d[_0x7b18('0x9')]()==_0x7b18('0xa')){_0x28a21b[_0x7b18('0x6')]('hangup');return;}if(_0xafc29d[_0x7b18('0xb')](0x0,0xb)==_0x7b18('0xc')){_0x20b695=!![];}if(_0x20b695){_0x635c22['rx']+=_0xafc29d+'\x0a';if(_0xafc29d[_0x7b18('0xd')](_0x7b18('0xe'))!=-0x1){_0x20b695=![];}}else{_0x635c22['rx']=_0xafc29d;}if(_0x20b695){return;}if(typeof _0x635c22['cb']==_0x7b18('0xf')){var _0xc110b7=_0x635c22['rx'][_0x7b18('0xb')](0x0,0x3),_0x5e0cd4=null,_0x2bc295=null;_0xc110b7=parseInt(_0xc110b7);if(isNaN(_0xc110b7)){_0x635c22['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0x7b18('0x10')});return;}if(_0xc110b7!=0xc8){_0x635c22['cb'](null,{'code':_0xc110b7,'result':-0x1,'extra':'KO'});return;}_0x5e0cd4=_0x635c22['rx']['substring'](0x4)[_0x7b18('0x11')](_0x7b18('0x12'),'');if(_0x5e0cd4[_0x7b18('0x13')]('\x20')!=-0x1){_0x5e0cd4=_0x5e0cd4[_0x7b18('0x14')](0x0,_0x5e0cd4[_0x7b18('0x13')]('\x20'));}if(_[_0x7b18('0x15')](_0x5e0cd4,'-1')){_0x5e0cd4=parseInt(_0x5e0cd4);}_0x2bc295=_0x635c22['rx'][_0x7b18('0x16')]('\x20');if(_0x2bc295[_0x7b18('0x17')]==0x3){_0x2bc295=_0x2bc295[0x2][_0x7b18('0xb')](0x1,_0x2bc295[0x2][_0x7b18('0x17')]-0x1);}else if(_0x2bc295[_0x7b18('0x17')]>0x3){var _0x31414e=/\((.+)\)/;var _0x52faed=_0x635c22['rx'][_0x7b18('0x18')](_0x31414e);if(_0x52faed){_0x2bc295=_0x52faed[0x1];}else{_0x2bc295=null;}}else{_0x2bc295=null;}_0x635c22['cb'](null,{'code':_0xc110b7,'result':_0x5e0cd4,'extra':_0x2bc295});}});_0x3e3d99['on'](_0x7b18('0x19'),function(_0x1f2a03){_0x28a21b[_0x7b18('0x6')](_0x7b18('0x19'),new AGIError(_0x7b18('0x1a'),_0x1f2a03[_0x7b18('0x1b')]));});_0x3e3d99['on']('close',function(){_0x28a21b[_0x7b18('0x6')](_0x7b18('0x1c'),new AGIError(_0x7b18('0x1d')));});_0x3e3d99['on']('timeout',function(){_0x28a21b[_0x7b18('0x6')]('timeout',new AGIError(_0x7b18('0x1e')));_0x3e3d99[_0x7b18('0x1f')]();});_0x3e3d99[_0x7b18('0x20')](_0x745529);this[_0x7b18('0x21')]=function(_0x17ca08,_0xae6015){var _0x17ca08=_0x17ca08||'',_0xae6015=typeof _0xae6015==_0x7b18('0xf')?_0xae6015:new Function();_0x635c22={'tx':_0x17ca08,'rx':'','cb':_0xae6015};_0x3e3d99['write'](_0x17ca08+'\x0a');},this[_0x7b18('0x1c')]=function(){_0x3e3d99[_0x7b18('0x1f')]();};}util[_0x7b18('0x22')](AGIChannel,EventEmitter);AGIChannel['prototype'][_0x7b18('0x23')]=function(_0x1bc1ee){return this[_0x7b18('0x21')][_0x7b18('0x24')](this,_0x1bc1ee);};AGIChannel[_0x7b18('0x25')][_0x7b18('0x26')]=function(){return this[_0x7b18('0x23')](_0x7b18('0x27'));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x28')]=function(_0x42259b,_0x7d863a,_0x2c55b2){_0x42259b=_0x42259b===undefined?_0x7b18('0x29'):_0x42259b;_0x7d863a=_0x7d863a===undefined?'5':_0x7d863a;_0x2c55b2=_0x2c55b2===undefined?'1':_0x2c55b2;return this[_0x7b18('0x23')](util[_0x7b18('0x2a')](_0x7b18('0x2b'),_0x42259b,_0x7d863a*0x3e8,_0x2c55b2));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x2c')]=function(_0x726a17){_0x726a17=_0x726a17||_0x7b18('0x2d');return this['sendRequest'](util[_0x7b18('0x2a')](_0x7b18('0x2e'),_0x726a17));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x2f')]=function(_0x21595a,_0x37f132){if(_[_0x7b18('0x30')](_0x37f132)){return this[_0x7b18('0x23')](util[_0x7b18('0x2a')]('EXEC\x20%s\x20%s',_0x21595a,_0x37f132[_0x7b18('0x31')](',')));}return this[_0x7b18('0x23')](util[_0x7b18('0x2a')](_0x7b18('0x32'),_0x21595a,_0x37f132));};AGIChannel['prototype'][_0x7b18('0x33')]=function(_0x6e4a87){return this[_0x7b18('0x23')](util[_0x7b18('0x2a')]('SET\x20CONTEXT\x20%s',_0x6e4a87));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x34')]=function(_0x49227a){return this[_0x7b18('0x23')](util[_0x7b18('0x2a')](_0x7b18('0x35'),_0x49227a));};AGIChannel[_0x7b18('0x25')]['setPriority']=function(_0x2d9bee){return this[_0x7b18('0x23')](util['format'](_0x7b18('0x36'),_0x2d9bee));};AGIChannel['prototype'][_0x7b18('0xa')]=function(){return this['sendRequest'](_0x7b18('0x37'));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x38')]=function(_0xf8c101,_0x461e96){return this[_0x7b18('0x23')](util[_0x7b18('0x2a')]('SET\x20VARIABLE\x20%s\x20\x22%s\x22',_0xf8c101,_0x461e96?_0x461e96[_0x7b18('0x39')]()['replace'](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel[_0x7b18('0x25')]['sayNumber']=function(_0x4cf7b0,_0x23d65d){return this[_0x7b18('0x23')](util[_0x7b18('0x2a')](_0x7b18('0x3a'),_0x4cf7b0,_0x23d65d));};AGIChannel['prototype'][_0x7b18('0x3b')]=function(_0x325694,_0x56f9b6){return this[_0x7b18('0x23')](util['format'](_0x7b18('0x3c'),_0x325694,_0x56f9b6));};AGIChannel[_0x7b18('0x25')]['sayPhonetic']=function(_0x52aa74,_0x450cb4){return this[_0x7b18('0x23')](util[_0x7b18('0x2a')](_0x7b18('0x3d'),_0x52aa74,_0x450cb4));};AGIChannel['prototype'][_0x7b18('0x3e')]=function(_0x5d6b5c,_0x5468c2,_0x2c96df){_0x5468c2=_0x5468c2||this['extension'];_0x2c96df=_0x2c96df||0x1;this['setContext'](_0x5d6b5c);this[_0x7b18('0x34')](_0x5468c2);this['setPriority'](_0x2c96df);return this['noop'](util['format']('GOTO\x20%s\x20%s\x20%s',_0x5d6b5c,_0x5468c2,_0x2c96df));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x3f')]=function(_0x1af333){return this[_0x7b18('0x23')](util['format']('GET\x20VARIABLE\x20\x22%s\x22',_0x1af333));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x40')]=function(_0x5d5517,_0x260e9a,_0x59109a,_0x2996a1,_0x51910d,_0x384065){_0x260e9a=_0x260e9a||'wav';_0x59109a=_0x59109a||'';_0x2996a1=_0x2996a1===undefined?-0x1:_0x2996a1==='-1'?-0x1:_0x2996a1*0x3e8;_0x51910d=_0x51910d===undefined?'':'s='+_0x51910d;_0x384065=_0x384065?_0x7b18('0x41'):'';return this['sendRequest'](util[_0x7b18('0x2a')](_0x7b18('0x42'),_0x5d5517,_0x260e9a,_0x59109a,_0x2996a1,_0x384065,_0x51910d));};AGIChannel[_0x7b18('0x25')]['streamFile']=function(_0xbbf5d1,_0x58c155){_0x58c155=_0x58c155||'';return this[_0x7b18('0x23')](util['format'](_0x7b18('0x43'),_0xbbf5d1,_0x58c155));};AGIChannel[_0x7b18('0x25')][_0x7b18('0x44')]=function(_0xf8337e){return this[_0x7b18('0x2f')](_0x7b18('0x45'),_0xf8337e);};AGIChannel[_0x7b18('0x25')][_0x7b18('0x46')]=function(_0x5bd6e8){return this[_0x7b18('0x2f')]('WAIT',_0x5bd6e8);};AGIChannel[_0x7b18('0x25')][_0x7b18('0x19')]=function(_0x1c4911,_0x168d32){this[_0x7b18('0x2c')](util[_0x7b18('0x2a')](_0x7b18('0x47'),_0x1c4911['id'],_0x1c4911['label'],_0x168d32));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x7b18('0x48')]=AGIChannel;
\ No newline at end of file
+var _0x1915=['timeout','E_AGI_SOCKET_TIMEOUT','destroy','sendRequest','command','sync','ANSWER','prototype','format','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','noop','VERBOSE\x20\x22%s\x22','isArray','join','setContext','SET\x20CONTEXT\x20%s','setPriority','SET\x20PRIORITY\x20%s','HANGUP','setVariable','SET\x20VARIABLE\x20%s\x20\x22%s\x22','toString','sayNumber','SAY\x20NUMBER\x20%s\x20%s','sayDigits','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','continueAt','extension','setExtension','GOTO\x20%s\x20%s\x20%s','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','exec','AGI','wait','WAIT','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','label','lodash','events','./reply','./error','call','setEncoding','utf8','setTimeout','headers','emit','ready','line','toLowerCase','hangup','substring','function','no\x20code','replace','result=','indexOf','substr','startsWith','length','match','error','code','close','E_AGI_SOCKET_CLOSE'];(function(_0x42927f,_0x92bbfe){var _0x542298=function(_0x1f0c80){while(--_0x1f0c80){_0x42927f['push'](_0x42927f['shift']());}};_0x542298(++_0x92bbfe);}(_0x1915,0x15b));var _0x5191=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x1915[_0x321bb2];return _0x9c12ed;};'use strict';var util=require('util');var _=require(_0x5191('0x0'));var EventEmitter=require(_0x5191('0x1'))['EventEmitter'];var AGIReply=require(_0x5191('0x2'));var AGIError=require(_0x5191('0x3'));function AGIChannel(_0x5a776c){var _0x578fe6=this,_0x53a96e=new AGIReply(),_0x12c10d=![],_0x4e33bb={};EventEmitter[_0x5191('0x4')](_0x578fe6);_0x5a776c[_0x5191('0x5')](_0x5191('0x6'));_0x5a776c[_0x5191('0x7')](0x8*0x3c*0x3c*0x3e8);_0x53a96e[_0x5191('0x5')](_0x5191('0x6'));_0x53a96e['on'](_0x5191('0x8'),function(_0x5ea75d){for(var _0x283a10 in _0x5ea75d){_0x578fe6[_0x283a10]=_0x5ea75d[_0x283a10];}_0x578fe6[_0x5191('0x9')](_0x5191('0xa'));});_0x53a96e['on'](_0x5191('0xb'),function(_0x55e3cf){if(_0x55e3cf[_0x5191('0xc')]()==_0x5191('0xd')){_0x578fe6[_0x5191('0x9')](_0x5191('0xd'));return;}if(_0x55e3cf[_0x5191('0xe')](0x0,0xb)=='520-Invalid'){_0x12c10d=!![];}if(_0x12c10d){_0x4e33bb['rx']+=_0x55e3cf+'\x0a';if(_0x55e3cf['search']('520\x20End\x20of\x20proper')!=-0x1){_0x12c10d=![];}}else{_0x4e33bb['rx']=_0x55e3cf;}if(_0x12c10d){return;}if(typeof _0x4e33bb['cb']==_0x5191('0xf')){var _0x17fd07=_0x4e33bb['rx']['substring'](0x0,0x3),_0x4c3ea0=null,_0x32d8b2=null;_0x17fd07=parseInt(_0x17fd07);if(isNaN(_0x17fd07)){_0x4e33bb['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0x5191('0x10')});return;}if(_0x17fd07!=0xc8){_0x4e33bb['cb'](null,{'code':_0x17fd07,'result':-0x1,'extra':'KO'});return;}_0x4c3ea0=_0x4e33bb['rx'][_0x5191('0xe')](0x4)[_0x5191('0x11')](_0x5191('0x12'),'');if(_0x4c3ea0[_0x5191('0x13')]('\x20')!=-0x1){_0x4c3ea0=_0x4c3ea0[_0x5191('0x14')](0x0,_0x4c3ea0[_0x5191('0x13')]('\x20'));}if(_[_0x5191('0x15')](_0x4c3ea0,'-1')){_0x4c3ea0=parseInt(_0x4c3ea0);}_0x32d8b2=_0x4e33bb['rx']['split']('\x20');if(_0x32d8b2[_0x5191('0x16')]==0x3){_0x32d8b2=_0x32d8b2[0x2]['substring'](0x1,_0x32d8b2[0x2][_0x5191('0x16')]-0x1);}else if(_0x32d8b2[_0x5191('0x16')]>0x3){var _0x55a02f=/\((.+)\)/;var _0x36e2a1=_0x4e33bb['rx'][_0x5191('0x17')](_0x55a02f);if(_0x36e2a1){_0x32d8b2=_0x36e2a1[0x1];}else{_0x32d8b2=null;}}else{_0x32d8b2=null;}_0x4e33bb['cb'](null,{'code':_0x17fd07,'result':_0x4c3ea0,'extra':_0x32d8b2});}});_0x5a776c['on'](_0x5191('0x18'),function(_0x3b6993){_0x578fe6[_0x5191('0x9')]('error',new AGIError('E_AGI_SOCKET_ERROR',_0x3b6993[_0x5191('0x19')]));});_0x5a776c['on'](_0x5191('0x1a'),function(){_0x578fe6[_0x5191('0x9')]('close',new AGIError(_0x5191('0x1b')));});_0x5a776c['on']('timeout',function(){_0x578fe6['emit'](_0x5191('0x1c'),new AGIError(_0x5191('0x1d')));_0x5a776c[_0x5191('0x1e')]();});_0x5a776c['pipe'](_0x53a96e);this['command']=function(_0x2d1b9c,_0x7eb0e7){var _0x2d1b9c=_0x2d1b9c||'',_0x7eb0e7=typeof _0x7eb0e7==_0x5191('0xf')?_0x7eb0e7:new Function();_0x4e33bb={'tx':_0x2d1b9c,'rx':'','cb':_0x7eb0e7};_0x5a776c['write'](_0x2d1b9c+'\x0a');},this[_0x5191('0x1a')]=function(){_0x5a776c[_0x5191('0x1e')]();};}util['inherits'](AGIChannel,EventEmitter);AGIChannel['prototype'][_0x5191('0x1f')]=function(_0x34aa75){return this[_0x5191('0x20')][_0x5191('0x21')](this,_0x34aa75);};AGIChannel['prototype']['answer']=function(){return this[_0x5191('0x1f')](_0x5191('0x22'));};AGIChannel[_0x5191('0x23')]['getData']=function(_0x150544,_0x2ac6d3,_0x4777d3){_0x150544=_0x150544===undefined?'beep':_0x150544;_0x2ac6d3=_0x2ac6d3===undefined?'5':_0x2ac6d3;_0x4777d3=_0x4777d3===undefined?'1':_0x4777d3;return this['sendRequest'](util[_0x5191('0x24')](_0x5191('0x25'),_0x150544,_0x2ac6d3*0x3e8,_0x4777d3));};AGIChannel['prototype'][_0x5191('0x26')]=function(_0x5dcc33){_0x5dcc33=_0x5dcc33||'NO\x20MESSAGE';return this[_0x5191('0x1f')](util[_0x5191('0x24')](_0x5191('0x27'),_0x5dcc33));};AGIChannel[_0x5191('0x23')]['exec']=function(_0xbfec56,_0x1383ca){if(_[_0x5191('0x28')](_0x1383ca)){return this[_0x5191('0x1f')](util[_0x5191('0x24')]('EXEC\x20%s\x20%s',_0xbfec56,_0x1383ca[_0x5191('0x29')](',')));}return this[_0x5191('0x1f')](util[_0x5191('0x24')]('EXEC\x20%s\x20%s',_0xbfec56,_0x1383ca));};AGIChannel[_0x5191('0x23')][_0x5191('0x2a')]=function(_0x1da1ba){return this[_0x5191('0x1f')](util[_0x5191('0x24')](_0x5191('0x2b'),_0x1da1ba));};AGIChannel['prototype']['setExtension']=function(_0x145b0b){return this[_0x5191('0x1f')](util['format']('SET\x20EXTENSION\x20%s',_0x145b0b));};AGIChannel['prototype'][_0x5191('0x2c')]=function(_0x3b5f6f){return this['sendRequest'](util[_0x5191('0x24')](_0x5191('0x2d'),_0x3b5f6f));};AGIChannel[_0x5191('0x23')]['hangup']=function(){return this[_0x5191('0x1f')](_0x5191('0x2e'));};AGIChannel[_0x5191('0x23')][_0x5191('0x2f')]=function(_0x459fba,_0x3553d6){return this[_0x5191('0x1f')](util[_0x5191('0x24')](_0x5191('0x30'),_0x459fba,_0x3553d6?_0x3553d6[_0x5191('0x31')]()[_0x5191('0x11')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel['prototype'][_0x5191('0x32')]=function(_0x10bbe9,_0x2863d6){return this[_0x5191('0x1f')](util[_0x5191('0x24')](_0x5191('0x33'),_0x10bbe9,_0x2863d6));};AGIChannel[_0x5191('0x23')][_0x5191('0x34')]=function(_0x22be62,_0x3be370){return this[_0x5191('0x1f')](util[_0x5191('0x24')](_0x5191('0x35'),_0x22be62,_0x3be370));};AGIChannel[_0x5191('0x23')][_0x5191('0x36')]=function(_0x4ee340,_0x5ad2b0){return this[_0x5191('0x1f')](util['format'](_0x5191('0x37'),_0x4ee340,_0x5ad2b0));};AGIChannel[_0x5191('0x23')][_0x5191('0x38')]=function(_0x1de67c,_0x1e1f32,_0x2f5c27){_0x1e1f32=_0x1e1f32||this[_0x5191('0x39')];_0x2f5c27=_0x2f5c27||0x1;this[_0x5191('0x2a')](_0x1de67c);this[_0x5191('0x3a')](_0x1e1f32);this[_0x5191('0x2c')](_0x2f5c27);return this[_0x5191('0x26')](util[_0x5191('0x24')](_0x5191('0x3b'),_0x1de67c,_0x1e1f32,_0x2f5c27));};AGIChannel[_0x5191('0x23')][_0x5191('0x3c')]=function(_0x488060){return this[_0x5191('0x1f')](util[_0x5191('0x24')](_0x5191('0x3d'),_0x488060));};AGIChannel[_0x5191('0x23')][_0x5191('0x3e')]=function(_0x211737,_0x363ffc,_0x41577c,_0x9033a8,_0x1d0ebb,_0x2a25cf){_0x363ffc=_0x363ffc||_0x5191('0x3f');_0x41577c=_0x41577c||'';_0x9033a8=_0x9033a8===undefined?-0x1:_0x9033a8==='-1'?-0x1:_0x9033a8*0x3e8;_0x1d0ebb=_0x1d0ebb===undefined?'':'s='+_0x1d0ebb;_0x2a25cf=_0x2a25cf?_0x5191('0x40'):'';return this[_0x5191('0x1f')](util['format'](_0x5191('0x41'),_0x211737,_0x363ffc,_0x41577c,_0x9033a8,_0x2a25cf,_0x1d0ebb));};AGIChannel[_0x5191('0x23')][_0x5191('0x42')]=function(_0x11c551,_0x3ee5ad){_0x3ee5ad=_0x3ee5ad||'';return this[_0x5191('0x1f')](util[_0x5191('0x24')](_0x5191('0x43'),_0x11c551,_0x3ee5ad));};AGIChannel[_0x5191('0x23')][_0x5191('0x44')]=function(_0x21ad89){return this[_0x5191('0x45')](_0x5191('0x46'),_0x21ad89);};AGIChannel[_0x5191('0x23')][_0x5191('0x47')]=function(_0x49315b){return this['exec'](_0x5191('0x48'),_0x49315b);};AGIChannel[_0x5191('0x23')][_0x5191('0x18')]=function(_0x1bdd6c,_0x1ab8c8){this[_0x5191('0x26')](util[_0x5191('0x24')](_0x5191('0x49'),_0x1bdd6c['id'],_0x1bdd6c[_0x5191('0x4a')],_0x1ab8c8));return{'code':0x1f4,'result':'-1','extra':''};};module['exports']=AGIChannel;
\ No newline at end of file