Built motion from commit (unavailable).|2.5.0
[motion2.git] / server / services / agi / error.js
index 4132cca..050184b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbdb0=['exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Empty\x20command.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','apply'];(function(_0x173452,_0x3aa870){var _0xee3fd0=function(_0x10eb01){while(--_0x10eb01){_0x173452['push'](_0x173452['shift']());}};_0xee3fd0(++_0x3aa870);}(_0xbdb0,0x189));var _0x0bdb=function(_0x1c7137,_0x4c7c26){_0x1c7137=_0x1c7137-0x0;var _0xeb4432=_0xbdb0[_0x1c7137];return _0xeb4432;};'use strict';var util=require(_0x0bdb('0x0'));var error={'E_AGI_UNDEFINED':_0x0bdb('0x1'),'E_AGI_ARGUMENT_PORT':_0x0bdb('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0x0bdb('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0x0bdb('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0x0bdb('0x5'),'E_AGI_SOCKET_ERROR':_0x0bdb('0x6'),'E_AGI_SOCKET_CLOSE':_0x0bdb('0x7'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0x0bdb('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0x0bdb('0x9')};function AGIError(_0x5254ca){var _0x5254ca=_0x5254ca||null,_0x1a189c=_0x1a189c||[],_0x9a24fd=0x1,_0x3afa5e='';if(!error[_0x5254ca]){_0x5254ca=_0x0bdb('0xa');}_0x1a189c[_0x0bdb('0xb')](error[_0x5254ca]);while(arguments[_0x9a24fd]){_0x1a189c[_0x0bdb('0xb')](arguments[_0x9a24fd]);_0x9a24fd++;}_0x3afa5e=util['format'][_0x0bdb('0xc')](util,_0x1a189c);this['message']=_0x3afa5e;this['name']=_0x5254ca;}module[_0x0bdb('0xd')]=AGIError;
\ No newline at end of file
+var _0xc474=['Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_UNDEFINED','push','format','message','name','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.'];(function(_0x152761,_0x249ec5){var _0x9700a8=function(_0x3b488a){while(--_0x3b488a){_0x152761['push'](_0x152761['shift']());}};_0x9700a8(++_0x249ec5);}(_0xc474,0xfc));var _0x4c47=function(_0x45d3f0,_0x4be53f){_0x45d3f0=_0x45d3f0-0x0;var _0x314b79=_0xc474[_0x45d3f0];return _0x314b79;};'use strict';var util=require(_0x4c47('0x0'));var error={'E_AGI_UNDEFINED':_0x4c47('0x1'),'E_AGI_ARGUMENT_PORT':_0x4c47('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0x4c47('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0x4c47('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0x4c47('0x5'),'E_AGI_SOCKET_ERROR':_0x4c47('0x6'),'E_AGI_SOCKET_CLOSE':_0x4c47('0x7'),'E_AGI_SOCKET_TIMEOUT':_0x4c47('0x8'),'E_AGI_COMMAND_EMPTY':_0x4c47('0x9'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x4c47('0xa'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x5aaf0e){var _0x5aaf0e=_0x5aaf0e||null,_0x255b6e=_0x255b6e||[],_0x275a64=0x1,_0x35a093='';if(!error[_0x5aaf0e]){_0x5aaf0e=_0x4c47('0xb');}_0x255b6e['push'](error[_0x5aaf0e]);while(arguments[_0x275a64]){_0x255b6e[_0x4c47('0xc')](arguments[_0x275a64]);_0x275a64++;}_0x35a093=util[_0x4c47('0xd')]['apply'](util,_0x255b6e);this[_0x4c47('0xe')]=_0x35a093;this[_0x4c47('0xf')]=_0x5aaf0e;}module[_0x4c47('0x10')]=AGIError;
\ No newline at end of file