Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / services / agi / channel.js
index 02af19e..49525fb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x884b=['length','match','error','code','close','E_AGI_SOCKET_CLOSE','timeout','pipe','command','write','inherits','prototype','sendRequest','sync','answer','ANSWER','beep','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','NO\x20MESSAGE','format','VERBOSE\x20\x22%s\x22','exec','isArray','EXEC\x20%s\x20%s','setContext','setExtension','SET\x20EXTENSION\x20%s','setPriority','SET\x20PRIORITY\x20%s','HANGUP','setVariable','toString','sayNumber','SAY\x20NUMBER\x20%s\x20%s','sayDigits','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','extension','noop','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','wait','WAIT','lodash','events','./reply','./error','call','setEncoding','utf8','headers','emit','line','hangup','substring','520-Invalid','search','520\x20End\x20of\x20proper','function','no\x20code','replace','result=','indexOf','substr','startsWith','split'];(function(_0x3d49a0,_0xe72c93){var _0x9770b5=function(_0x1bac2f){while(--_0x1bac2f){_0x3d49a0['push'](_0x3d49a0['shift']());}};_0x9770b5(++_0xe72c93);}(_0x884b,0x1a5));var _0xb884=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x884b[_0x432682];return _0x463d05;};'use strict';var util=require('util');var _=require(_0xb884('0x0'));var EventEmitter=require(_0xb884('0x1'))['EventEmitter'];var AGIReply=require(_0xb884('0x2'));var AGIError=require(_0xb884('0x3'));function AGIChannel(_0x132264){var _0x2e743c=this,_0x2a8f7e=new AGIReply(),_0x371733=![],_0x90ed06={};EventEmitter[_0xb884('0x4')](_0x2e743c);_0x132264[_0xb884('0x5')]('utf8');_0x132264['setTimeout'](0x8*0x3c*0x3c*0x3e8);_0x2a8f7e[_0xb884('0x5')](_0xb884('0x6'));_0x2a8f7e['on'](_0xb884('0x7'),function(_0x4bd82a){for(var _0x5e086e in _0x4bd82a){_0x2e743c[_0x5e086e]=_0x4bd82a[_0x5e086e];}_0x2e743c[_0xb884('0x8')]('ready');});_0x2a8f7e['on'](_0xb884('0x9'),function(_0x1de9d8){if(_0x1de9d8['toLowerCase']()==_0xb884('0xa')){_0x2e743c[_0xb884('0x8')](_0xb884('0xa'));return;}if(_0x1de9d8[_0xb884('0xb')](0x0,0xb)==_0xb884('0xc')){_0x371733=!![];}if(_0x371733){_0x90ed06['rx']+=_0x1de9d8+'\x0a';if(_0x1de9d8[_0xb884('0xd')](_0xb884('0xe'))!=-0x1){_0x371733=![];}}else{_0x90ed06['rx']=_0x1de9d8;}if(_0x371733){return;}if(typeof _0x90ed06['cb']==_0xb884('0xf')){var _0x43efb7=_0x90ed06['rx']['substring'](0x0,0x3),_0x298d14=null,_0x38690f=null;_0x43efb7=parseInt(_0x43efb7);if(isNaN(_0x43efb7)){_0x90ed06['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0xb884('0x10')});return;}if(_0x43efb7!=0xc8){_0x90ed06['cb'](null,{'code':_0x43efb7,'result':-0x1,'extra':'KO'});return;}_0x298d14=_0x90ed06['rx'][_0xb884('0xb')](0x4)[_0xb884('0x11')](_0xb884('0x12'),'');if(_0x298d14[_0xb884('0x13')]('\x20')!=-0x1){_0x298d14=_0x298d14[_0xb884('0x14')](0x0,_0x298d14[_0xb884('0x13')]('\x20'));}if(_[_0xb884('0x15')](_0x298d14,'-1')){_0x298d14=parseInt(_0x298d14);}_0x38690f=_0x90ed06['rx'][_0xb884('0x16')]('\x20');if(_0x38690f[_0xb884('0x17')]==0x3){_0x38690f=_0x38690f[0x2][_0xb884('0xb')](0x1,_0x38690f[0x2][_0xb884('0x17')]-0x1);}else if(_0x38690f[_0xb884('0x17')]>0x3){var _0x4c2f27=/\((.+)\)/;var _0x41e1a1=_0x90ed06['rx'][_0xb884('0x18')](_0x4c2f27);if(_0x41e1a1){_0x38690f=_0x41e1a1[0x1];}else{_0x38690f=null;}}else{_0x38690f=null;}_0x90ed06['cb'](null,{'code':_0x43efb7,'result':_0x298d14,'extra':_0x38690f});}});_0x132264['on']('error',function(_0x1d4b16){_0x2e743c['emit'](_0xb884('0x19'),new AGIError('E_AGI_SOCKET_ERROR',_0x1d4b16[_0xb884('0x1a')]));});_0x132264['on'](_0xb884('0x1b'),function(){_0x2e743c[_0xb884('0x8')](_0xb884('0x1b'),new AGIError(_0xb884('0x1c')));});_0x132264['on']('timeout',function(){_0x2e743c['emit'](_0xb884('0x1d'),new AGIError('E_AGI_SOCKET_TIMEOUT'));_0x132264['destroy']();});_0x132264[_0xb884('0x1e')](_0x2a8f7e);this[_0xb884('0x1f')]=function(_0x3ba9a7,_0x21c265){var _0x3ba9a7=_0x3ba9a7||'',_0x21c265=typeof _0x21c265=='function'?_0x21c265:new Function();_0x90ed06={'tx':_0x3ba9a7,'rx':'','cb':_0x21c265};_0x132264[_0xb884('0x20')](_0x3ba9a7+'\x0a');},this[_0xb884('0x1b')]=function(){_0x132264['destroy']();};}util[_0xb884('0x21')](AGIChannel,EventEmitter);AGIChannel[_0xb884('0x22')][_0xb884('0x23')]=function(_0x12a1ca){return this[_0xb884('0x1f')][_0xb884('0x24')](this,_0x12a1ca);};AGIChannel[_0xb884('0x22')][_0xb884('0x25')]=function(){return this[_0xb884('0x23')](_0xb884('0x26'));};AGIChannel[_0xb884('0x22')]['getData']=function(_0x498296,_0x3c8aa8,_0x1b2e94){_0x498296=_0x498296===undefined?_0xb884('0x27'):_0x498296;_0x3c8aa8=_0x3c8aa8===undefined?'5':_0x3c8aa8;_0x1b2e94=_0x1b2e94===undefined?'1':_0x1b2e94;return this[_0xb884('0x23')](util['format'](_0xb884('0x28'),_0x498296,_0x3c8aa8*0x3e8,_0x1b2e94));};AGIChannel[_0xb884('0x22')]['noop']=function(_0x2593c3){_0x2593c3=_0x2593c3||_0xb884('0x29');return this[_0xb884('0x23')](util[_0xb884('0x2a')](_0xb884('0x2b'),_0x2593c3));};AGIChannel[_0xb884('0x22')][_0xb884('0x2c')]=function(_0x141e66,_0x2bc538){if(_[_0xb884('0x2d')](_0x2bc538)){return this[_0xb884('0x23')](util[_0xb884('0x2a')](_0xb884('0x2e'),_0x141e66,_0x2bc538['join'](',')));}return this[_0xb884('0x23')](util['format']('EXEC\x20%s\x20%s',_0x141e66,_0x2bc538));};AGIChannel[_0xb884('0x22')][_0xb884('0x2f')]=function(_0x147b85){return this[_0xb884('0x23')](util[_0xb884('0x2a')]('SET\x20CONTEXT\x20%s',_0x147b85));};AGIChannel[_0xb884('0x22')][_0xb884('0x30')]=function(_0x33f373){return this[_0xb884('0x23')](util['format'](_0xb884('0x31'),_0x33f373));};AGIChannel[_0xb884('0x22')][_0xb884('0x32')]=function(_0x223cf5){return this[_0xb884('0x23')](util[_0xb884('0x2a')](_0xb884('0x33'),_0x223cf5));};AGIChannel['prototype'][_0xb884('0xa')]=function(){return this[_0xb884('0x23')](_0xb884('0x34'));};AGIChannel[_0xb884('0x22')][_0xb884('0x35')]=function(_0xb8345a,_0x102a78){return this[_0xb884('0x23')](util[_0xb884('0x2a')]('SET\x20VARIABLE\x20%s\x20\x22%s\x22',_0xb8345a,_0x102a78?_0x102a78[_0xb884('0x36')]()[_0xb884('0x11')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel[_0xb884('0x22')][_0xb884('0x37')]=function(_0x3507f0,_0x1487a4){return this[_0xb884('0x23')](util[_0xb884('0x2a')](_0xb884('0x38'),_0x3507f0,_0x1487a4));};AGIChannel[_0xb884('0x22')][_0xb884('0x39')]=function(_0x3e6b4c,_0x32202f){return this[_0xb884('0x23')](util[_0xb884('0x2a')]('SAY\x20DIGITS\x20%s\x20%s',_0x3e6b4c,_0x32202f));};AGIChannel['prototype'][_0xb884('0x3a')]=function(_0x8846ec,_0x28219d){return this[_0xb884('0x23')](util['format'](_0xb884('0x3b'),_0x8846ec,_0x28219d));};AGIChannel[_0xb884('0x22')]['continueAt']=function(_0x1d0063,_0x5c703a,_0x2bb685){_0x5c703a=_0x5c703a||this[_0xb884('0x3c')];_0x2bb685=_0x2bb685||0x1;this[_0xb884('0x2f')](_0x1d0063);this[_0xb884('0x30')](_0x5c703a);this['setPriority'](_0x2bb685);return this[_0xb884('0x3d')](util[_0xb884('0x2a')](_0xb884('0x3e'),_0x1d0063,_0x5c703a,_0x2bb685));};AGIChannel['prototype'][_0xb884('0x3f')]=function(_0x51afd2){return this[_0xb884('0x23')](util[_0xb884('0x2a')](_0xb884('0x40'),_0x51afd2));};AGIChannel[_0xb884('0x22')][_0xb884('0x41')]=function(_0x5cca2e,_0x517c80,_0x213899,_0x9aa34a,_0xb5f58,_0x4b10be){_0x517c80=_0x517c80||_0xb884('0x42');_0x213899=_0x213899||'';_0x9aa34a=_0x9aa34a===undefined?-0x1:_0x9aa34a==='-1'?-0x1:_0x9aa34a*0x3e8;_0xb5f58=_0xb5f58===undefined?'':'s='+_0xb5f58;_0x4b10be=_0x4b10be?_0xb884('0x43'):'';return this[_0xb884('0x23')](util['format'](_0xb884('0x44'),_0x5cca2e,_0x517c80,_0x213899,_0x9aa34a,_0x4b10be,_0xb5f58));};AGIChannel[_0xb884('0x22')][_0xb884('0x45')]=function(_0x1333d6,_0x17c74c){_0x17c74c=_0x17c74c||'';return this[_0xb884('0x23')](util[_0xb884('0x2a')](_0xb884('0x46'),_0x1333d6,_0x17c74c));};AGIChannel['prototype']['agi']=function(_0x25f5a1){return this[_0xb884('0x2c')](_0xb884('0x47'),_0x25f5a1);};AGIChannel[_0xb884('0x22')][_0xb884('0x48')]=function(_0x44589b){return this[_0xb884('0x2c')](_0xb884('0x49'),_0x44589b);};AGIChannel[_0xb884('0x22')]['error']=function(_0x49c212,_0x2bbd78){this[_0xb884('0x3d')](util['format']('ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s',_0x49c212['id'],_0x49c212['label'],_0x2bbd78));return{'code':0x1f4,'result':'-1','extra':''};};module['exports']=AGIChannel;
\ No newline at end of file
+var _0x485a=['exports','util','EventEmitter','./error','setTimeout','setEncoding','utf8','headers','ready','line','toLowerCase','hangup','emit','520-Invalid','search','520\x20End\x20of\x20proper','function','substring','no\x20code','replace','result=','indexOf','startsWith','split','length','match','error','E_AGI_SOCKET_ERROR','code','close','E_AGI_SOCKET_CLOSE','timeout','E_AGI_SOCKET_TIMEOUT','pipe','command','destroy','inherits','prototype','sendRequest','ANSWER','getData','beep','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','noop','format','VERBOSE\x20\x22%s\x22','isArray','join','setContext','SET\x20CONTEXT\x20%s','setExtension','SET\x20EXTENSION\x20%s','setPriority','SET\x20PRIORITY\x20%s','setVariable','toString','SAY\x20NUMBER\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','extension','GOTO\x20%s\x20%s\x20%s','getVariable','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','WAIT','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s'];(function(_0x2dcf1d,_0x56a9c7){var _0x4a9580=function(_0x487234){while(--_0x487234){_0x2dcf1d['push'](_0x2dcf1d['shift']());}};_0x4a9580(++_0x56a9c7);}(_0x485a,0x164));var _0xa485=function(_0x3774c7,_0x361f2b){_0x3774c7=_0x3774c7-0x0;var _0x1db61e=_0x485a[_0x3774c7];return _0x1db61e;};'use strict';var util=require(_0xa485('0x0'));var _=require('lodash');var EventEmitter=require('events')[_0xa485('0x1')];var AGIReply=require('./reply');var AGIError=require(_0xa485('0x2'));function AGIChannel(_0x5dcce7){var _0x102a53=this,_0x9ceaf2=new AGIReply(),_0x2a0e1d=![],_0xffb5d7={};EventEmitter['call'](_0x102a53);_0x5dcce7['setEncoding']('utf8');_0x5dcce7[_0xa485('0x3')](0x8*0x3c*0x3c*0x3e8);_0x9ceaf2[_0xa485('0x4')](_0xa485('0x5'));_0x9ceaf2['on'](_0xa485('0x6'),function(_0x306920){for(var _0x3a071d in _0x306920){_0x102a53[_0x3a071d]=_0x306920[_0x3a071d];}_0x102a53['emit'](_0xa485('0x7'));});_0x9ceaf2['on'](_0xa485('0x8'),function(_0x1ac4d6){if(_0x1ac4d6[_0xa485('0x9')]()==_0xa485('0xa')){_0x102a53[_0xa485('0xb')]('hangup');return;}if(_0x1ac4d6['substring'](0x0,0xb)==_0xa485('0xc')){_0x2a0e1d=!![];}if(_0x2a0e1d){_0xffb5d7['rx']+=_0x1ac4d6+'\x0a';if(_0x1ac4d6[_0xa485('0xd')](_0xa485('0xe'))!=-0x1){_0x2a0e1d=![];}}else{_0xffb5d7['rx']=_0x1ac4d6;}if(_0x2a0e1d){return;}if(typeof _0xffb5d7['cb']==_0xa485('0xf')){var _0x3c29d3=_0xffb5d7['rx'][_0xa485('0x10')](0x0,0x3),_0x30165c=null,_0x342852=null;_0x3c29d3=parseInt(_0x3c29d3);if(isNaN(_0x3c29d3)){_0xffb5d7['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0xa485('0x11')});return;}if(_0x3c29d3!=0xc8){_0xffb5d7['cb'](null,{'code':_0x3c29d3,'result':-0x1,'extra':'KO'});return;}_0x30165c=_0xffb5d7['rx'][_0xa485('0x10')](0x4)[_0xa485('0x12')](_0xa485('0x13'),'');if(_0x30165c['indexOf']('\x20')!=-0x1){_0x30165c=_0x30165c['substr'](0x0,_0x30165c[_0xa485('0x14')]('\x20'));}if(_[_0xa485('0x15')](_0x30165c,'-1')){_0x30165c=parseInt(_0x30165c);}_0x342852=_0xffb5d7['rx'][_0xa485('0x16')]('\x20');if(_0x342852['length']==0x3){_0x342852=_0x342852[0x2][_0xa485('0x10')](0x1,_0x342852[0x2][_0xa485('0x17')]-0x1);}else if(_0x342852[_0xa485('0x17')]>0x3){var _0x3e4fd1=/\((.+)\)/;var _0x5ecb90=_0xffb5d7['rx'][_0xa485('0x18')](_0x3e4fd1);if(_0x5ecb90){_0x342852=_0x5ecb90[0x1];}else{_0x342852=null;}}else{_0x342852=null;}_0xffb5d7['cb'](null,{'code':_0x3c29d3,'result':_0x30165c,'extra':_0x342852});}});_0x5dcce7['on'](_0xa485('0x19'),function(_0x3a00d1){_0x102a53[_0xa485('0xb')](_0xa485('0x19'),new AGIError(_0xa485('0x1a'),_0x3a00d1[_0xa485('0x1b')]));});_0x5dcce7['on']('close',function(){_0x102a53[_0xa485('0xb')](_0xa485('0x1c'),new AGIError(_0xa485('0x1d')));});_0x5dcce7['on'](_0xa485('0x1e'),function(){_0x102a53[_0xa485('0xb')](_0xa485('0x1e'),new AGIError(_0xa485('0x1f')));_0x5dcce7['destroy']();});_0x5dcce7[_0xa485('0x20')](_0x9ceaf2);this[_0xa485('0x21')]=function(_0x70dc87,_0x50192c){var _0x70dc87=_0x70dc87||'',_0x50192c=typeof _0x50192c==_0xa485('0xf')?_0x50192c:new Function();_0xffb5d7={'tx':_0x70dc87,'rx':'','cb':_0x50192c};_0x5dcce7['write'](_0x70dc87+'\x0a');},this[_0xa485('0x1c')]=function(){_0x5dcce7[_0xa485('0x22')]();};}util[_0xa485('0x23')](AGIChannel,EventEmitter);AGIChannel[_0xa485('0x24')][_0xa485('0x25')]=function(_0x421ef9){return this[_0xa485('0x21')]['sync'](this,_0x421ef9);};AGIChannel[_0xa485('0x24')]['answer']=function(){return this[_0xa485('0x25')](_0xa485('0x26'));};AGIChannel[_0xa485('0x24')][_0xa485('0x27')]=function(_0x3dba42,_0x48dc1a,_0x44c85f){_0x3dba42=_0x3dba42===undefined?_0xa485('0x28'):_0x3dba42;_0x48dc1a=_0x48dc1a===undefined?'5':_0x48dc1a;_0x44c85f=_0x44c85f===undefined?'1':_0x44c85f;return this[_0xa485('0x25')](util['format'](_0xa485('0x29'),_0x3dba42,_0x48dc1a*0x3e8,_0x44c85f));};AGIChannel[_0xa485('0x24')][_0xa485('0x2a')]=function(_0xfc8616){_0xfc8616=_0xfc8616||'NO\x20MESSAGE';return this['sendRequest'](util[_0xa485('0x2b')](_0xa485('0x2c'),_0xfc8616));};AGIChannel[_0xa485('0x24')]['exec']=function(_0x1dc0f7,_0x4a02f2){if(_[_0xa485('0x2d')](_0x4a02f2)){return this['sendRequest'](util[_0xa485('0x2b')]('EXEC\x20%s\x20%s',_0x1dc0f7,_0x4a02f2[_0xa485('0x2e')](',')));}return this[_0xa485('0x25')](util[_0xa485('0x2b')]('EXEC\x20%s\x20%s',_0x1dc0f7,_0x4a02f2));};AGIChannel[_0xa485('0x24')][_0xa485('0x2f')]=function(_0x10329e){return this[_0xa485('0x25')](util[_0xa485('0x2b')](_0xa485('0x30'),_0x10329e));};AGIChannel[_0xa485('0x24')][_0xa485('0x31')]=function(_0x4ab577){return this[_0xa485('0x25')](util[_0xa485('0x2b')](_0xa485('0x32'),_0x4ab577));};AGIChannel[_0xa485('0x24')][_0xa485('0x33')]=function(_0x4ddfbc){return this[_0xa485('0x25')](util[_0xa485('0x2b')](_0xa485('0x34'),_0x4ddfbc));};AGIChannel[_0xa485('0x24')]['hangup']=function(){return this['sendRequest']('HANGUP');};AGIChannel[_0xa485('0x24')][_0xa485('0x35')]=function(_0xbb331d,_0x293ca3){return this[_0xa485('0x25')](util[_0xa485('0x2b')]('SET\x20VARIABLE\x20%s\x20\x22%s\x22',_0xbb331d,_0x293ca3?_0x293ca3[_0xa485('0x36')]()[_0xa485('0x12')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel[_0xa485('0x24')]['sayNumber']=function(_0x223344,_0x82b432){return this[_0xa485('0x25')](util[_0xa485('0x2b')](_0xa485('0x37'),_0x223344,_0x82b432));};AGIChannel['prototype']['sayDigits']=function(_0x51e821,_0x2a67ac){return this[_0xa485('0x25')](util['format']('SAY\x20DIGITS\x20%s\x20%s',_0x51e821,_0x2a67ac));};AGIChannel['prototype'][_0xa485('0x38')]=function(_0x139fdc,_0x395019){return this['sendRequest'](util[_0xa485('0x2b')](_0xa485('0x39'),_0x139fdc,_0x395019));};AGIChannel[_0xa485('0x24')]['continueAt']=function(_0x485ab2,_0x1571a1,_0x585500){_0x1571a1=_0x1571a1||this[_0xa485('0x3a')];_0x585500=_0x585500||0x1;this[_0xa485('0x2f')](_0x485ab2);this[_0xa485('0x31')](_0x1571a1);this[_0xa485('0x33')](_0x585500);return this['noop'](util[_0xa485('0x2b')](_0xa485('0x3b'),_0x485ab2,_0x1571a1,_0x585500));};AGIChannel[_0xa485('0x24')][_0xa485('0x3c')]=function(_0x20c710){return this['sendRequest'](util['format']('GET\x20VARIABLE\x20\x22%s\x22',_0x20c710));};AGIChannel[_0xa485('0x24')]['recordFile']=function(_0x3f1f93,_0x3f027a,_0x3666da,_0x1f53d6,_0x59f91f,_0x59d98a){_0x3f027a=_0x3f027a||_0xa485('0x3d');_0x3666da=_0x3666da||'';_0x1f53d6=_0x1f53d6===undefined?-0x1:_0x1f53d6==='-1'?-0x1:_0x1f53d6*0x3e8;_0x59f91f=_0x59f91f===undefined?'':'s='+_0x59f91f;_0x59d98a=_0x59d98a?_0xa485('0x3e'):'';return this[_0xa485('0x25')](util[_0xa485('0x2b')](_0xa485('0x3f'),_0x3f1f93,_0x3f027a,_0x3666da,_0x1f53d6,_0x59d98a,_0x59f91f));};AGIChannel['prototype'][_0xa485('0x40')]=function(_0x53c6df,_0x44a5fe){_0x44a5fe=_0x44a5fe||'';return this[_0xa485('0x25')](util[_0xa485('0x2b')](_0xa485('0x41'),_0x53c6df,_0x44a5fe));};AGIChannel[_0xa485('0x24')][_0xa485('0x42')]=function(_0x3821c1){return this[_0xa485('0x43')]('AGI',_0x3821c1);};AGIChannel[_0xa485('0x24')]['wait']=function(_0x52811c){return this[_0xa485('0x43')](_0xa485('0x44'),_0x52811c);};AGIChannel['prototype'][_0xa485('0x19')]=function(_0x7cfd65,_0xb4893c){this[_0xa485('0x2a')](util[_0xa485('0x2b')](_0xa485('0x45'),_0x7cfd65['id'],_0x7cfd65['label'],_0xb4893c));return{'code':0x1f4,'result':'-1','extra':''};};module[_0xa485('0x46')]=AGIChannel;
\ No newline at end of file