0a47077b5ba9099fd9c566fb6a3da3094247d7f4
[motion2.git] / server / services / agi / vertices.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf0ba=['set','no\x20variable\x20selected','variable_value','start','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','XMCS-UNIQUEID','Skipped\x20Answer','subproject','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','project_id','no\x20subproject\x20found\x20with\x20id\x20%d','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','host','127.0.0.1','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','command','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','no\x20apiKey\x20configured','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','vswitch','replaceAll','exports','util','lodash','shelljs','odbc','randomstring','mustache','request-promise','agi','./scripts','rawBody','menu','getdigits','getsecretdigits','channel','rpc','prototype','then','name','catch','getVoiceQueueById','getSquareProject','getSquareProjectById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getTrunk','getTrunkById','getSound','getSoundById','save_name','getMailAccount','getMailAccountById','sendMailMessage','mailRpc','getIntervalById','interval','map','Intervals','getSoundPath','format','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','Query\x20executed\x20correctly\x20%s','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','getSmsAccountById','createSmsMessage','createSquareDetailsReport','label','arg_1','callerid','createSquareRecording','uniqueid','calleridname','context','extension','priority','accountcode','dnid','createSquareMessage','createCmContact','isEmpty','random','lastName','phone','list_id','scheduledAt','callback','Callback\x20scheduled\x20at\x20','toString','getPause','getPauseById','agentPause','isNil','agentUnpause','agent','agentLogout','agentLogin','internal','shellCommand','exec','trim','replace','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','ssmlGender','MALE','audioEncoding','googleTTS','restAPI','method','number','timeout','includes','PUT','body','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','rawHeaders','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','uri','url','render','stringify','statusCode','statusMessage','message','500\x20-\x20Internal\x20Server\x20Error','googleDialogflow','key','dialogflow_language','googleDialogflowV2','dialogflowV2_project_id','dialogflowV2_language','sestekNDA','ispeechTTS','ispeech_tts_language','en-US','speed','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','aws_polly_voice','Amy','aws_text_type','awsLex','aws_lex_region','aws_bot_name','googleASR','google_asr_language','appid','clear','agicommand','clone','isString','replaceAllVariables','isPlainObject','recursiveNodeIndex','isArray','length','saveRestApiResult','hasOwnProperty','%s.%s','setVariable','replaceObjectAllVariables','split','getVariable','extra','result','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','retry','maxRetry','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','no\x20text\x20configured','options','MRCPSynth','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','no\x20grammar\x20configured','MRCPRecog','getAndSetVariable','MRCP_RECOG_CONFIDENCE','RECOG_INPUT()','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','args','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','Enter\x20in\x20CALLBACK\x20(%s)\x20block','delay','add','callback_priority','sync','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','sestektts','lumenvoxasr','grammar','RECOG_CONFIDENCE()','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_INSTANCE','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','odbc_id','no\x20database\x20selected','no\x20odbc\x20database\x20found','no\x20query\x20configured','query:\x20%s','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','no\x20variable\x20found','forEach','keys','%s[%s][%s]','%s_ROWS_COUNT','variable\x20%s\x20set','dial','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','no\x20user\x20selected','sip_id','no\x20user\x20found','DIAL','SIP/%s','dialogflow','no\x20key\x20configured','bot','Trying\x20Dialogflow:\x20%s','out','Dialogflow\x20Result\x20%s','speech','Dialogflow\x20is\x20unreachable','dialogflowV2','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','no\x20project_id\x20configured','client_email','no\x20client_email\x20configured','no\x20private_key\x20configured','no\x20anguage\x20configured','Trying\x20DialogflowV2:\x20%s','providerResponse','DIALOGFLOW_%s','toUpperCase','DialogflowV2\x20Result\x20%s','DialogflowV2\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','password','no\x20password\x20configured','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','unlink','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','no\x20trunk\x20found','trunk_name','SIP/%s/%s','opts','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','getData','response','maxdigit','mindigit','hiddendigitsnum','hiddendigitspos','first','generate','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','goalname','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','.wav','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','amazonlex','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','wav','%s/recordings/%s','NOBEEP','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appid\x20configured','appsecret','no\x20appsecret\x20configured','beep','recordFile','tilde\x20%s\x20file\x20created','tildeASR','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','continueAt','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','no\x20condition\x20configured','true','condition','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20interval\x20configured','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','false','Enter\x20in\x20HANGUP\x20(%s)\x20block','hangup','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','ispeechtts','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','ispeech\x20%s\x20file\x20created','ispeech\x20TTS\x20is\x20unreachable','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','findBy','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','%s[%s]','variable\x20%s[key]\x20set','Enter\x20in\x20NOOP\x20(%s)\x20block','output','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','Executed\x20command\x20%s\x20%s','queue','queue_id','no\x20queue\x20selected','getVoiceQueue','XMCS-QUEUE','toLowerCase','QUEUE','macro','position','record','Enter\x20in\x20RECORD\x20(%s)\x20block','%s_%s','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','digits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','bcc','subject','template_id','sendMail\x20message','smtpOptions','Mail\x20message\x20added\x20to\x20outgoing\x20process','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','no\x20sms\x20account\x20configured','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s'];(function(_0x35e92e,_0x21581b){var _0x1205a8=function(_0x4325d8){while(--_0x4325d8){_0x35e92e['push'](_0x35e92e['shift']());}};_0x1205a8(++_0x21581b);}(_0xf0ba,0x1ed));var _0xaf0b=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf0ba[_0x14add3];return _0x4a174f;};'use strict';var fs=require('fs');var util=require(_0xaf0b('0x0'));var _=require(_0xaf0b('0x1'));var sh=require(_0xaf0b('0x2'));var odbc=require(_0xaf0b('0x3'))();var rs=require(_0xaf0b('0x4'));var moment=require('moment');var Mustache=require(_0xaf0b('0x5'));var rp=require(_0xaf0b('0x6'));var logger=require('../../config/logger')(_0xaf0b('0x7'));var config=require('../../config/environment');var scripts=require(_0xaf0b('0x8'));var FILES_PATH='/var/opt/motion2/server/files';var recursiveMapAttributes=['rawHeaders',_0xaf0b('0x9')];var verticesWithRetry=[_0xaf0b('0xa'),_0xaf0b('0xb'),_0xaf0b('0xc')];var AGIVertices=function(_0xd67a9,_0x5b7f0c,_0x2fac18){this[_0xaf0b('0xd')]=_0xd67a9;this[_0xaf0b('0xe')]=_0x5b7f0c;this['mailRpc']=_0x2fac18;};AGIVertices[_0xaf0b('0xf')]['getVariable']=function(_0x3261b8,_0x758a23){this[_0xaf0b('0xe')]['getVariableById'](_0x3261b8)[_0xaf0b('0x10')](function(_0x385633){_0x758a23(null,_0x385633?_0x385633[_0xaf0b('0x11')]:![]);})[_0xaf0b('0x12')](function(_0x283de8){_0x758a23(_0x283de8);});};AGIVertices[_0xaf0b('0xf')]['getVoiceQueue']=function(_0x16282b,_0xdbd3d6){this[_0xaf0b('0xe')][_0xaf0b('0x13')](_0x16282b)['then'](function(_0x317cbf){_0xdbd3d6(null,_0x317cbf?_0x317cbf[_0xaf0b('0x11')]:![]);})[_0xaf0b('0x12')](function(_0x2cb9a2){_0xdbd3d6(_0x2cb9a2);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x14')]=function(_0x2afbae,_0x1f1308){this['rpc'][_0xaf0b('0x15')](_0x2afbae)['then'](function(_0x152f69){_0x1f1308(null,_0x152f69?_0x152f69[_0xaf0b('0x11')]:![]);})[_0xaf0b('0x12')](function(_0xbe0d1e){_0x1f1308(_0xbe0d1e);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x16')]=function(_0x1a32c2,_0x217a08){this[_0xaf0b('0xe')][_0xaf0b('0x17')](_0x1a32c2)['then'](function(_0x29c3df){_0x217a08(null,_0x29c3df?_0x29c3df[_0xaf0b('0x18')]:![]);})[_0xaf0b('0x12')](function(_0x546303){_0x217a08(_0x546303);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x19')]=function(_0x4904b3,_0x3f77d5){this[_0xaf0b('0xe')][_0xaf0b('0x1a')](_0x4904b3)[_0xaf0b('0x10')](function(_0x1a7b68){_0x3f77d5(null,_0x1a7b68?_0x1a7b68['name']:![]);})['catch'](function(_0x4541c5){_0x3f77d5(_0x4541c5);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x1b')]=function(_0x24ca9d,_0x24f78c){this[_0xaf0b('0xe')][_0xaf0b('0x1c')](_0x24ca9d)[_0xaf0b('0x10')](function(_0x5396f2){_0x24f78c(null,_0x5396f2?_0x5396f2[_0xaf0b('0x11')]:![]);})[_0xaf0b('0x12')](function(_0x3a4820){_0x24f78c(_0x3a4820);});};AGIVertices['prototype'][_0xaf0b('0x1d')]=function(_0x3d1a23,_0x54c3be){var _0x5a3e1b=this;this['rpc'][_0xaf0b('0x1e')](_0x3d1a23)[_0xaf0b('0x10')](function(_0x862513){_0x54c3be(null,_0x862513?_0x5a3e1b['getSoundPath'](_0x862513[_0xaf0b('0x1f')]):![]);})[_0xaf0b('0x12')](function(_0x4b9031){_0x54c3be(_0x4b9031);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x20')]=function(_0x246e23,_0x159389){this['rpc'][_0xaf0b('0x21')](_0x246e23)[_0xaf0b('0x10')](function(_0x4beee6){_0x159389(null,_0x4beee6?_0x4beee6:![]);})[_0xaf0b('0x12')](function(_0x1dcd89){_0x159389(_0x1dcd89);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x22')]=function(_0x3935ca,_0x28d0a3,_0x3d6112){this[_0xaf0b('0x23')][_0xaf0b('0x22')](_0x3935ca,_0x28d0a3)['then'](function(){_0x3d6112(null);})[_0xaf0b('0x12')](function(_0x588726){_0x3d6112(_0x588726);});};AGIVertices['prototype']['getIntervals']=function(_0x1d6771,_0x3b0f51){this[_0xaf0b('0xe')][_0xaf0b('0x24')](_0x1d6771)[_0xaf0b('0x10')](function(_0x460e37){if(_0x460e37){if(_0x460e37['IntervalId']){_0x3b0f51(null,[_0x460e37[_0xaf0b('0x25')]]);}else{_0x3b0f51(null,_[_0xaf0b('0x26')](_0x460e37[_0xaf0b('0x27')],_0xaf0b('0x25')));}}else{_0x3b0f51(null,![]);}})[_0xaf0b('0x12')](function(_0x3a17e0){_0x3b0f51(_0x3a17e0);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x28')]=function(_0xf18f8){return util[_0xaf0b('0x29')]('%s/sounds/converted/%s',FILES_PATH,_0xf18f8);};AGIVertices[_0xaf0b('0xf')]['getQueryOdbc']=function(_0x2ed4bd,_0x478dec,_0x1f429d){odbc['open'](_0x2ed4bd,function(_0xc7ceff){if(_0xc7ceff){logger[_0xaf0b('0x2a')](_0xaf0b('0x2b'),_0xc7ceff);_0x1f429d(_0xc7ceff);}else{logger[_0xaf0b('0x2c')](_0xaf0b('0x2d'));odbc[_0xaf0b('0x2e')](_0x478dec,function(_0x39e8ec,_0x53df94){if(_0x39e8ec){logger[_0xaf0b('0x2c')](_0xaf0b('0x2f'),_0x478dec);_0x1f429d(_0x39e8ec);}else{logger[_0xaf0b('0x2c')](_0xaf0b('0x30'),_0x478dec);odbc['close'](function(_0xf44ffd){if(_0xf44ffd){logger[_0xaf0b('0x2a')](_0xaf0b('0x31'),_0xf44ffd);}_0x1f429d(null,_0x53df94);});}});}});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x32')]=function(_0x5df6d2,_0x21ef80){this[_0xaf0b('0xe')][_0xaf0b('0x33')](_0x5df6d2)[_0xaf0b('0x10')](function(_0x185d64){_0x21ef80(null,_0x185d64?_0x185d64:![]);})[_0xaf0b('0x12')](function(_0x41e4c5){_0x21ef80(_0x41e4c5);});};AGIVertices['prototype'][_0xaf0b('0x34')]=function(_0x4a7160,_0x3d12b2){this[_0xaf0b('0xe')][_0xaf0b('0x34')](_0x4a7160)[_0xaf0b('0x10')](function(_0x3c0e4b){_0x3d12b2(null,_0x3c0e4b);})[_0xaf0b('0x12')](function(_0x29a249){_0x3d12b2(_0x29a249);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x35')]=function(_0x4b604d,_0x1e0743,_0x1521c1){this[_0xaf0b('0xe')][_0xaf0b('0x35')]({'uniqueid':this[_0xaf0b('0xd')]['uniqueid'],'node':_0x4b604d[_0xaf0b('0x36')],'application':_0x4b604d['agicommand'],'data':_0x1e0743||null,'project_name':this[_0xaf0b('0xd')][_0xaf0b('0x37')],'callerid':this[_0xaf0b('0xd')][_0xaf0b('0x38')]})[_0xaf0b('0x10')](function(_0x2fa23b){if(_0x1521c1){_0x1521c1(null,_0x2fa23b);}})[_0xaf0b('0x12')](function(_0x1acc55){if(_0x1521c1){_0x1521c1(_0x1acc55);}});};AGIVertices[_0xaf0b('0xf')]['createSquareRecording']=function(_0x2e314a,_0x3fa620,_0x4d5ced,_0x3dc17c){this[_0xaf0b('0xe')][_0xaf0b('0x39')]({'uniqueid':this[_0xaf0b('0xd')][_0xaf0b('0x3a')],'callerid':this[_0xaf0b('0xd')][_0xaf0b('0x38')],'calleridname':this[_0xaf0b('0xd')][_0xaf0b('0x3b')],'context':this[_0xaf0b('0xd')][_0xaf0b('0x3c')],'extension':this['channel'][_0xaf0b('0x3d')],'priority':this[_0xaf0b('0xd')][_0xaf0b('0x3e')],'accountcode':this[_0xaf0b('0xd')][_0xaf0b('0x3f')],'dnid':this[_0xaf0b('0xd')][_0xaf0b('0x40')],'projectName':this[_0xaf0b('0xd')][_0xaf0b('0x37')],'saveName':_0x3fa620,'filename':_0x2e314a['file']||_0x3fa620,'savePath':_0x4d5ced})[_0xaf0b('0x10')](function(_0x598904){_0x3dc17c(null,_0x598904);})[_0xaf0b('0x12')](function(_0x3f8e17){_0x3dc17c(_0x3f8e17);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x41')]=function(_0x2064b6,_0x2d865f,_0x4d3f0e,_0x54922c,_0x321181){this[_0xaf0b('0xe')][_0xaf0b('0x41')]({'uniqueid':this[_0xaf0b('0xd')][_0xaf0b('0x3a')],'body':_0x2064b6,'direction':_0x2d865f,'providerName':_0x4d3f0e,'providerResponse':_0x54922c})['then'](function(_0x3e9b52){if(_0x321181){_0x321181(null,_0x3e9b52);}})[_0xaf0b('0x12')](function(_0x3cc93f){if(_0x321181){_0x321181(_0x3cc93f);}});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x42')]=function(_0x11c1d1,_0xc9d8c3){this['rpc'][_0xaf0b('0x42')]({'firstName':_[_0xaf0b('0x43')](_0x11c1d1[_0xaf0b('0x11')])||_['isNil'](_0x11c1d1[_0xaf0b('0x11')])?'callback_'+Math[_0xaf0b('0x44')]():_0x11c1d1[_0xaf0b('0x11')],'lastName':_[_0xaf0b('0x43')](_0x11c1d1[_0xaf0b('0x45')])||_['isNil'](_0x11c1d1[_0xaf0b('0x45')])?null:_0x11c1d1[_0xaf0b('0x45')],'phone':_0x11c1d1[_0xaf0b('0x46')],'ListId':_0x11c1d1[_0xaf0b('0x47')],'scheduledat':_0x11c1d1[_0xaf0b('0x48')],'callbackUniqueid':this[_0xaf0b('0xd')][_0xaf0b('0x3a')],'tags':_0xaf0b('0x49'),'description':_0xaf0b('0x4a')+_0x11c1d1['scheduledAt'][_0xaf0b('0x4b')](),'priority':_0x11c1d1['callback_priority']})[_0xaf0b('0x10')](function(_0x102da9){_0xc9d8c3(null,_0x102da9);})['catch'](function(_0x5e6d85){_0xc9d8c3(_0x5e6d85);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x4c')]=function(_0x586dd2,_0x2a229c){this['rpc'][_0xaf0b('0x4d')](_0x586dd2)[_0xaf0b('0x10')](function(_0x2d21ae){_0x2a229c(null,_0x2d21ae?_0x2d21ae['name']:![]);})[_0xaf0b('0x12')](function(_0xa6a4a2){_0x2a229c(_0xa6a4a2);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x4e')]=function(_0x29ea6b,_0x5e17d1,_0xfeddb9){var _0x1ce3ab={'role':'agent'};_0x1ce3ab[_0x29ea6b]=this[_0xaf0b('0xd')][_0xaf0b('0x38')];this[_0xaf0b('0xe')][_0xaf0b('0x4e')](_0x1ce3ab,_0x5e17d1,this[_0xaf0b('0xd')][_0xaf0b('0x3a')])[_0xaf0b('0x10')](function(_0x1aa20){_0xfeddb9(null,_[_0xaf0b('0x4f')](_0x1aa20)?![]:!![]);})[_0xaf0b('0x12')](function(_0x55cc97){logger[_0xaf0b('0x2a')](_0x55cc97);_0xfeddb9(null,![]);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x50')]=function(_0x42a4b4,_0x5ed57d){var _0x2189b7={'role':_0xaf0b('0x51')};_0x2189b7[_0x42a4b4]=this['channel']['callerid'];this[_0xaf0b('0xe')][_0xaf0b('0x50')](_0x2189b7)[_0xaf0b('0x10')](function(_0x486f73){_0x5ed57d(null,_['isNil'](_0x486f73)?![]:!![]);})['catch'](function(_0x4db608){logger['error'](_0x4db608);_0x5ed57d(null,![]);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x52')]=function(_0x9cf508,_0x939992){var _0x2db367={'role':'agent'};_0x2db367[_0x9cf508]=this[_0xaf0b('0xd')]['callerid'];this[_0xaf0b('0xe')][_0xaf0b('0x52')](_0x2db367)[_0xaf0b('0x10')](function(_0x409e41){_0x939992(null,_['isNil'](_0x409e41)?![]:!![]);})['catch'](function(_0x211d27){logger['error'](_0x211d27);_0x939992(null,![]);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x53')]=function(_0x5ce7c6,_0x2c5c3d){var _0x15d37e={'role':'agent'};_0x15d37e[_0x5ce7c6]=this['channel']['callerid'];var _0x16933c=_0x5ce7c6!=_0xaf0b('0x54')?util['format']('%s/%s@from-sip/n','LOCAL',this[_0xaf0b('0xd')]['callerid']):undefined;this['rpc'][_0xaf0b('0x53')](_0x15d37e,_0x16933c)[_0xaf0b('0x10')](function(_0x343073){_0x2c5c3d(null,_[_0xaf0b('0x4f')](_0x343073)?![]:!![]);})['catch'](function(_0x25554f){logger[_0xaf0b('0x2a')](_0x25554f);_0x2c5c3d(null,![]);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x55')]=function(_0x295ce6,_0x14d082){sh[_0xaf0b('0x56')](_[_0xaf0b('0x57')](_0x295ce6),function(_0x20a90c,_0x280534){var _0x4a5193=_0x280534[_0xaf0b('0x58')](/(\r\n|\n|\r)/gm,'');_0x14d082(null,_0x4a5193);});};AGIVertices[_0xaf0b('0xf')]['googleCloudTTS']=function(_0x2da4b4,_0x49f603){scripts[_0xaf0b('0x59')](_0x2da4b4[_0xaf0b('0x5a')],_0x2da4b4[_0xaf0b('0x5b')]||_0xaf0b('0x5c'),_0x2da4b4[_0xaf0b('0x5c')],_0x2da4b4['languageCode']||'en-US',_0x2da4b4[_0xaf0b('0x5d')]||_0xaf0b('0x5e'),_0x2da4b4[_0xaf0b('0x5f')]||'MP3')[_0xaf0b('0x10')](function(_0x2d4349){_0x49f603(null,_0x2d4349);})[_0xaf0b('0x12')](function(_0x270105){_0x49f603(_0x270105);});};AGIVertices['prototype'][_0xaf0b('0x60')]=function(_0x147a9a,_0x4d1a6e){scripts[_0xaf0b('0x60')](_0x147a9a[_0xaf0b('0x5c')],_0x147a9a['google_tts_language']||'en',0x1)[_0xaf0b('0x10')](function(_0xf9371f){_0x4d1a6e(null,_0xf9371f);})['catch'](function(_0x2bf83f){_0x4d1a6e(_0x2bf83f);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x61')]=function(_0x4caa18,_0x59d425){var _0x19ff45={'uri':_0x4caa18['url'],'method':_0x4caa18[_0xaf0b('0x62')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x4caa18['timeout'])===_0xaf0b('0x63')&&parseInt(_0x4caa18['timeout'])>=0x1?parseInt(_0x4caa18[_0xaf0b('0x64')])*0x3e8:0x5*0x3e8};if(_[_0xaf0b('0x65')](['POST',_0xaf0b('0x66')],_0x19ff45[_0xaf0b('0x62')]['toUpperCase']())){try{_0x19ff45[_0xaf0b('0x67')]=_0x4caa18[_0xaf0b('0x9')]?JSON[_0xaf0b('0x68')](_0x4caa18[_0xaf0b('0x9')]):{};}catch(_0x58c774){logger[_0xaf0b('0x2a')](_0xaf0b('0x69'),_0x58c774);}}try{_0x19ff45[_0xaf0b('0x6a')]=_0x4caa18['rawHeaders']?JSON[_0xaf0b('0x68')](_0x4caa18[_0xaf0b('0x6b')]):{};}catch(_0x20904a){logger[_0xaf0b('0x2a')](_0xaf0b('0x6c'),_0x20904a);}if(_0x4caa18['computedVariables']){try{var _0x4a9a7a=require(_0x4caa18[_0xaf0b('0x6d')])['sync'](this,_0x19ff45);_0x19ff45[_0xaf0b('0x6e')]=Mustache['render'](_0x4caa18[_0xaf0b('0x6f')],_0x4a9a7a,{},['$$','$$']);if(_0x19ff45[_0xaf0b('0x6a')]){_0x19ff45[_0xaf0b('0x6a')]=JSON[_0xaf0b('0x68')](Mustache[_0xaf0b('0x70')](JSON[_0xaf0b('0x71')](_0x19ff45[_0xaf0b('0x6a')]),_0x4a9a7a,{},['$$','$$']));}if(_0x19ff45[_0xaf0b('0x67')]){_0x19ff45['body']=JSON[_0xaf0b('0x68')](Mustache[_0xaf0b('0x70')](JSON[_0xaf0b('0x71')](_0x19ff45[_0xaf0b('0x67')]),_0x4a9a7a,{},['$$','$$']));}}catch(_0x3f7f1c){logger[_0xaf0b('0x2a')]('An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function',_0x3f7f1c);}}rp(_0x19ff45)[_0xaf0b('0x10')](function(_0x5c68ab){var _0x526039={'statusCode':_0x5c68ab[_0xaf0b('0x72')]||0xc8,'statusMessage':_0x5c68ab[_0xaf0b('0x73')]||'OK','headers':_0x5c68ab['headers']||{},'body':_0x5c68ab['body']||{}};_0x59d425(null,_0x526039);})[_0xaf0b('0x12')](function(_0x11fbfe){var _0x203019={'statusCode':_0x11fbfe[_0xaf0b('0x72')]||0x1f4,'statusMessage':_0x11fbfe[_0xaf0b('0x74')]||_0xaf0b('0x75'),'headers':_0x11fbfe['options'][_0xaf0b('0x6a')]||{},'body':_0x11fbfe['options'][_0xaf0b('0x67')]||{}};_0x59d425(null,_0x203019);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x76')]=function(_0x3a591d,_0x3334f8){scripts[_0xaf0b('0x76')](this['channel']['uniqueid'],_0x3a591d[_0xaf0b('0x77')],_0x3a591d[_0xaf0b('0x5c')],_0x3a591d[_0xaf0b('0x78')]||'en')['then'](function(_0x12e271){_0x3334f8(null,_0x12e271);})['catch'](function(_0x46a0d4){_0x3334f8(_0x46a0d4);});};AGIVertices['prototype'][_0xaf0b('0x79')]=function(_0x52ad66,_0x475268){scripts[_0xaf0b('0x79')](this[_0xaf0b('0xd')][_0xaf0b('0x3a')],_0x52ad66[_0xaf0b('0x7a')],_0x52ad66['client_email'],_0x52ad66['private_key'],_0x52ad66[_0xaf0b('0x5c')],_0x52ad66[_0xaf0b('0x7b')]||'en')['then'](function(_0x2d9af2){_0x475268(null,_0x2d9af2);})[_0xaf0b('0x12')](function(_0x2a5235){_0x475268(_0x2a5235);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x7c')]=function(_0x193b54,_0x221186){scripts[_0xaf0b('0x7c')](this[_0xaf0b('0xd')],_0x193b54)[_0xaf0b('0x10')](function(_0x5e7875){_0x221186(null,_0x5e7875);})[_0xaf0b('0x12')](function(_0x4a3f4a){_0x221186(_0x4a3f4a);});};AGIVertices['prototype'][_0xaf0b('0x7d')]=function(_0x4ce09c,_0x557671){scripts[_0xaf0b('0x7d')](_0x4ce09c[_0xaf0b('0x77')],_0x4ce09c[_0xaf0b('0x5c')],_0x4ce09c[_0xaf0b('0x7e')]||_0xaf0b('0x7f'),_0x4ce09c[_0xaf0b('0x80')])[_0xaf0b('0x10')](function(_0x383d9e){_0x557671(null,_0x383d9e);})[_0xaf0b('0x12')](function(_0x4bb377){_0x557671(_0x4bb377);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x81')]=function(_0xc26217,_0x1489d4,_0x2a6310){scripts[_0xaf0b('0x81')](_0x1489d4,_0xc26217[_0xaf0b('0x77')],_0xc26217[_0xaf0b('0x82')]||_0xaf0b('0x7f'),this[_0xaf0b('0x83')](_0xc26217[_0xaf0b('0x84')])?_0xc26217[_0xaf0b('0x84')]:undefined)[_0xaf0b('0x10')](function(_0x5317c7){_0x2a6310(null,_0x5317c7);})[_0xaf0b('0x12')](function(_0xa63fbb){_0x2a6310(_0xa63fbb);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x85')]=function(_0x1a97d2,_0x55003a){scripts[_0xaf0b('0x85')](_0x1a97d2[_0xaf0b('0x86')],_0x1a97d2[_0xaf0b('0x87')],_0x1a97d2[_0xaf0b('0x88')],_0x1a97d2[_0xaf0b('0x89')]||_0xaf0b('0x8a'),_0x1a97d2[_0xaf0b('0x5c')],_0x1a97d2[_0xaf0b('0x8b')]||_0xaf0b('0x5c'))[_0xaf0b('0x10')](function(_0x1f8e36){_0x55003a(null,_0x1f8e36);})[_0xaf0b('0x12')](function(_0x4a08b0){_0x55003a(_0x4a08b0);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x8c')]=function(_0x4b360c,_0x2e5f16){scripts['awsLex'](this[_0xaf0b('0xd')][_0xaf0b('0x3a')],_0x4b360c[_0xaf0b('0x86')],_0x4b360c[_0xaf0b('0x87')],_0x4b360c[_0xaf0b('0x8d')],_0x4b360c[_0xaf0b('0x5c')],_0x4b360c[_0xaf0b('0x8e')])[_0xaf0b('0x10')](function(_0x1ee7ed){_0x2e5f16(null,_0x1ee7ed);})[_0xaf0b('0x12')](function(_0x5beceb){_0x2e5f16(_0x5beceb);});};AGIVertices[_0xaf0b('0xf')]['googleASR']=function(_0x1ccdd5,_0x3e7bff,_0x402a82){scripts[_0xaf0b('0x8f')](_0x3e7bff,_0x1ccdd5[_0xaf0b('0x77')],_0x1ccdd5[_0xaf0b('0x90')]||'en-US')['then'](function(_0xbce52b){_0x402a82(null,_0xbce52b);})[_0xaf0b('0x12')](function(_0x28a66e){_0x402a82(_0x28a66e);});};AGIVertices[_0xaf0b('0xf')]['tildeASR']=function(_0x3c281d,_0x254392,_0x23e7d5){scripts['tildeASR'](_0x254392,_0x3c281d[_0xaf0b('0x91')],_0x3c281d['appsecret'],_0x3c281d[_0xaf0b('0x6e')])[_0xaf0b('0x10')](function(_0x54d554){_0x23e7d5(null,_0x54d554);})[_0xaf0b('0x12')](function(_0x1c3241){_0x23e7d5(_0x1c3241);});};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x92')]=function(_0x30095b){var _0x4a0f30=_[_0xaf0b('0x65')](verticesWithRetry,_0x30095b[_0xaf0b('0x93')])?_0x30095b:_[_0xaf0b('0x94')](_0x30095b);for(var _0x2eb732 in _0x4a0f30){if(_0x4a0f30['hasOwnProperty'](_0x2eb732)){if(_0x4a0f30[_0x2eb732]&&_[_0xaf0b('0x95')](_0x4a0f30[_0x2eb732])){if(_[_0xaf0b('0x65')](recursiveMapAttributes,_0x2eb732)){_0x4a0f30[_0x2eb732]=this['replaceObjectAllVariables'](_0x4a0f30[_0x2eb732]);}else{_0x4a0f30[_0x2eb732]=this[_0xaf0b('0x96')](_0x4a0f30[_0x2eb732]);}}}}return _0x4a0f30;};AGIVertices['prototype']['recursiveNodeIndex']=function(_0x499d78){for(var _0x2320fc in _0x499d78){if(_0x499d78['hasOwnProperty'](_0x2320fc)){if(_[_0xaf0b('0x97')](_0x499d78[_0x2320fc])){this[_0xaf0b('0x98')](_0x499d78[_0x2320fc]);}else if(_[_0xaf0b('0x99')](_0x499d78[_0x2320fc])){for(var _0x4d5550=0x0;_0x4d5550<_0x499d78[_0x2320fc][_0xaf0b('0x9a')];_0x4d5550++){this[_0xaf0b('0x98')](_0x499d78[_0x2320fc][_0x4d5550]);}}else if(_[_0xaf0b('0x95')](_0x499d78[_0x2320fc])){_0x499d78[_0x2320fc]=this['replaceAllVariables'](_0x499d78[_0x2320fc]);}}}};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x9b')]=function(_0x5d9a66,_0x47269f){for(var _0x3fc941 in _0x5d9a66){if(_0x5d9a66[_0xaf0b('0x9c')](_0x3fc941)){if(_[_0xaf0b('0x97')](_0x5d9a66[_0x3fc941])){if(!_[_0xaf0b('0x43')](_0x5d9a66[_0x3fc941])){this[_0xaf0b('0x9b')](_0x5d9a66[_0x3fc941],util['format'](_0xaf0b('0x9d'),_0x47269f,_0x3fc941));}}else if(_[_0xaf0b('0x99')](_0x5d9a66[_0x3fc941])){for(var _0x3560b8=0x0;_0x3560b8<_0x5d9a66[_0x3fc941][_0xaf0b('0x9a')];_0x3560b8++){this['saveRestApiResult'](_0x5d9a66[_0x3fc941][_0x3560b8],util[_0xaf0b('0x29')](_0xaf0b('0x9d'),_0x47269f,_0x3fc941+'['+_0x3560b8+']'));}}else{if(!_[_0xaf0b('0x4f')](_0x5d9a66[_0x3fc941])){this[_0xaf0b('0xd')][_0xaf0b('0x9e')](util['format'](_0xaf0b('0x9d'),_0x47269f,_0x3fc941),_0x5d9a66[_0x3fc941]);}}}}};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x9f')]=function(_0x37331e){try{var _0x147982=JSON[_0xaf0b('0x68')](_0x37331e);this[_0xaf0b('0x98')](_0x147982);return JSON[_0xaf0b('0x71')](_0x147982);}catch(_0x2eee90){return this[_0xaf0b('0x96')](_0x37331e);}};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x96')]=function(_0x673097){var _0x5d3b36=_0x673097[_0xaf0b('0xa0')]('{');for(var _0x5baa0a=0x1;_0x5baa0a<_0x5d3b36[_0xaf0b('0x9a')];_0x5baa0a+=0x1){var _0x2bfba1=_0x5d3b36[_0x5baa0a][_0xaf0b('0xa0')]('}');if(_0x2bfba1['length']>0x1){_0x673097=_0x673097['replaceAll']('{'+_0x2bfba1[0x0]+'}',this['channel'][_0xaf0b('0xa1')](_0x2bfba1[0x0])[_0xaf0b('0xa2')]||_0x2bfba1[0x0]);}}if(_0x5d3b36[_0xaf0b('0x9a')]===0x1){return _0x673097[_0xaf0b('0x4b')]();}return this[_0xaf0b('0x96')](_0x673097);};AGIVertices['prototype']['getAndSetVariable']=function(_0x56ef20,_0x22b98b){var _0x3c9df0=this[_0xaf0b('0xd')][_0xaf0b('0xa1')](_0x56ef20);if(_0x3c9df0[_0xaf0b('0xa3')]===-0x1){return _0x3c9df0;}logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0xa4'),_0x22b98b,_0x3c9df0[_0xaf0b('0xa2')]));return this['channel'][_0xaf0b('0x9e')](_0x22b98b,_0x3c9df0[_0xaf0b('0xa2')]);};AGIVertices['prototype']['isConfigured']=function(_0x543cfe){return _0x543cfe&&_0x543cfe!=='0'&&_0x543cfe!=='-1'&&_0x543cfe!=='';};AGIVertices[_0xaf0b('0xf')]['maxRetry']=function(_0x6092bc){this['createSquareDetailsReport']['sync'](this,_0x6092bc,'-');_0x6092bc[_0xaf0b('0xa5')]=_0x6092bc[_0xaf0b('0xa6')];return{'code':0xc8,'result':'-'};};AGIVertices['prototype']['mrcpsynth']=function(_0x430f76){logger['info'](util['format'](_0xaf0b('0xa7'),_0x430f76[_0xaf0b('0x36')]));if(!this['isConfigured'](_0x430f76[_0xaf0b('0x5c')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xa9'));}var _0x19f4ea='\x22'+_0x430f76[_0xaf0b('0x5c')]+'\x22';if(this[_0xaf0b('0x83')](_0x430f76[_0xaf0b('0xaa')])){_0x19f4ea+=','+_0x430f76['options'];}var _0x3ce1c0=this[_0xaf0b('0xd')][_0xaf0b('0x56')](_0xaf0b('0xab'),_0x19f4ea);if(_0x3ce1c0['result']===-0x1){return _0x3ce1c0;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0xac'),_0x19f4ea));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xad')]=function(_0x15f206){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0xae'),_0x15f206[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x15f206['grammar'])){return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0xaf'));}var _0x304092=_0x15f206['grammar'];if(this[_0xaf0b('0x83')](_0x15f206[_0xaf0b('0xaa')])){_0x304092+=','+_0x15f206[_0xaf0b('0xaa')];}var _0x443e35=this[_0xaf0b('0xd')]['exec'](_0xaf0b('0xb0'),_0x304092);if(_0x443e35[_0xaf0b('0xa3')]===-0x1){return _0x443e35;}var _0x26979b=this[_0xaf0b('0xb1')]('RECOG_CONFIDENCE()',_0xaf0b('0xb2'));if(_0x26979b[_0xaf0b('0xa3')]===-0x1){return _0x26979b;}var _0x2ad8a7=this['getAndSetVariable'](_0xaf0b('0xb3'),'MRCP_RECOG_TRANSCRIPT');if(_0x2ad8a7[_0xaf0b('0xa3')]===-0x1){return _0x2ad8a7;}var _0x54da9a=this[_0xaf0b('0xb1')](_0xaf0b('0xb4'),_0xaf0b('0xb5'));if(_0x54da9a[_0xaf0b('0xa3')]===-0x1){return _0x54da9a;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0xb6'),_0x304092));};AGIVertices[_0xaf0b('0xf')]['agi']=function(_0x3efef6){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0xb7'),_0x3efef6[_0xaf0b('0x36')]));return this[_0xaf0b('0xd')][_0xaf0b('0x7')]([_0x3efef6['command'],_0x3efef6[_0xaf0b('0xb8')]]);};AGIVertices['prototype'][_0xaf0b('0xb9')]=function(_0x5b901b){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0xba'),_0x5b901b[_0xaf0b('0x36')]));if(this[_0xaf0b('0x83')](_0x5b901b[_0xaf0b('0x64')])){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0xbb'),_0x5b901b[_0xaf0b('0x64')]));var _0xea8245=this[_0xaf0b('0xd')][_0xaf0b('0xbc')](_0x5b901b[_0xaf0b('0x64')]);if(_0xea8245['result']===-0x1){return _0xea8245;}}return this[_0xaf0b('0xd')][_0xaf0b('0xb9')]();};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x49')]=function(_0xd38f01){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0xbd'),_0xd38f01[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0xd38f01[_0xaf0b('0x47')])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0xd38f01,'no\x20list\x20selected');}_0xd38f01[_0xaf0b('0x48')]=moment();if(this[_0xaf0b('0x83')](_0xd38f01[_0xaf0b('0xbe')])){_0xd38f01['scheduledAt']=moment()[_0xaf0b('0xbf')](_0xd38f01['delay'],'minutes');}if(!this['isConfigured'](_0xd38f01[_0xaf0b('0xc0')])){_0xd38f01[_0xaf0b('0xc0')]=0x2;}this['createCmContact'][_0xaf0b('0xc1')](this,_0xd38f01);return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')]('CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s',_0xd38f01['phone'],_0xd38f01[_0xaf0b('0x47')],_0xd38f01['scheduledAt']));};AGIVertices[_0xaf0b('0xf')]['custom_app']=function(_0x5c8de4){logger['info'](util['format'](_0xaf0b('0xc2'),_0x5c8de4[_0xaf0b('0x36')]));var _0x1297d9=this['channel'][_0xaf0b('0x56')](_0x5c8de4[_0xaf0b('0xc3')],_0x5c8de4[_0xaf0b('0xaa')]);if(_0x1297d9[_0xaf0b('0xa3')]===-0x1){return _0x1297d9;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format']('Executed\x20command\x20%s\x20%s',_0x5c8de4[_0xaf0b('0xc3')],_0x5c8de4[_0xaf0b('0xaa')]));};AGIVertices[_0xaf0b('0xf')]['lumenvoxtts']=function(_0x98a5d3){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0xc4'),_0x98a5d3[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x98a5d3[_0xaf0b('0x5c')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')]('no\x20text\x20configured');}var _0x49edca='\x22'+_0x98a5d3[_0xaf0b('0x5c')]+'\x22';if(this['isConfigured'](_0x98a5d3[_0xaf0b('0xaa')])){_0x49edca+=','+_0x98a5d3['options'];}var _0x3d551b=this[_0xaf0b('0xd')][_0xaf0b('0x56')](_0xaf0b('0xab'),_0x49edca);if(_0x3d551b[_0xaf0b('0xa3')]===-0x1){return _0x3d551b;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0xac'),_0x49edca));};AGIVertices['prototype'][_0xaf0b('0xc5')]=function(_0x5bb93f){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')]('Enter\x20in\x20SESTEKTTS\x20(%s)\x20block',_0x5bb93f[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x5bb93f[_0xaf0b('0x5c')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')]('no\x20text\x20configured');}var _0x19b9b3='\x22'+_0x5bb93f[_0xaf0b('0x5c')]+'\x22';if(this[_0xaf0b('0x83')](_0x5bb93f['options'])){_0x19b9b3+=','+_0x5bb93f['options'];}var _0x3042a7=this['channel'][_0xaf0b('0x56')](_0xaf0b('0xab'),_0x19b9b3);if(_0x3042a7[_0xaf0b('0xa3')]===-0x1){return _0x3042a7;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format'](_0xaf0b('0xac'),_0x19b9b3));};AGIVertices['prototype'][_0xaf0b('0xc6')]=function(_0x5d038f){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')]('Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block',_0x5d038f[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x5d038f[_0xaf0b('0xc7')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xaf'));}var _0x863398=_0x5d038f[_0xaf0b('0xc7')];if(this[_0xaf0b('0x83')](_0x5d038f[_0xaf0b('0xaa')])){_0x863398+=','+_0x5d038f[_0xaf0b('0xaa')];}var _0x4e540e=this[_0xaf0b('0xd')]['exec'](_0xaf0b('0xb0'),_0x863398);if(_0x4e540e[_0xaf0b('0xa3')]===-0x1){return _0x4e540e;}var _0x33edb2=this['getAndSetVariable'](_0xaf0b('0xc8'),_0xaf0b('0xc9'));if(_0x33edb2[_0xaf0b('0xa3')]===-0x1){return _0x33edb2;}var _0x24ea00=this[_0xaf0b('0xb1')](_0xaf0b('0xb3'),'LUMENVOX_ASR_TRANSCRIPT');if(_0x24ea00[_0xaf0b('0xa3')]===-0x1){return _0x24ea00;}var _0x443afc=this['getAndSetVariable'](_0xaf0b('0xb4'),_0xaf0b('0xca'));if(_0x443afc['result']===-0x1){return _0x443afc;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format'](_0xaf0b('0xb6'),_0x863398));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xcb')]=function(_0x2aafa1){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0xcc'),_0x2aafa1[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x2aafa1[_0xaf0b('0xc7')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')]('no\x20grammar\x20configured');}var _0x989c3f=_0x2aafa1[_0xaf0b('0xc7')];if(this[_0xaf0b('0x83')](_0x2aafa1[_0xaf0b('0xaa')])){_0x989c3f+=','+_0x2aafa1[_0xaf0b('0xaa')];}var _0x25ed49=this[_0xaf0b('0xd')][_0xaf0b('0x56')](_0xaf0b('0xb0'),_0x989c3f);if(_0x25ed49['result']===-0x1){return _0x25ed49;}var _0x334d81=this['getAndSetVariable']('RECOG_CONFIDENCE()','SESTEK_ASR_CONFIDENCE');if(_0x334d81[_0xaf0b('0xa3')]===-0x1){return _0x334d81;}var _0x47b5dd=this[_0xaf0b('0xb1')](_0xaf0b('0xb3'),_0xaf0b('0xcd'));if(_0x47b5dd[_0xaf0b('0xa3')]===-0x1){return _0x47b5dd;}var _0x223350=this[_0xaf0b('0xb1')](_0xaf0b('0xb4'),_0xaf0b('0xce'));if(_0x223350['result']===-0x1){return _0x223350;}return this[_0xaf0b('0xd')]['noop'](util['format']('Executed\x20command\x20MRCPRecog\x20%s',_0x989c3f));};AGIVertices[_0xaf0b('0xf')]['database']=function(_0x13fbf4){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')]('Enter\x20in\x20DATABASE\x20(%s)\x20block',_0x13fbf4[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x13fbf4[_0xaf0b('0xcf')])){return this['channel'][_0xaf0b('0x2a')](_0x13fbf4,_0xaf0b('0xd0'));}var _0x38b9c6=this[_0xaf0b('0x16')][_0xaf0b('0xc1')](this,_0x13fbf4[_0xaf0b('0xcf')]);if(!_0x38b9c6){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x13fbf4,_0xaf0b('0xd1'));}if(!this[_0xaf0b('0x83')](_0x13fbf4[_0xaf0b('0x2e')])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x13fbf4,_0xaf0b('0xd2'));}var _0x64eb5=_0x13fbf4[_0xaf0b('0x2e')][_0xaf0b('0x58')](/(\r\n|\n|\r)/gm,'\x20');this['channel']['noop'](util['format'](_0xaf0b('0xd3'),_0x64eb5));var _0x4f8c4d=this['getQueryOdbc'][_0xaf0b('0xc1')](this,_0x38b9c6,_0x64eb5);this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0x13fbf4,_0x64eb5);if(!this['isConfigured'](_0x13fbf4[_0xaf0b('0xd4')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xd5'));}var _0x599abc=this[_0xaf0b('0xa1')]['sync'](this,_0x13fbf4[_0xaf0b('0xd4')]);if(!_0x599abc){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x13fbf4,_0xaf0b('0xd6'));}var _0x1e887e=this;_0x4f8c4d[_0xaf0b('0xd7')](function(_0x53a820,_0x31d5ad){Object[_0xaf0b('0xd8')](_0x53a820)[_0xaf0b('0xd7')](function(_0x2ae51c){_0x1e887e[_0xaf0b('0xd')][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0xd9'),_0x599abc,_0x31d5ad,_0x2ae51c),_0x53a820[_0x2ae51c]);});});this[_0xaf0b('0xd')][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0xda'),_0x599abc),_0x4f8c4d[_0xaf0b('0x9a')]);return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0xdb'),_0x599abc));};AGIVertices['prototype'][_0xaf0b('0xdc')]=function(_0xc2f35b){logger[_0xaf0b('0xdd')](util[_0xaf0b('0x29')](_0xaf0b('0xde'),_0xc2f35b[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0xc2f35b['sip_id'])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0xc2f35b,_0xaf0b('0xdf'));}var _0x1dcbbd=this[_0xaf0b('0x19')]['sync'](this,_0xc2f35b[_0xaf0b('0xe0')]);if(!_0x1dcbbd){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0xc2f35b,_0xaf0b('0xe1'));}var _0x87e133=this[_0xaf0b('0xd')][_0xaf0b('0x56')](_0xaf0b('0xe2'),[util[_0xaf0b('0x29')](_0xaf0b('0xe3'),_0x1dcbbd),_0xc2f35b[_0xaf0b('0x64')],_0xc2f35b['opts'],_0xc2f35b[_0xaf0b('0x6f')]]);if(_0x87e133[_0xaf0b('0xa3')]===-0x1){return _0x87e133;}return this[_0xaf0b('0xd')]['noop'](util['format']('Executed\x20command\x20%s',_0xaf0b('0xe2')));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xe4')]=function(_0x5d7e06){logger['info'](util[_0xaf0b('0x29')]('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x5d7e06['label']));if(!this[_0xaf0b('0x83')](_0x5d7e06[_0xaf0b('0x77')])){return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0xe5'));}if(!this[_0xaf0b('0x83')](_0x5d7e06['text'])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')]('no\x20text\x20configured');}this['channel'][_0xaf0b('0xe6')]=!![];this[_0xaf0b('0x35')](_0x5d7e06);this[_0xaf0b('0x41')](_0x5d7e06[_0xaf0b('0x5c')],'in','','');this[_0xaf0b('0xd')]['noop'](util[_0xaf0b('0x29')](_0xaf0b('0xe7'),_0x5d7e06[_0xaf0b('0x5c')]));var _0x4195a9=this[_0xaf0b('0x76')][_0xaf0b('0xc1')](this,_0x5d7e06);if(_0x4195a9){for(var _0x326e32 in _0x4195a9){if(_0x4195a9[_0xaf0b('0x9c')](_0x326e32)){this[_0xaf0b('0xd')]['setVariable'](util[_0xaf0b('0x29')]('DIALOGFLOW_%s',_0x326e32['toUpperCase']()),_0x4195a9[_0x326e32]);}}this['createSquareMessage'](_0x4195a9['speech'],_0xaf0b('0xe8'),_0xaf0b('0xe4'),'');return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0xe9'),_0x4195a9[_0xaf0b('0xea')]));}return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x5d7e06,_0xaf0b('0xeb'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xec')]=function(_0x2e3c37){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0xed'),_0x2e3c37[_0xaf0b('0x36')]));if(!this['isConfigured'](_0x2e3c37[_0xaf0b('0x7a')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xee'));}if(!this['isConfigured'](_0x2e3c37[_0xaf0b('0xef')])){return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0xf0'));}if(!this[_0xaf0b('0x83')](_0x2e3c37['private_key'])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xf1'));}if(!this[_0xaf0b('0x83')](_0x2e3c37[_0xaf0b('0x7b')])){return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0xf2'));}if(!this[_0xaf0b('0x83')](_0x2e3c37[_0xaf0b('0x5c')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xa9'));}this[_0xaf0b('0xd')][_0xaf0b('0xe6')]=!![];this[_0xaf0b('0x35')](_0x2e3c37);this[_0xaf0b('0x41')](_0x2e3c37[_0xaf0b('0x5c')],'in','','');this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format'](_0xaf0b('0xf3'),_0x2e3c37[_0xaf0b('0x5c')]));var _0x1631eb=this[_0xaf0b('0x79')][_0xaf0b('0xc1')](this,_0x2e3c37);if(_0x1631eb){for(var _0x423213 in _0x1631eb){if(_0x1631eb[_0xaf0b('0x9c')](_0x423213)){if(_0x423213!==_0xaf0b('0xf4')){this['channel']['setVariable'](util[_0xaf0b('0x29')](_0xaf0b('0xf5'),_0x423213[_0xaf0b('0xf6')]()),_0x1631eb[_0x423213]);}}}this[_0xaf0b('0x41')](_0x1631eb[_0xaf0b('0xea')],'out','dialogflowV2',_0x1631eb[_0xaf0b('0xf4')]);return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format'](_0xaf0b('0xf7'),_0x1631eb[_0xaf0b('0xea')]));}return this['channel'][_0xaf0b('0x2a')](_0x2e3c37,_0xaf0b('0xf8'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xf9')]=function(_0x21626e){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0xfa'),_0x21626e['label']));if(!this[_0xaf0b('0x83')](_0x21626e[_0xaf0b('0xfb')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xfc'));}if(!this[_0xaf0b('0x83')](_0x21626e['username'])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')]('no\x20username\x20configured');}if(!this['isConfigured'](_0x21626e[_0xaf0b('0xfd')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xfe'));}if(!this['isConfigured'](_0x21626e['ndassistant_url'])){return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0xa9'));}this[_0xaf0b('0xd')][_0xaf0b('0xe6')]=!![];this[_0xaf0b('0x35')](_0x21626e);this[_0xaf0b('0x41')](_0x21626e['text'],'in','','');this[_0xaf0b('0xd')]['noop'](util[_0xaf0b('0x29')](_0xaf0b('0xff'),_0x21626e[_0xaf0b('0x5c')]));var _0x5e8d27=this[_0xaf0b('0x7c')][_0xaf0b('0xc1')](this,_0x21626e);if(_0x5e8d27){for(var _0x962fc0 in _0x5e8d27){if(_0x5e8d27[_0xaf0b('0x9c')](_0x962fc0)){this[_0xaf0b('0xd')][_0xaf0b('0x9e')](util['format'](_0xaf0b('0x100'),_0x962fc0['toUpperCase']()),_0x5e8d27[_0x962fc0]);}}this[_0xaf0b('0x41')](_0x5e8d27[_0xaf0b('0xea')],_0xaf0b('0xe8'),_0xaf0b('0xf9'),'');if(_0x5e8d27[_0xaf0b('0x101')]){this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format'](_0xaf0b('0x102'),_0x5e8d27['audiofile']));var _0x96cc5d=this['channel'][_0xaf0b('0x103')](_0x5e8d27[_0xaf0b('0x101')]);try{fs[_0xaf0b('0x104')](_0x5e8d27['audiofile']+'.wav');}catch(_0x2bcf33){logger[_0xaf0b('0x2a')](_0x2bcf33);}return _0x96cc5d;}else{return this['channel']['noop'](util['format']('SestekNDA\x20Result\x20%s',_0x5e8d27[_0xaf0b('0xea')]));}}return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x21626e,_0xaf0b('0x105'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x106')]=function(_0x3a27cf){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x107'),_0x3a27cf['label']));return this['channel'][_0xaf0b('0xa8')](_0xaf0b('0x106'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x108')]=function(_0x1052e8){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x109'),_0x1052e8[_0xaf0b('0x36')]));var _0x4c8ae9='';if(_0x1052e8[_0xaf0b('0x10a')]){if(!this[_0xaf0b('0x83')](_0x1052e8[_0xaf0b('0x10a')])){return this['channel'][_0xaf0b('0x2a')](_0x1052e8,_0xaf0b('0x10b'));}else{var _0x3247b7=parseInt(_0x1052e8[_0xaf0b('0x10a')],0xa);if(isNaN(_0x3247b7)){_0x4c8ae9=_0x1052e8[_0xaf0b('0x10a')];}else{_0x4c8ae9=this[_0xaf0b('0x1b')]['sync'](this,_0x1052e8['trunk_id']);if(!_0x4c8ae9){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x1052e8,_0xaf0b('0x10c'));}}}}else if(_0x1052e8[_0xaf0b('0x10d')]){_0x4c8ae9=_0x1052e8['trunk_name'];}else{return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x1052e8,'no\x20trunk\x20selected');}var _0x250cfa=this['channel']['exec']('DIAL',[util[_0xaf0b('0x29')](_0xaf0b('0x10e'),_0x4c8ae9,_0x1052e8['phone']),_0x1052e8[_0xaf0b('0x64')],_0x1052e8[_0xaf0b('0x10f')],_0x1052e8[_0xaf0b('0x6f')]]);if(_0x250cfa['result']===-0x1){return _0x250cfa;}return this['channel'][_0xaf0b('0xa8')](util['format']('Executed\x20command\x20%s','DIAL'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x110')]=function(_0x5ea2c8){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x111'),_0x5ea2c8[_0xaf0b('0x36')]));return this[_0xaf0b('0xd')][_0xaf0b('0xa8')]('finally');};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xb')]=function(_0x382cdd){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x112'),_0x382cdd[_0xaf0b('0x36')]));if(_0x382cdd['retry']===0x0){return this['maxRetry'](_0x382cdd);}_0x382cdd[_0xaf0b('0xa5')]-=0x1;if(!this[_0xaf0b('0x83')](_0x382cdd[_0xaf0b('0x113')])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x382cdd,_0xaf0b('0x114'));}var _0x5f5b39=this['getSound'][_0xaf0b('0xc1')](this,_0x382cdd[_0xaf0b('0x113')]);if(!_0x5f5b39){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x382cdd,_0xaf0b('0x115'));}if(!this[_0xaf0b('0x83')](_0x382cdd['variable_id'])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0xaf0b('0xd5'));}var _0x59636d=this['channel'][_0xaf0b('0x116')](_0x5f5b39,_0x382cdd[_0xaf0b('0x117')],_0x382cdd[_0xaf0b('0x118')]);var _0x27511d=_0x59636d['result']?_0x59636d['result'][_0xaf0b('0x4b')]():'';logger[_0xaf0b('0x2c')]('test',JSON[_0xaf0b('0x71')](_0x59636d));if(_0x59636d[_0xaf0b('0xa3')]===-0x1){this[_0xaf0b('0x35')]['sync'](this,_0x382cdd,_0x27511d);return _0x59636d;}else if(_0x59636d['extra']===_0xaf0b('0x64')){_0x59636d[_0xaf0b('0xa3')]=_0x27511d[_0xaf0b('0x9a')]>=parseInt(_0x382cdd['mindigit'])?'x':'i';}else{_0x59636d[_0xaf0b('0xa3')]=_0x27511d[_0xaf0b('0x9a')]>=parseInt(_0x382cdd[_0xaf0b('0x119')])&&_0x27511d['length']<=parseInt(_0x382cdd[_0xaf0b('0x118')])?'x':'i';}var _0x2c84d6=this['getVariable'][_0xaf0b('0xc1')](this,_0x382cdd[_0xaf0b('0xd4')]);if(!_0x2c84d6){return this[_0xaf0b('0xd')]['error'](_0x382cdd,'no\x20variable\x20found');}this[_0xaf0b('0xd')][_0xaf0b('0x9e')](_0x2c84d6,_0x27511d);if(this[_0xaf0b('0x83')](_0x382cdd[_0xaf0b('0x11a')])){var _0x5dd16c=parseInt(_0x382cdd[_0xaf0b('0x11a')],0xa);var _0x58f374=rs['generate']({'charset':'*','length':_0x5dd16c});var _0x221e02=_0x27511d['length'];if(_0x221e02>0x0){if(_0x221e02>_0x5dd16c){this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0x382cdd,_0x382cdd[_0xaf0b('0x11b')]===_0xaf0b('0x11c')?_0x58f374+_0x27511d['substr'](_0x5dd16c):_0x27511d['substr'](0x0,_0x221e02-_0x5dd16c)+_0x58f374);}else{this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0x382cdd,rs[_0xaf0b('0x11d')]({'charset':'*','length':_0x221e02}));}}else{this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0x382cdd,'');}}else{this['createSquareDetailsReport'][_0xaf0b('0xc1')](this,_0x382cdd,_0x27511d);}return _0x59636d;};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xc')]=function(_0x4ae148){logger['info'](util['format'](_0xaf0b('0x11e'),_0x4ae148['label']));return this[_0xaf0b('0xb')](_0x4ae148);};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x11f')]=function(_0xabc144){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')]('Enter\x20in\x20GOAL\x20(%s)\x20block',_0xabc144[_0xaf0b('0x36')]));this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0xabc144,_0xabc144['goalname']);return this[_0xaf0b('0xd')]['noop'](util[_0xaf0b('0x29')]('GOAL\x20%s',_0xabc144[_0xaf0b('0x120')]));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x121')]=function(_0x33b66a){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x122'),_0x33b66a['label']));if(!this['isConfigured'](_0x33b66a[_0xaf0b('0x86')])||!this['isConfigured'](_0x33b66a[_0xaf0b('0x87')])){return this['channel'][_0xaf0b('0xa8')](_0xaf0b('0x123'));}if(!this[_0xaf0b('0x83')](_0x33b66a[_0xaf0b('0x5c')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xa9'));}this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x124'),_0x33b66a[_0xaf0b('0x5c')]));var _0x7f3c2f=this[_0xaf0b('0x85')][_0xaf0b('0xc1')](this,_0x33b66a);if(_0x7f3c2f){this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format'](_0xaf0b('0x125'),_0x7f3c2f));var _0x2f8067=this[_0xaf0b('0xd')][_0xaf0b('0x103')](_0x7f3c2f);try{fs[_0xaf0b('0x104')](_0x7f3c2f+_0xaf0b('0x126'));}catch(_0x5cfb13){logger[_0xaf0b('0x2a')](_0x5cfb13);}return _0x2f8067;}return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x33b66a,_0xaf0b('0x127'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x128')]=function(_0x4b630d){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x129'),_0x4b630d[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x4b630d[_0xaf0b('0x86')])||!this[_0xaf0b('0x83')](_0x4b630d['aws_secret_access_key'])){return this[_0xaf0b('0xd')]['noop']('no\x20valid\x20credentials\x20configured');}if(!this[_0xaf0b('0x83')](_0x4b630d['aws_bot_name'])){return this[_0xaf0b('0xd')]['noop']('no\x20bot\x20name\x20configured');}if(!this[_0xaf0b('0x83')](_0x4b630d['text'])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0xa9'));}this[_0xaf0b('0xd')][_0xaf0b('0xe6')]=!![];this[_0xaf0b('0x35')](_0x4b630d);this[_0xaf0b('0x41')](_0x4b630d[_0xaf0b('0x5c')],'in','','');this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x12a'),_0x4b630d[_0xaf0b('0x5c')]));var _0x237b41=this[_0xaf0b('0x8c')][_0xaf0b('0xc1')](this,_0x4b630d);if(_0x237b41){for(var _0x4f4b03 in _0x237b41){if(_0x237b41[_0xaf0b('0x9c')](_0x4f4b03)&&_[_0xaf0b('0x95')](_0x237b41[_0x4f4b03])){this[_0xaf0b('0xd')][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0x12b'),_0x4f4b03[_0xaf0b('0xf6')]()),_0x237b41[_0x4f4b03]);}}if(_[_0xaf0b('0x4f')](_0x237b41['message'])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0x12c'));}else{this['createSquareMessage'](_0x237b41['message'],'out',_0xaf0b('0x12d'),'');return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x12e'),_0x237b41[_0xaf0b('0x74')]));}}return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x4b630d,_0xaf0b('0x12f'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x130')]=function(_0x2a158c){logger['info'](util[_0xaf0b('0x29')]('Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s',_0x2a158c[_0xaf0b('0x36')],_0x2a158c[_0xaf0b('0x64')]));if(!this['isConfigured'](_0x2a158c['key'])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')]('no\x20key\x20configured');}var _0x5a8d3f=_0xaf0b('0x131');var _0x24121a=util[_0xaf0b('0x29')](_0xaf0b('0x132'),FILES_PATH,rs[_0xaf0b('0x11d')](0x4));var _0x1a946b=util[_0xaf0b('0x29')](_0xaf0b('0x9d'),_0x24121a,_0x5a8d3f);var _0x12aa89=!![];if(_0x2a158c['beep']===_0xaf0b('0x133')){_0x12aa89=![];}var _0x44c532=this[_0xaf0b('0xd')]['recordFile'](_0x24121a,_0x5a8d3f,_0x2a158c[_0xaf0b('0x134')],_0x2a158c[_0xaf0b('0x64')],undefined,_0x12aa89);if(_0x44c532[_0xaf0b('0xa3')]!==-0x1){this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x135'),_0x1a946b));var _0x59653e=this['googleASR'][_0xaf0b('0xc1')](this,_0x2a158c,_0x1a946b);if(_0x59653e){for(var _0xceb92 in _0x59653e){if(_0x59653e[_0xaf0b('0x9c')](_0xceb92)){this['channel'][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0x136'),_0xceb92[_0xaf0b('0xf6')]()),_0x59653e[_0xceb92]);}}return this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')]('GoogleASR\x20Result\x20%s',JSON['stringify'](_0x59653e)));}}return _0x44c532;};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x137')]=function(_0x524651){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x138'),_0x524651[_0xaf0b('0x36')]));if(!this['isConfigured'](_0x524651[_0xaf0b('0x91')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0x139'));}if(!this[_0xaf0b('0x83')](_0x524651[_0xaf0b('0x13a')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0x13b'));}var _0x17e33d=_0xaf0b('0x131');var _0x199617=util[_0xaf0b('0x29')](_0xaf0b('0x132'),FILES_PATH,rs[_0xaf0b('0x11d')](0x4));var _0x281cea=util['format'](_0xaf0b('0x9d'),_0x199617,_0x17e33d);var _0x59694a=!![];if(_0x524651[_0xaf0b('0x13c')]==='NOBEEP'){_0x59694a=![];}var _0x18c7c9=this[_0xaf0b('0xd')][_0xaf0b('0x13d')](_0x199617,_0x17e33d,_0x524651['intKey'],_0x524651[_0xaf0b('0x64')],undefined,_0x59694a);if(_0x18c7c9[_0xaf0b('0xa3')]!==-0x1){this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x13e'),_0x281cea));var _0x47270d=this[_0xaf0b('0x13f')][_0xaf0b('0xc1')](this,_0x524651,_0x281cea);if(_0x47270d){for(var _0x51d450 in _0x47270d){if(_0x47270d['hasOwnProperty'](_0x51d450)){this[_0xaf0b('0xd')][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0x140'),_0x51d450[_0xaf0b('0xf6')]()),_0x47270d[_0x51d450]);}}return this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x141'),JSON[_0xaf0b('0x71')](_0x47270d)));}}return _0x18c7c9;};AGIVertices['prototype'][_0xaf0b('0x142')]=function(_0x344cbe){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x143'),_0x344cbe[_0xaf0b('0x36')]));return this[_0xaf0b('0xd')][_0xaf0b('0x144')](_0x344cbe[_0xaf0b('0x3c')],_0x344cbe['extension'],_0x344cbe[_0xaf0b('0x3e')]);};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x145')]=function(_0x27cf00){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x146'),_0x27cf00[_0xaf0b('0x36')]));if(!this['isConfigured'](_0x27cf00['condition'])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x27cf00,_0xaf0b('0x147'));}try{var _0x1ec4a3=eval(_0x27cf00['condition'])?_0xaf0b('0x148'):'false';this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format']('EVAL\x20CONDITION\x20%s\x20%s',_0x27cf00[_0xaf0b('0x149')],_0x1ec4a3));return{'code':0xc8,'result':_0x1ec4a3};}catch(_0x127f23){return{'code':0xc8,'result':'false'};}};AGIVertices['prototype'][_0xaf0b('0x14a')]=function(_0x26d341){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x14b'),_0x26d341['label']));if(!this[_0xaf0b('0x83')](_0x26d341[_0xaf0b('0x14c')])){return this[_0xaf0b('0xd')]['error'](_0x26d341,_0xaf0b('0x14d'));}var _0x287f90=this['getIntervals'][_0xaf0b('0xc1')](this,_0x26d341[_0xaf0b('0x14c')]);if(!_0x287f90){return this[_0xaf0b('0xd')]['error'](_0x26d341,'no\x20intervals\x20found');}for(var _0x52d7e1=0x0;_0x52d7e1<_0x287f90[_0xaf0b('0x9a')];_0x52d7e1+=0x1){var _0x45a5ca=this[_0xaf0b('0xd')][_0xaf0b('0xa1')](util[_0xaf0b('0x29')](_0xaf0b('0x14e'),_0x287f90[_0x52d7e1]));if(_0x45a5ca[_0xaf0b('0xa3')]===-0x1){return _0x45a5ca;}logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x14f'),_0x287f90[_0x52d7e1],_0x45a5ca['extra']));if(_0x45a5ca[_0xaf0b('0xa2')]===_0xaf0b('0x148')){logger['info'](util['format'](_0xaf0b('0x14f'),_0x287f90[_0x52d7e1],_0xaf0b('0x148')));this[_0xaf0b('0xd')]['noop'](util[_0xaf0b('0x29')](_0xaf0b('0x14f'),_0x287f90[_0x52d7e1],_0xaf0b('0x148')));return{'code':0xc8,'result':'true'};}else{logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x14f'),_0x287f90[_0x52d7e1],_0xaf0b('0x150')));this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x14f'),_0x287f90[_0x52d7e1],_0xaf0b('0x150')));}}return{'code':0xc8,'result':_0xaf0b('0x150')};};AGIVertices[_0xaf0b('0xf')]['hangup']=function(_0x10ac3a){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0x151'),_0x10ac3a[_0xaf0b('0x36')]));return this[_0xaf0b('0xd')][_0xaf0b('0x152')]();};AGIVertices[_0xaf0b('0xf')]['ispeechasr']=function(_0x396d7c){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x153'),_0x396d7c['label']));if(!this[_0xaf0b('0x83')](_0x396d7c['key'])){return this['channel'][_0xaf0b('0xa8')](_0xaf0b('0xe5'));}var _0xb8bbfc=_0xaf0b('0x131');var _0x1ad010=util[_0xaf0b('0x29')](_0xaf0b('0x132'),FILES_PATH,rs[_0xaf0b('0x11d')](0x4));var _0x3f58be=util[_0xaf0b('0x29')](_0xaf0b('0x9d'),_0x1ad010,_0xb8bbfc);var _0x259392=!![];if(_0x396d7c[_0xaf0b('0x13c')]===_0xaf0b('0x133')){_0x259392=![];}var _0x874f5a=this[_0xaf0b('0xd')][_0xaf0b('0x13d')](_0x1ad010,_0xb8bbfc,_0x396d7c[_0xaf0b('0x134')],_0x396d7c['timeout'],undefined,_0x259392);if(_0x874f5a[_0xaf0b('0xa3')]!==-0x1){this[_0xaf0b('0xd')]['noop'](util['format']('ispeech\x20%s\x20file\x20created',_0x3f58be));var _0x24b8aa=this[_0xaf0b('0x81')]['sync'](this,_0x396d7c,_0x3f58be);if(_0x24b8aa){for(var _0x1a9126 in _0x24b8aa){if(_0x24b8aa['hasOwnProperty'](_0x1a9126)){this[_0xaf0b('0xd')]['setVariable'](util[_0xaf0b('0x29')](_0xaf0b('0x154'),_0x1a9126[_0xaf0b('0xf6')]()),_0x24b8aa[_0x1a9126]);}}return this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x155'),JSON['stringify'](_0x24b8aa)));}}return _0x874f5a;};AGIVertices['prototype'][_0xaf0b('0x156')]=function(_0x25e80d){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x157'),_0x25e80d[_0xaf0b('0x36')]));if(!this['isConfigured'](_0x25e80d[_0xaf0b('0x77')])){return this['channel'][_0xaf0b('0xa8')]('no\x20key\x20configured');}if(!this[_0xaf0b('0x83')](_0x25e80d['text'])){return this['channel'][_0xaf0b('0xa8')](_0xaf0b('0xa9'));}this[_0xaf0b('0xd')]['noop'](util[_0xaf0b('0x29')]('Trying\x20ispeech\x20TTS\x20%s',_0x25e80d[_0xaf0b('0x5c')]));var _0x4f5060=this[_0xaf0b('0x7d')][_0xaf0b('0xc1')](this,_0x25e80d);if(_0x4f5060){this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x158'),_0x4f5060));var _0x445f25=this[_0xaf0b('0xd')][_0xaf0b('0x103')](_0x4f5060,_0x25e80d[_0xaf0b('0x134')]);try{fs[_0xaf0b('0x104')](_0x4f5060+_0xaf0b('0x126'));}catch(_0x3676a7){logger[_0xaf0b('0x2a')](_0x3676a7);}return _0x445f25;}return this['channel'][_0xaf0b('0x2a')](_0x25e80d,_0xaf0b('0x159'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x15a')]=function(_0x383d17){logger['info'](util['format'](_0xaf0b('0x15b'),_0x383d17[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x383d17['findBy'])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x383d17,_0xaf0b('0x15c'));}logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x15d'),this['channel']['callerid'],_0x383d17['findBy']));var _0x4b6358=this['agentLogin'][_0xaf0b('0xc1')](this,_0x383d17[_0xaf0b('0x15e')]);if(_0x4b6358){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x15f'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x383d17[_0xaf0b('0x15e')]));this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x383d17[_0xaf0b('0x15e')]));return{'code':0xc8,'result':_0xaf0b('0x160')};}else{logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x161'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x383d17[_0xaf0b('0x15e')]));this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x161'),this[_0xaf0b('0xd')]['callerid'],_0x383d17[_0xaf0b('0x15e')]));return{'code':0xc8,'result':_0xaf0b('0x162')};}};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x163')]=function(_0x9aa0f){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x164'),_0x9aa0f[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x9aa0f['findBy'])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x9aa0f,'no\x20find\x20by\x20configured');}logger['info'](util['format'](_0xaf0b('0x15d'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x9aa0f[_0xaf0b('0x15e')]));var _0x3cbaf0=this['agentLogout'][_0xaf0b('0xc1')](this,_0x9aa0f[_0xaf0b('0x15e')]);if(_0x3cbaf0){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x15f'),this['channel']['callerid'],_0x9aa0f[_0xaf0b('0x15e')]));this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x15f'),this['channel'][_0xaf0b('0x38')],_0x9aa0f[_0xaf0b('0x15e')]));return{'code':0xc8,'result':_0xaf0b('0x160')};}else{logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0xaf0b('0xd')]['callerid'],_0x9aa0f[_0xaf0b('0x15e')]));this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x161'),this['channel'][_0xaf0b('0x38')],_0x9aa0f[_0xaf0b('0x15e')]));return{'code':0xc8,'result':_0xaf0b('0x162')};}};AGIVertices[_0xaf0b('0xf')]['math']=function(_0x30260a){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x165'),_0x30260a[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x30260a[_0xaf0b('0x166')])){return this[_0xaf0b('0xd')]['error'](_0x30260a,_0xaf0b('0x167'));}this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x168'),_0x30260a['operation']));var _0x535ad8=eval(_0x30260a['operation']);if(!this[_0xaf0b('0x83')](_0x30260a[_0xaf0b('0xd4')])){return this['channel'][_0xaf0b('0xa8')](_0xaf0b('0xd5'));}var _0x5f2285=this[_0xaf0b('0xa1')][_0xaf0b('0xc1')](this,_0x30260a[_0xaf0b('0xd4')]);if(!_0x5f2285){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x30260a,_0xaf0b('0xd6'));}if(_[_0xaf0b('0x99')](_0x535ad8)){var _0x3196b7=this;_0x535ad8[_0xaf0b('0xd7')](function(_0x59d4ae,_0x300466){_0x3196b7[_0xaf0b('0xd')][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0x169'),_0x5f2285,_0x300466),_0x59d4ae);});return this[_0xaf0b('0xd')]['noop'](util[_0xaf0b('0x29')](_0xaf0b('0x16a'),_0x5f2285));}else{return this[_0xaf0b('0xd')][_0xaf0b('0x9e')](_0x5f2285,_0x535ad8);}};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0xa')]=function(_0x1fdb0d){logger['info'](util['format']('Enter\x20in\x20MENU\x20(%s)\x20block',_0x1fdb0d[_0xaf0b('0x36')]));if(_0x1fdb0d[_0xaf0b('0xa5')]===0x0){return this[_0xaf0b('0xa6')](_0x1fdb0d);}_0x1fdb0d[_0xaf0b('0xa5')]-=0x1;if(!this[_0xaf0b('0x83')](_0x1fdb0d['file_id'])){return this[_0xaf0b('0xd')]['error'](_0x1fdb0d,_0xaf0b('0x114'));}var _0x17ec96=this['getSound'][_0xaf0b('0xc1')](this,_0x1fdb0d[_0xaf0b('0x113')]);if(!_0x17ec96){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x1fdb0d,_0xaf0b('0x115'));}var _0x4f18b8=this['channel'][_0xaf0b('0x116')](_0x17ec96,_0x1fdb0d['response'],_0x1fdb0d['digit']);var _0x53005a=_0x4f18b8[_0xaf0b('0xa3')];if(_0x4f18b8[_0xaf0b('0xa3')]===-0x1){this['createSquareDetailsReport'][_0xaf0b('0xc1')](this,_0x1fdb0d,'-1');return _0x4f18b8;}else if(_0x4f18b8[_0xaf0b('0xa2')]===_0xaf0b('0x64')){_0x4f18b8[_0xaf0b('0xa3')]=_0x4f18b8[_0xaf0b('0xa3')]['length']>0x0?_0x4f18b8[_0xaf0b('0xa3')]:'t';}else if(_[_0xaf0b('0x43')](_0x4f18b8[_0xaf0b('0xa3')])){_0x4f18b8[_0xaf0b('0xa3')]='#';_0x53005a='#';}if(!this[_0xaf0b('0x83')](_0x1fdb0d[_0xaf0b('0xd4')])){this['channel'][_0xaf0b('0xa8')](_0xaf0b('0xd5'));}else{var _0x4c1b05=this[_0xaf0b('0xa1')]['sync'](this,_0x1fdb0d[_0xaf0b('0xd4')]);if(!_0x4c1b05){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x1fdb0d,'no\x20variable\x20found');}this[_0xaf0b('0xd')][_0xaf0b('0x9e')](_0x4c1b05,_0x53005a);}this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0x1fdb0d,_0x53005a);return _0x4f18b8;};AGIVertices['prototype'][_0xaf0b('0xa8')]=function(_0x46907a){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x16b'),_0x46907a['label']));return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0x46907a[_0xaf0b('0x16c')]||_0x46907a[_0xaf0b('0x36')]);};AGIVertices['prototype'][_0xaf0b('0x16d')]=function(_0x5d03b1){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x16e'),_0x5d03b1[_0xaf0b('0x36')]));if(!this['isConfigured'](_0x5d03b1[_0xaf0b('0x15e')])){return this['channel'][_0xaf0b('0x2a')](_0x5d03b1,_0xaf0b('0x15c'));}logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x15d'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x5d03b1[_0xaf0b('0x15e')]));var _0x33bdef=this['getPause']['sync'](this,_0x5d03b1[_0xaf0b('0x16f')]);var _0x542f73=this[_0xaf0b('0x4e')][_0xaf0b('0xc1')](this,_0x5d03b1[_0xaf0b('0x15e')],_0x33bdef);if(_0x542f73){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0x15f'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x5d03b1['findBy']));this['channel'][_0xaf0b('0xa8')](util['format'](_0xaf0b('0x15f'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x5d03b1['findBy']));return{'code':0xc8,'result':_0xaf0b('0x160')};}else{logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x161'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x5d03b1[_0xaf0b('0x15e')]));this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x5d03b1[_0xaf0b('0x15e')]));return{'code':0xc8,'result':_0xaf0b('0x162')};}};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x170')]=function(_0x5a1481){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0x171'),_0x5a1481[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x5a1481[_0xaf0b('0x113')])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x5a1481,'no\x20file\x20audio\x20selected');}var _0x2a1e74=this[_0xaf0b('0x1d')][_0xaf0b('0xc1')](this,_0x5a1481[_0xaf0b('0x113')]);if(!_0x2a1e74){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x5a1481,'no\x20file\x20audio\x20found');}var _0x3f4db0=this[_0xaf0b('0xd')][_0xaf0b('0x56')]('PLAYBACK',[_0x2a1e74,_0x5a1481[_0xaf0b('0x10f')]]);if(_0x3f4db0[_0xaf0b('0xa3')]===-0x1){return _0x3f4db0;}return this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x172'),'PLAYBACK',_0x2a1e74));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x173')]=function(_0x1183af){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')]('Enter\x20in\x20QUEUE\x20(%s)\x20block',_0x1183af[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x1183af[_0xaf0b('0x174')])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x1183af,_0xaf0b('0x175'));}var _0x49ff5d='';var _0x2b0b10=parseInt(_0x1183af['queue_id'],0xa);if(isNaN(_0x2b0b10)){_0x49ff5d=_0x1183af[_0xaf0b('0x174')];}else{_0x49ff5d=this[_0xaf0b('0x176')]['sync'](this,_0x1183af['queue_id']);if(!_0x49ff5d){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x1183af,'no\x20queue\x20found');}}var _0x1d2dd3='';if(this[_0xaf0b('0x83')](_0x1183af[_0xaf0b('0x113')])){var _0x49cf0a=this[_0xaf0b('0x1d')][_0xaf0b('0xc1')](this,_0x1183af[_0xaf0b('0x113')]);if(_0x49cf0a){_0x1d2dd3=_0x49cf0a;}}this['createSquareDetailsReport'][_0xaf0b('0xc1')](this,_0x1183af,_0x49ff5d);if(_0x1183af[_0xaf0b('0x10f')]['indexOf']('x')<0x0){_0x1183af[_0xaf0b('0x10f')]+='x';}if(_0x1183af[_0xaf0b('0x10f')]['indexOf']('X')<0x0){_0x1183af[_0xaf0b('0x10f')]+='X';}this['channel'][_0xaf0b('0x9e')](_0xaf0b('0x177'),_0x49ff5d?_0x49ff5d[_0xaf0b('0x178')]():'');var _0x1084b8=this[_0xaf0b('0xd')]['exec'](_0xaf0b('0x179'),[_0x49ff5d,_0x1183af[_0xaf0b('0x10f')],_0x1183af['url'],_0x1d2dd3,_0x1183af[_0xaf0b('0x64')],_0x1183af[_0xaf0b('0x7')],_0x1183af[_0xaf0b('0x17a')],_0x1183af['gosub'],'',_0x1183af[_0xaf0b('0x17b')]]);if(_0x1084b8[_0xaf0b('0xa3')]===-0x1){return _0x1084b8;}return this[_0xaf0b('0xd')]['noop'](util['format'](_0xaf0b('0x172'),_0xaf0b('0x179'),_0x49ff5d));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x17c')]=function(_0x4a8e65){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x17d'),_0x4a8e65[_0xaf0b('0x36')]));var _0x43f5e8=_0x4a8e65['recordingFormat']||_0xaf0b('0x131');var _0x107afd=util[_0xaf0b('0x29')](_0xaf0b('0x17e'),this[_0xaf0b('0xd')][_0xaf0b('0x3a')],rs[_0xaf0b('0x11d')](0x5));var _0x43df5a=util[_0xaf0b('0x29')]('%s/recordings/%s.%s',FILES_PATH,_0x107afd,_0x43f5e8);var _0x2375b2=util['format'](_0xaf0b('0x132'),FILES_PATH,_0x107afd);this['createSquareRecording'][_0xaf0b('0xc1')](this,_0x4a8e65,_0x107afd,_0x43df5a);this[_0xaf0b('0xd')][_0xaf0b('0x9e')]('RECORDING_SAVENAME',_0x107afd);logger[_0xaf0b('0x2c')](_0xaf0b('0x17f'),_0x2375b2,_0x43f5e8,_0x4a8e65['escape_digits'],_0x4a8e65[_0xaf0b('0x64')]);return this['channel'][_0xaf0b('0x13d')](_0x2375b2,_0x43f5e8,_0x4a8e65[_0xaf0b('0x180')],_0x4a8e65['timeout'],undefined,!![]);};AGIVertices[_0xaf0b('0xf')]['restapi']=function(_0x508362){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x181'),_0x508362['label']));if(!this[_0xaf0b('0x83')](_0x508362[_0xaf0b('0x6f')])){return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0x182'));}var _0xf1cef9=this[_0xaf0b('0x61')][_0xaf0b('0xc1')](this,_0x508362);logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x183'),util[_0xaf0b('0x184')](_0xf1cef9,{'showHidden':![],'depth':null})));if(!this[_0xaf0b('0x83')](_0x508362['variable_id'])){return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0x185'));}var _0x4f22f0=this[_0xaf0b('0xa1')][_0xaf0b('0xc1')](this,_0x508362[_0xaf0b('0xd4')]);if(!_0x4f22f0){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x508362,_0xaf0b('0xd6'));}this[_0xaf0b('0xd')][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0x186'),_0x4f22f0),_0xf1cef9['statusCode']?_0xf1cef9['statusCode']:_0xaf0b('0x187'));this[_0xaf0b('0xd')][_0xaf0b('0x9e')](util[_0xaf0b('0x29')](_0xaf0b('0x188'),_0x4f22f0),_0xf1cef9[_0xaf0b('0x73')]?_0xf1cef9[_0xaf0b('0x73')]:'OK');if(_0xf1cef9[_0xaf0b('0x67')]){try{this[_0xaf0b('0x9b')](_0xf1cef9[_0xaf0b('0x67')],_0x4f22f0);}catch(_0x3bcb62){logger['error'](util[_0xaf0b('0x29')](_0xaf0b('0x189'),_0x4f22f0));}}return this['channel'][_0xaf0b('0xa8')](util['format'](_0xaf0b('0xdb'),_0x4f22f0));};AGIVertices[_0xaf0b('0xf')]['saydigits']=function(_0x51a627){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x18a'),_0x51a627['label']));return this['channel']['sayDigits'](_0x51a627[_0xaf0b('0x18b')]['replace'](/\s+/g,''),_0x51a627[_0xaf0b('0x180')]);};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x18c')]=function(_0x847437){logger['info'](util['format'](_0xaf0b('0x18d'),_0x847437[_0xaf0b('0x36')]));return this[_0xaf0b('0xd')][_0xaf0b('0x18e')](_0x847437[_0xaf0b('0x63')]['replace'](/\s+/g,''),_0x847437[_0xaf0b('0x180')]);};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x18f')]=function(_0x544cbb){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x190'),_0x544cbb['label']));return this['channel']['sayPhonetic'](_0x544cbb[_0xaf0b('0x5c')],_0x544cbb[_0xaf0b('0x180')]);};AGIVertices[_0xaf0b('0xf')]['sendMail']=function(_0xc9e164){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x191'),_0xc9e164['label']));if(!this[_0xaf0b('0x83')](_0xc9e164[_0xaf0b('0x192')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0x193'));}var _0x14e2c9=this['getMailAccount'][_0xaf0b('0xc1')](this,_0xc9e164[_0xaf0b('0x192')]);if(!_0x14e2c9||!_0x14e2c9[_0xaf0b('0x194')]){return this[_0xaf0b('0xd')]['error'](_0xc9e164,_0xaf0b('0x195'));}var _0x46e593={'from':util[_0xaf0b('0x29')](_0xaf0b('0x196'),_0x14e2c9[_0xaf0b('0x11')],_0x14e2c9['email']||_0x14e2c9[_0xaf0b('0x194')]['user']),'to':_0xc9e164['to']||'','cc':_0xc9e164['cc']||'','bcc':_0xc9e164[_0xaf0b('0x197')]||'','subject':_0xc9e164[_0xaf0b('0x198')],'html':_0xc9e164[_0xaf0b('0x5c')],'text':_0xc9e164[_0xaf0b('0x5c')]};if(this[_0xaf0b('0x83')](_0xc9e164[_0xaf0b('0x199')])){}logger[_0xaf0b('0xdd')](_0xaf0b('0x19a'),JSON[_0xaf0b('0x71')](_0x46e593));this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0xc9e164,_0xc9e164[_0xaf0b('0x192')]);this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')]('Trying\x20SendMail\x20with\x20account\x20%s',_0x14e2c9['name']));this[_0xaf0b('0x22')][_0xaf0b('0xc1')](this,_0x14e2c9[_0xaf0b('0x19b')],_0x46e593);return this[_0xaf0b('0xd')]['noop'](_0xaf0b('0x19c'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x19d')]=function(_0x3d4fa9){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x19e'),_0x3d4fa9[_0xaf0b('0x36')]));return this['channel'][_0xaf0b('0xa8')](_0xaf0b('0x19f'));};AGIVertices[_0xaf0b('0xf')]['sendSMS']=function(_0x57f536){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x1a0'),_0x57f536[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x57f536[_0xaf0b('0x1a1')])){return this['channel'][_0xaf0b('0xa8')](_0xaf0b('0x1a2'));}var _0x51043a=this[_0xaf0b('0x32')][_0xaf0b('0xc1')](this,_0x57f536['sms_account_id']);if(!_0x51043a){return this['channel'][_0xaf0b('0x2a')](_0x57f536,_0xaf0b('0x1a3'));}var _0xaef96a={'body':_0x57f536[_0xaf0b('0x1a4')],'phone':_0x57f536['to']||'','SmsAccountId':_0x51043a['id']};logger[_0xaf0b('0xdd')](_0xaf0b('0x1a5'),JSON['stringify'](_0xaef96a));this[_0xaf0b('0x35')][_0xaf0b('0xc1')](this,_0x57f536,_0x57f536[_0xaf0b('0x1a1')]);this['channel'][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x1a6'),_0x51043a['name']));this['createSmsMessage'][_0xaf0b('0xc1')](this,_0xaef96a);return this['channel'][_0xaf0b('0xa8')]('Sms\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x1a7')]=function(_0x2dc10a){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')]('Enter\x20in\x20SET\x20(%s)\x20block',_0x2dc10a[_0xaf0b('0x36')]));if(!this[_0xaf0b('0x83')](_0x2dc10a[_0xaf0b('0xd4')])){return this['channel'][_0xaf0b('0x2a')](_0x2dc10a,_0xaf0b('0x1a8'));}var _0x3a3bf8=this[_0xaf0b('0xa1')]['sync'](this,_0x2dc10a[_0xaf0b('0xd4')]);if(!_0x3a3bf8){return this[_0xaf0b('0xd')]['error'](_0x2dc10a,_0xaf0b('0xd6'));}return this[_0xaf0b('0xd')][_0xaf0b('0x9e')](_0x3a3bf8,_0x2dc10a[_0xaf0b('0x1a9')]);};AGIVertices['prototype'][_0xaf0b('0x1aa')]=function(_0x82e186){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x1ab'),_0x82e186[_0xaf0b('0x36')]));this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0x1ac'));var _0x392f6c=this['channel'][_0xaf0b('0xa1')](_0xaf0b('0x1ad'));if(!_[_0xaf0b('0x43')](_0x392f6c[_0xaf0b('0xa2')])){this[_0xaf0b('0xd')][_0xaf0b('0x3a')]=_0x392f6c[_0xaf0b('0xa2')];}if(_0x82e186[_0xaf0b('0xb9')]==='yes'){this[_0xaf0b('0xd')]['noop']('Answer');return this[_0xaf0b('0xd')][_0xaf0b('0xb9')]();}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0x1ae'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x1af')]=function(_0x39aeb0){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0x1b0'),_0x39aeb0['label']));if(!this['isConfigured'](_0x39aeb0['project_id'])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x39aeb0,'no\x20subproject\x20selected');}var _0x5d4986=this[_0xaf0b('0x14')][_0xaf0b('0xc1')](this,_0x39aeb0[_0xaf0b('0x1b1')]);if(!this['isConfigured'](_0x5d4986)){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x39aeb0,util[_0xaf0b('0x29')](_0xaf0b('0x1b2'),_0x39aeb0[_0xaf0b('0x1b1')]));}if(_0x5d4986===this['channel'][_0xaf0b('0x37')]){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x39aeb0,_0xaf0b('0x1b3'));}this['createSquareDetailsReport']['sync'](this,_0x39aeb0,_0x5d4986);var _0x533412=this['channel'][_0xaf0b('0x56')](_0xaf0b('0x1b4'),util['format']('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0xaf0b('0x7')][_0xaf0b('0x1b5')]||_0xaf0b('0x1b6'),_0x5d4986,this[_0xaf0b('0xd')]['arg_1']));if(_0x533412[_0xaf0b('0xa3')]===-0x1){return _0x533412;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format']('Executed\x20command\x20%s\x20%s','AGI',_0x5d4986));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x1b7')]=function(_0x27c175){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x1b8'),_0x27c175[_0xaf0b('0x36')]));var _0x340b24=this[_0xaf0b('0x55')][_0xaf0b('0xc1')](this,_0x27c175[_0xaf0b('0x1b9')]);this['createSquareDetailsReport'][_0xaf0b('0xc1')](this,_0x27c175,_0x27c175[_0xaf0b('0x1b9')]);if(this['isConfigured'](_0x27c175['variable_id'])){var _0x1bfa6e=this[_0xaf0b('0xa1')]['sync'](this,_0x27c175[_0xaf0b('0xd4')]);if(_0x1bfa6e){this['channel']['setVariable'](_0x1bfa6e,_0x340b24);return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')]('sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s',_0x27c175[_0xaf0b('0x1b9')],_0x1bfa6e));}}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x1ba'),_0x27c175[_0xaf0b('0x1b9')]));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x1bb')]=function(_0xd2b227){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x1bc'),_0xd2b227[_0xaf0b('0x36')]));_0xd2b227['text']=_0xd2b227[_0xaf0b('0x5c')][_0xaf0b('0x58')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0xaf0b('0x83')](_0xd2b227[_0xaf0b('0x5a')])){return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](_0xaf0b('0x1bd'));}if(!this['isConfigured'](_0xd2b227['text'])){return this['channel']['noop'](_0xaf0b('0xa9'));}this[_0xaf0b('0xd')]['noop'](util['format'](_0xaf0b('0x1be'),_0xd2b227[_0xaf0b('0x5c')]));var _0x43be21=this[_0xaf0b('0x59')][_0xaf0b('0xc1')](this,_0xd2b227);if(_0x43be21){this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format']('Google\x20Cloud\x20TTS\x20%s\x20file\x20created',_0x43be21));var _0x3cbf7b=this['channel'][_0xaf0b('0x103')](_0x43be21);try{fs[_0xaf0b('0x104')](_0x43be21+_0xaf0b('0x126'));}catch(_0x11d25b){logger[_0xaf0b('0x2a')](_0x11d25b);}return _0x3cbf7b;}return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0xd2b227,_0xaf0b('0x1bf'));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x1c0')]=function(_0x3864eb){logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x1c1'),_0x3864eb['label']));_0x3864eb['text']=_0x3864eb['text'][_0xaf0b('0x58')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0xaf0b('0x83')](_0x3864eb[_0xaf0b('0x5c')])){return this['channel']['noop']('no\x20text\x20configured');}this['channel']['noop'](util['format']('Trying\x20Google\x20TTS\x20%s',_0x3864eb['text']));var _0x5c0b32=this[_0xaf0b('0x60')]['sync'](this,_0x3864eb);if(_0x5c0b32){this[_0xaf0b('0xd')]['noop'](util[_0xaf0b('0x29')](_0xaf0b('0x1c2'),_0x5c0b32));var _0x4ba7eb=this[_0xaf0b('0xd')][_0xaf0b('0x103')](_0x5c0b32);try{fs['unlink'](_0x5c0b32+_0xaf0b('0x126'));}catch(_0x3fef3a){logger[_0xaf0b('0x2a')](_0x3fef3a);}return _0x4ba7eb;}return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x3864eb,_0xaf0b('0x1c3'));};AGIVertices[_0xaf0b('0xf')]['unpause']=function(_0x190dd4){logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x1c4'),_0x190dd4[_0xaf0b('0x36')]));if(!this['isConfigured'](_0x190dd4[_0xaf0b('0x15e')])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x190dd4,'no\x20find\x20by\x20configured');}logger[_0xaf0b('0x2c')](util[_0xaf0b('0x29')](_0xaf0b('0x15d'),this['channel']['callerid'],_0x190dd4[_0xaf0b('0x15e')]));var _0x448956=this['agentUnpause'][_0xaf0b('0xc1')](this,_0x190dd4[_0xaf0b('0x15e')]);if(_0x448956){logger['info'](util[_0xaf0b('0x29')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x190dd4[_0xaf0b('0x15e')]));this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x190dd4[_0xaf0b('0x15e')]));return{'code':0xc8,'result':_0xaf0b('0x160')};}else{logger['info'](util[_0xaf0b('0x29')](_0xaf0b('0x161'),this[_0xaf0b('0xd')]['callerid'],_0x190dd4['findBy']));this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util['format'](_0xaf0b('0x161'),this[_0xaf0b('0xd')][_0xaf0b('0x38')],_0x190dd4['findBy']));return{'code':0xc8,'result':_0xaf0b('0x162')};}};AGIVertices[_0xaf0b('0xf')]['voicemail']=function(_0x521cc7){logger[_0xaf0b('0x2c')](util['format'](_0xaf0b('0x1c5'),_0x521cc7['label']));var _0x42a71e=this[_0xaf0b('0xd')]['exec'](_0xaf0b('0x1c6'),[_0x521cc7['mailbox'],_0x521cc7[_0xaf0b('0xaa')]]);if(_0x42a71e['result']===-0x1){return _0x42a71e;}return this[_0xaf0b('0xd')][_0xaf0b('0xa8')](util[_0xaf0b('0x29')](_0xaf0b('0x172'),'VOICEMAIL',_0x521cc7['mailbox']));};AGIVertices[_0xaf0b('0xf')][_0xaf0b('0x1c7')]=function(_0x583138){logger['info'](util[_0xaf0b('0x29')]('Enter\x20in\x20SWITCH\x20(%s)\x20block',_0x583138['label']));if(!this['isConfigured'](_0x583138[_0xaf0b('0xd4')])){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x583138,_0xaf0b('0x1a8'));}var _0x26bc71=this[_0xaf0b('0xa1')][_0xaf0b('0xc1')](this,_0x583138[_0xaf0b('0xd4')]);if(!_0x26bc71){return this[_0xaf0b('0xd')][_0xaf0b('0x2a')](_0x583138,_0xaf0b('0xd6'));}var _0x2921b0=this[_0xaf0b('0xd')][_0xaf0b('0xa1')](_0x26bc71);return{'code':0xc8,'result':_0x2921b0[_0xaf0b('0xa2')]?_0x2921b0['extra']:'-'};};String[_0xaf0b('0xf')][_0xaf0b('0x1c8')]=function(_0x593376,_0x2f6741){return this[_0xaf0b('0xa0')](_0x593376)['join'](_0x2f6741);};module[_0xaf0b('0x1c9')]=AGIVertices;