Built motion from commit b7e79837.|2.6.29
[motion2.git] / server / services / agi / error.js
index 98545c0..28e3383 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2d83=['Empty\x20command.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','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.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20closed.'];(function(_0x107f87,_0x2fc1b3){var _0x1a18fe=function(_0x4d737c){while(--_0x4d737c){_0x107f87['push'](_0x107f87['shift']());}};_0x1a18fe(++_0x2fc1b3);}(_0x2d83,0x70));var _0x32d8=function(_0x1c8cfd,_0x18fc8a){_0x1c8cfd=_0x1c8cfd-0x0;var _0x532e84=_0x2d83[_0x1c8cfd];return _0x532e84;};'use strict';var util=require(_0x32d8('0x0'));var error={'E_AGI_UNDEFINED':_0x32d8('0x1'),'E_AGI_ARGUMENT_PORT':_0x32d8('0x2'),'E_AGI_SERVER_ERROR':_0x32d8('0x3'),'E_AGI_SERVER_CLOSE':_0x32d8('0x4'),'E_AGI_SERVER_MAXCONNECTION':_0x32d8('0x5'),'E_AGI_SERVER_VOICE_DISABLED':_0x32d8('0x6'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0x32d8('0x7'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0x32d8('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0x32d8('0x9')};function AGIError(_0x445422){var _0x445422=_0x445422||null,_0x20c4b4=_0x20c4b4||[],_0x376558=0x1,_0x5f41e4='';if(!error[_0x445422]){_0x445422=_0x32d8('0xa');}_0x20c4b4[_0x32d8('0xb')](error[_0x445422]);while(arguments[_0x376558]){_0x20c4b4[_0x32d8('0xb')](arguments[_0x376558]);_0x376558++;}_0x5f41e4=util[_0x32d8('0xc')]['apply'](util,_0x20c4b4);this['message']=_0x5f41e4;this[_0x32d8('0xd')]=_0x445422;}module[_0x32d8('0xe')]=AGIError;
\ No newline at end of file
+var _0x0ea8=['name','exports','util','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.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','message'];(function(_0x1e5d37,_0x8115f1){var _0x5b3b8e=function(_0xa69629){while(--_0xa69629){_0x1e5d37['push'](_0x1e5d37['shift']());}};_0x5b3b8e(++_0x8115f1);}(_0x0ea8,0x1a2));var _0x80ea=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0x0ea8[_0x1ac595];return _0x455fff;};'use strict';var util=require(_0x80ea('0x0'));var error={'E_AGI_UNDEFINED':'Undefined\x20error.','E_AGI_ARGUMENT_PORT':_0x80ea('0x1'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0x80ea('0x2'),'E_AGI_SERVER_MAXCONNECTION':_0x80ea('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0x80ea('0x4'),'E_AGI_SOCKET_ERROR':_0x80ea('0x5'),'E_AGI_SOCKET_CLOSE':_0x80ea('0x6'),'E_AGI_SOCKET_TIMEOUT':_0x80ea('0x7'),'E_AGI_COMMAND_EMPTY':_0x80ea('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x80ea('0x9'),'E_AGI_IVR_ENTRY':_0x80ea('0xa')};function AGIError(_0x160ba8){var _0x160ba8=_0x160ba8||null,_0x15470e=_0x15470e||[],_0xd5e5a3=0x1,_0x112ecf='';if(!error[_0x160ba8]){_0x160ba8=_0x80ea('0xb');}_0x15470e[_0x80ea('0xc')](error[_0x160ba8]);while(arguments[_0xd5e5a3]){_0x15470e[_0x80ea('0xc')](arguments[_0xd5e5a3]);_0xd5e5a3++;}_0x112ecf=util['format']['apply'](util,_0x15470e);this[_0x80ea('0xd')]=_0x112ecf;this[_0x80ea('0xe')]=_0x160ba8;}module[_0x80ea('0xf')]=AGIError;
\ No newline at end of file