Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / services / agi / error.js
index 9bab294..e4593ae 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3376=['message','name','exports','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Socket\x20timeout.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','apply'];(function(_0x4f5108,_0x46a54b){var _0x2d56ca=function(_0x5b3c1e){while(--_0x5b3c1e){_0x4f5108['push'](_0x4f5108['shift']());}};_0x2d56ca(++_0x46a54b);}(_0x3376,0x143));var _0x6337=function(_0x1c95d8,_0x448fef){_0x1c95d8=_0x1c95d8-0x0;var _0x2f2010=_0x3376[_0x1c95d8];return _0x2f2010;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0x6337('0x0'),'E_AGI_ARGUMENT_PORT':_0x6337('0x1'),'E_AGI_SERVER_ERROR':_0x6337('0x2'),'E_AGI_SERVER_CLOSE':_0x6337('0x3'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0x6337('0x4'),'E_AGI_SOCKET_ERROR':_0x6337('0x5'),'E_AGI_SOCKET_CLOSE':_0x6337('0x6'),'E_AGI_SOCKET_TIMEOUT':_0x6337('0x7'),'E_AGI_COMMAND_EMPTY':'Empty\x20command.','E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x6337('0x8'),'E_AGI_IVR_ENTRY':_0x6337('0x9')};function AGIError(_0x3ca63b){var _0x3ca63b=_0x3ca63b||null,_0x3cbb77=_0x3cbb77||[],_0x4d329c=0x1,_0x6778a6='';if(!error[_0x3ca63b]){_0x3ca63b=_0x6337('0xa');}_0x3cbb77[_0x6337('0xb')](error[_0x3ca63b]);while(arguments[_0x4d329c]){_0x3cbb77['push'](arguments[_0x4d329c]);_0x4d329c++;}_0x6778a6=util['format'][_0x6337('0xc')](util,_0x3cbb77);this[_0x6337('0xd')]=_0x6778a6;this[_0x6337('0xe')]=_0x3ca63b;}module[_0x6337('0xf')]=AGIError;
\ No newline at end of file
+var _0xa550=['Server\x20error.\x20Code:\x20%s.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','apply','message','name','exports','util'];(function(_0x90aac9,_0x1caf1f){var _0x5b0665=function(_0xcc2179){while(--_0xcc2179){_0x90aac9['push'](_0x90aac9['shift']());}};_0x5b0665(++_0x1caf1f);}(_0xa550,0x86));var _0x0a55=function(_0x52c553,_0x273e5a){_0x52c553=_0x52c553-0x0;var _0x425607=_0xa550[_0x52c553];return _0x425607;};'use strict';var util=require(_0x0a55('0x0'));var error={'E_AGI_UNDEFINED':'Undefined\x20error.','E_AGI_ARGUMENT_PORT':'Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','E_AGI_SERVER_ERROR':_0x0a55('0x1'),'E_AGI_SERVER_CLOSE':'Server\x20closed.','E_AGI_SERVER_MAXCONNECTION':_0x0a55('0x2'),'E_AGI_SERVER_VOICE_DISABLED':'[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','E_AGI_SOCKET_ERROR':_0x0a55('0x3'),'E_AGI_SOCKET_CLOSE':_0x0a55('0x4'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0x0a55('0x5'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x0a55('0x6'),'E_AGI_IVR_ENTRY':_0x0a55('0x7')};function AGIError(_0x5e6910){var _0x5e6910=_0x5e6910||null,_0x3a9b02=_0x3a9b02||[],_0x476b96=0x1,_0x229198='';if(!error[_0x5e6910]){_0x5e6910=_0x0a55('0x8');}_0x3a9b02['push'](error[_0x5e6910]);while(arguments[_0x476b96]){_0x3a9b02[_0x0a55('0x9')](arguments[_0x476b96]);_0x476b96++;}_0x229198=util[_0x0a55('0xa')][_0x0a55('0xb')](util,_0x3a9b02);this[_0x0a55('0xc')]=_0x229198;this[_0x0a55('0xd')]=_0x5e6910;}module[_0x0a55('0xe')]=AGIError;
\ No newline at end of file