Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / agi / error.js
index 570f659..dbfcca1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcd56=['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.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','push','format','apply','message','name','exports','util','Undefined\x20error.'];(function(_0x53d3b0,_0x62aa42){var _0x44f608=function(_0x47f276){while(--_0x47f276){_0x53d3b0['push'](_0x53d3b0['shift']());}};_0x44f608(++_0x62aa42);}(_0xcd56,0x1c9));var _0x6cd5=function(_0x5a166f,_0x8db7d6){_0x5a166f=_0x5a166f-0x0;var _0x5befe7=_0xcd56[_0x5a166f];return _0x5befe7;};'use strict';var util=require(_0x6cd5('0x0'));var error={'E_AGI_UNDEFINED':_0x6cd5('0x1'),'E_AGI_ARGUMENT_PORT':_0x6cd5('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0x6cd5('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0x6cd5('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0x6cd5('0x5'),'E_AGI_SOCKET_ERROR':_0x6cd5('0x6'),'E_AGI_SOCKET_CLOSE':_0x6cd5('0x7'),'E_AGI_SOCKET_TIMEOUT':_0x6cd5('0x8'),'E_AGI_COMMAND_EMPTY':_0x6cd5('0x9'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x6cd5('0xa'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0xdc5d4f){var _0xdc5d4f=_0xdc5d4f||null,_0x1c4af9=_0x1c4af9||[],_0x25e9a3=0x1,_0x589bf9='';if(!error[_0xdc5d4f]){_0xdc5d4f='E_AGI_UNDEFINED';}_0x1c4af9[_0x6cd5('0xb')](error[_0xdc5d4f]);while(arguments[_0x25e9a3]){_0x1c4af9[_0x6cd5('0xb')](arguments[_0x25e9a3]);_0x25e9a3++;}_0x589bf9=util[_0x6cd5('0xc')][_0x6cd5('0xd')](util,_0x1c4af9);this[_0x6cd5('0xe')]=_0x589bf9;this[_0x6cd5('0xf')]=_0xdc5d4f;}module[_0x6cd5('0x10')]=AGIError;
\ No newline at end of file
+var _0x40b5=['Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','push','message','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.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20closed.','Socket\x20timeout.'];(function(_0x4a53d,_0x58a95e){var _0x27410e=function(_0x38fc90){while(--_0x38fc90){_0x4a53d['push'](_0x4a53d['shift']());}};_0x27410e(++_0x58a95e);}(_0x40b5,0x1d7));var _0x540b=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x40b5[_0x3dd15e];return _0x231fd0;};'use strict';var util=require(_0x540b('0x0'));var error={'E_AGI_UNDEFINED':_0x540b('0x1'),'E_AGI_ARGUMENT_PORT':_0x540b('0x2'),'E_AGI_SERVER_ERROR':_0x540b('0x3'),'E_AGI_SERVER_CLOSE':_0x540b('0x4'),'E_AGI_SERVER_MAXCONNECTION':_0x540b('0x5'),'E_AGI_SERVER_VOICE_DISABLED':_0x540b('0x6'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0x540b('0x7'),'E_AGI_SOCKET_TIMEOUT':_0x540b('0x8'),'E_AGI_COMMAND_EMPTY':_0x540b('0x9'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x540b('0xa'),'E_AGI_IVR_ENTRY':_0x540b('0xb')};function AGIError(_0x4e0a29){var _0x4e0a29=_0x4e0a29||null,_0x448b68=_0x448b68||[],_0x316ab7=0x1,_0x5aeb5f='';if(!error[_0x4e0a29]){_0x4e0a29='E_AGI_UNDEFINED';}_0x448b68[_0x540b('0xc')](error[_0x4e0a29]);while(arguments[_0x316ab7]){_0x448b68['push'](arguments[_0x316ab7]);_0x316ab7++;}_0x5aeb5f=util['format']['apply'](util,_0x448b68);this[_0x540b('0xd')]=_0x5aeb5f;this['name']=_0x4e0a29;}module[_0x540b('0xe')]=AGIError;
\ No newline at end of file