Built motion from commit e493b9a4954b50a8ee6d0034ba3601cd210d989d. Version 3.0.0...
[motion-next.git] / server / services / agi / error.js
index 2084614..28f2743 100644 (file)
@@ -1 +1 @@
-const a1195_0x1679=['Socket\x20error.\x20Code:\x20%s.','Undefined\x20error.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','apply','Empty\x20command.','format','util','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Socket\x20timeout.','Server\x20closed.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','Server\x20error.\x20Code:\x20%s.','push','Missing\x20\x27ivr.agi_network_script\x27.'];(function(_0x7564f2,_0x2fa40c){const _0x167905=function(_0x40d622){while(--_0x40d622){_0x7564f2['push'](_0x7564f2['shift']());}};_0x167905(++_0x2fa40c);}(a1195_0x1679,0x7c));const a1195_0x40d6=function(_0x7564f2,_0x2fa40c){_0x7564f2=_0x7564f2-0x19a;let _0x167905=a1195_0x1679[_0x7564f2];return _0x167905;};const a1195_0x452d69=a1195_0x40d6;'use strict';const util=require(a1195_0x452d69(0x19c)),error={'E_AGI_UNDEFINED':a1195_0x452d69(0x1a6),'E_AGI_ARGUMENT_PORT':a1195_0x452d69(0x19d),'E_AGI_SERVER_ERROR':a1195_0x452d69(0x1a2),'E_AGI_SERVER_CLOSE':a1195_0x452d69(0x19f),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':a1195_0x452d69(0x1a7),'E_AGI_SOCKET_ERROR':a1195_0x452d69(0x1a5),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':a1195_0x452d69(0x19e),'E_AGI_COMMAND_EMPTY':a1195_0x452d69(0x19a),'E_AGI_IVR_AGI_NETWORK_SCRIPT':a1195_0x452d69(0x1a4),'E_AGI_IVR_ENTRY':a1195_0x452d69(0x1a0)};function AGIError(_0x3ee707){const _0x10ec57=a1195_0x452d69;_0x3ee707=_0x3ee707||null;const _0x47b5c3=_0x47b5c3||[];let _0x5d3f33=0x1,_0x4b1a55='';!error[_0x3ee707]&&(_0x3ee707=_0x10ec57(0x1a1));_0x47b5c3[_0x10ec57(0x1a3)](error[_0x3ee707]);while(arguments[_0x5d3f33]){_0x47b5c3[_0x10ec57(0x1a3)](arguments[_0x5d3f33]),_0x5d3f33++;}_0x4b1a55=util[_0x10ec57(0x19b)][_0x10ec57(0x1a8)](util,_0x47b5c3),this['message']=_0x4b1a55,this['name']=_0x3ee707;}module['exports']=AGIError;
\ No newline at end of file
+'use strict';const a1210_0x40a2=['[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Server\x20error.\x20Code:\x20%s.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','218681tINjXt','46tyIbRS','1667ETnHaW','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','11465GEOUwE','4oLgiyw','util','E_AGI_UNDEFINED','2aJOHwH','Server\x20closed.','Missing\x20\x27ivr.agi_network_script\x27.','apply','Missing\x20\x27ivr.entry\x27\x20menu.','Socket\x20timeout.','13397sDSZUg','undefined','575477LWdBWe','name','155437FvRxZU','Socket\x20error.\x20Code:\x20%s.','Empty\x20command.','193QVaYuW','Undefined\x20error.','format','23124ahrvqr','8OJuvzR'];const a1210_0x3af2=function(_0x126bb1,_0x21cdbb){_0x126bb1=_0x126bb1-0x156;let _0x40a2b4=a1210_0x40a2[_0x126bb1];return _0x40a2b4;};const a1210_0x46eff0=a1210_0x3af2;(function(_0x11f758,_0x29411b){const _0x4a6869=a1210_0x3af2;while(!![]){try{const _0x28f0d3=parseInt(_0x4a6869(0x16c))+parseInt(_0x4a6869(0x168))*parseInt(_0x4a6869(0x15d))+parseInt(_0x4a6869(0x167))*-parseInt(_0x4a6869(0x171))+-parseInt(_0x4a6869(0x164))*-parseInt(_0x4a6869(0x16e))+parseInt(_0x4a6869(0x15f))+parseInt(_0x4a6869(0x157))*-parseInt(_0x4a6869(0x161))+parseInt(_0x4a6869(0x170))*-parseInt(_0x4a6869(0x16d));if(_0x28f0d3===_0x29411b)break;else _0x11f758['push'](_0x11f758['shift']());}catch(_0xfd70a2){_0x11f758['push'](_0x11f758['shift']());}}}(a1210_0x40a2,0x475d1));const util=require(a1210_0x46eff0(0x172)),ERRORS={'E_AGI_UNDEFINED':a1210_0x46eff0(0x165),'E_AGI_ARGUMENT_PORT':a1210_0x46eff0(0x16b),'E_AGI_SERVER_ERROR':a1210_0x46eff0(0x16a),'E_AGI_SERVER_CLOSE':a1210_0x46eff0(0x158),'E_AGI_SERVER_MAXCONNECTION':a1210_0x46eff0(0x16f),'E_AGI_SERVER_VOICE_DISABLED':a1210_0x46eff0(0x169),'E_AGI_SOCKET_ERROR':a1210_0x46eff0(0x162),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':a1210_0x46eff0(0x15c),'E_AGI_COMMAND_EMPTY':a1210_0x46eff0(0x163),'E_AGI_IVR_AGI_NETWORK_SCRIPT':a1210_0x46eff0(0x159),'E_AGI_IVR_ENTRY':a1210_0x46eff0(0x15b)};class AGIError extends Error{constructor(_0x15e43e='',..._0x9896bf){const _0x6e2676=a1210_0x46eff0;super(),typeof ERRORS[_0x15e43e]===_0x6e2676(0x15e)&&(_0x15e43e=_0x6e2676(0x156)),this['message']=util[_0x6e2676(0x166)][_0x6e2676(0x15a)](util,[ERRORS[_0x15e43e],..._0x9896bf]),this[_0x6e2676(0x160)]=_0x15e43e;}}module['exports']=AGIError;
\ No newline at end of file