Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / agi / error.js
index 7026a43..d8134a9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbba6=['[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','message','exports','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.'];(function(_0x5900bb,_0x25ca70){var _0x2e4aeb=function(_0x29a656){while(--_0x29a656){_0x5900bb['push'](_0x5900bb['shift']());}};_0x2e4aeb(++_0x25ca70);}(_0xbba6,0xfc));var _0x6bba=function(_0x21b71f,_0x100202){_0x21b71f=_0x21b71f-0x0;var _0x307cfe=_0xbba6[_0x21b71f];return _0x307cfe;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':'Undefined\x20error.','E_AGI_ARGUMENT_PORT':_0x6bba('0x0'),'E_AGI_SERVER_ERROR':_0x6bba('0x1'),'E_AGI_SERVER_CLOSE':_0x6bba('0x2'),'E_AGI_SERVER_MAXCONNECTION':_0x6bba('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0x6bba('0x4'),'E_AGI_SOCKET_ERROR':_0x6bba('0x5'),'E_AGI_SOCKET_CLOSE':_0x6bba('0x6'),'E_AGI_SOCKET_TIMEOUT':_0x6bba('0x7'),'E_AGI_COMMAND_EMPTY':_0x6bba('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x6bba('0x9'),'E_AGI_IVR_ENTRY':_0x6bba('0xa')};function AGIError(_0x256509){var _0x256509=_0x256509||null,_0x4cc303=_0x4cc303||[],_0x14d09e=0x1,_0x505b49='';if(!error[_0x256509]){_0x256509=_0x6bba('0xb');}_0x4cc303[_0x6bba('0xc')](error[_0x256509]);while(arguments[_0x14d09e]){_0x4cc303['push'](arguments[_0x14d09e]);_0x14d09e++;}_0x505b49=util[_0x6bba('0xd')]['apply'](util,_0x4cc303);this[_0x6bba('0xe')]=_0x505b49;this['name']=_0x256509;}module[_0x6bba('0xf')]=AGIError;
\ No newline at end of file
+var _0x15b7=['Undefined\x20error.','Server\x20error.\x20Code:\x20%s.','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.','push','format','apply','message','name'];(function(_0x952e5f,_0x3f3088){var _0x1e005f=function(_0x5b1a4c){while(--_0x5b1a4c){_0x952e5f['push'](_0x952e5f['shift']());}};_0x1e005f(++_0x3f3088);}(_0x15b7,0x142));var _0x715b=function(_0x1cc588,_0x3fe81d){_0x1cc588=_0x1cc588-0x0;var _0x528307=_0x15b7[_0x1cc588];return _0x528307;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0x715b('0x0'),'E_AGI_ARGUMENT_PORT':'Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','E_AGI_SERVER_ERROR':_0x715b('0x1'),'E_AGI_SERVER_CLOSE':_0x715b('0x2'),'E_AGI_SERVER_MAXCONNECTION':_0x715b('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0x715b('0x4'),'E_AGI_SOCKET_ERROR':_0x715b('0x5'),'E_AGI_SOCKET_CLOSE':_0x715b('0x6'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0x715b('0x7'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0x715b('0x8')};function AGIError(_0x1f2742){var _0x1f2742=_0x1f2742||null,_0x3af951=_0x3af951||[],_0x40d46c=0x1,_0x19d35f='';if(!error[_0x1f2742]){_0x1f2742='E_AGI_UNDEFINED';}_0x3af951[_0x715b('0x9')](error[_0x1f2742]);while(arguments[_0x40d46c]){_0x3af951[_0x715b('0x9')](arguments[_0x40d46c]);_0x40d46c++;}_0x19d35f=util[_0x715b('0xa')][_0x715b('0xb')](util,_0x3af951);this[_0x715b('0xc')]=_0x19d35f;this[_0x715b('0xd')]=_0x1f2742;}module['exports']=AGIError;
\ No newline at end of file