Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / services / agi / error.js
index f713cd8..635ba37 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x95f7=['Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','apply','message','name','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Socket\x20timeout.','Empty\x20command.'];(function(_0x50dcf3,_0x2b9138){var _0x486f98=function(_0x29c660){while(--_0x29c660){_0x50dcf3['push'](_0x50dcf3['shift']());}};_0x486f98(++_0x2b9138);}(_0x95f7,0x68));var _0x795f=function(_0x1d082e,_0xa116a1){_0x1d082e=_0x1d082e-0x0;var _0x27df12=_0x95f7[_0x1d082e];return _0x27df12;};'use strict';var util=require(_0x795f('0x0'));var error={'E_AGI_UNDEFINED':_0x795f('0x1'),'E_AGI_ARGUMENT_PORT':_0x795f('0x2'),'E_AGI_SERVER_ERROR':_0x795f('0x3'),'E_AGI_SERVER_CLOSE':_0x795f('0x4'),'E_AGI_SERVER_MAXCONNECTION':_0x795f('0x5'),'E_AGI_SERVER_VOICE_DISABLED':'[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','E_AGI_SOCKET_ERROR':_0x795f('0x6'),'E_AGI_SOCKET_CLOSE':_0x795f('0x7'),'E_AGI_SOCKET_TIMEOUT':_0x795f('0x8'),'E_AGI_COMMAND_EMPTY':_0x795f('0x9'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x795f('0xa'),'E_AGI_IVR_ENTRY':_0x795f('0xb')};function AGIError(_0x1b4d8e){var _0x1b4d8e=_0x1b4d8e||null,_0x2749ec=_0x2749ec||[],_0x45371f=0x1,_0x547b6f='';if(!error[_0x1b4d8e]){_0x1b4d8e=_0x795f('0xc');}_0x2749ec[_0x795f('0xd')](error[_0x1b4d8e]);while(arguments[_0x45371f]){_0x2749ec[_0x795f('0xd')](arguments[_0x45371f]);_0x45371f++;}_0x547b6f=util[_0x795f('0xe')][_0x795f('0xf')](util,_0x2749ec);this[_0x795f('0x10')]=_0x547b6f;this[_0x795f('0x11')]=_0x1b4d8e;}module[_0x795f('0x12')]=AGIError;
\ No newline at end of file
+var _0x528f=['message','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','Socket\x20error.\x20Code:\x20%s.','Empty\x20command.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','format'];(function(_0x4b2436,_0x452299){var _0x4f5ab2=function(_0x5c6679){while(--_0x5c6679){_0x4b2436['push'](_0x4b2436['shift']());}};_0x4f5ab2(++_0x452299);}(_0x528f,0x140));var _0xf528=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x528f[_0x3dd15e];return _0x231fd0;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0xf528('0x0'),'E_AGI_ARGUMENT_PORT':_0xf528('0x1'),'E_AGI_SERVER_ERROR':_0xf528('0x2'),'E_AGI_SERVER_CLOSE':_0xf528('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0xf528('0x4'),'E_AGI_SERVER_VOICE_DISABLED':'[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','E_AGI_SOCKET_ERROR':_0xf528('0x5'),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0xf528('0x6'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0xf528('0x7')};function AGIError(_0x17c8c8){var _0x17c8c8=_0x17c8c8||null,_0x31b491=_0x31b491||[],_0xd517b6=0x1,_0x1b6bfd='';if(!error[_0x17c8c8]){_0x17c8c8=_0xf528('0x8');}_0x31b491['push'](error[_0x17c8c8]);while(arguments[_0xd517b6]){_0x31b491['push'](arguments[_0xd517b6]);_0xd517b6++;}_0x1b6bfd=util[_0xf528('0x9')]['apply'](util,_0x31b491);this[_0xf528('0xa')]=_0x1b6bfd;this['name']=_0x17c8c8;}module['exports']=AGIError;
\ No newline at end of file