Built motion from commit ff78e754.|2.6.29
[motion2.git] / server / services / agi / error.js
index c1c2e35..1a1cd10 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x522f=['Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','message','exports','util','Undefined\x20error.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.'];(function(_0x568496,_0x565afd){var _0x26c5c1=function(_0x4d251e){while(--_0x4d251e){_0x568496['push'](_0x568496['shift']());}};_0x26c5c1(++_0x565afd);}(_0x522f,0x1f0));var _0xf522=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x522f[_0x57b54c];return _0x59cc19;};'use strict';var util=require(_0xf522('0x0'));var error={'E_AGI_UNDEFINED':_0xf522('0x1'),'E_AGI_ARGUMENT_PORT':'Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':'Server\x20closed.','E_AGI_SERVER_MAXCONNECTION':_0xf522('0x2'),'E_AGI_SERVER_VOICE_DISABLED':_0xf522('0x3'),'E_AGI_SOCKET_ERROR':_0xf522('0x4'),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':_0xf522('0x5'),'E_AGI_COMMAND_EMPTY':_0xf522('0x6'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xf522('0x7'),'E_AGI_IVR_ENTRY':_0xf522('0x8')};function AGIError(_0x163491){var _0x163491=_0x163491||null,_0xa88798=_0xa88798||[],_0x5e6981=0x1,_0x3069fe='';if(!error[_0x163491]){_0x163491=_0xf522('0x9');}_0xa88798[_0xf522('0xa')](error[_0x163491]);while(arguments[_0x5e6981]){_0xa88798[_0xf522('0xa')](arguments[_0x5e6981]);_0x5e6981++;}_0x3069fe=util[_0xf522('0xb')]['apply'](util,_0xa88798);this[_0xf522('0xc')]=_0x3069fe;this['name']=_0x163491;}module[_0xf522('0xd')]=AGIError;
\ No newline at end of file
+var _0x141b=['Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','[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.entry\x27\x20menu.','push','format','apply','message','name','exports','util'];(function(_0x4f9b18,_0x2cb5ca){var _0x29f20c=function(_0x268b3d){while(--_0x268b3d){_0x4f9b18['push'](_0x4f9b18['shift']());}};_0x29f20c(++_0x2cb5ca);}(_0x141b,0x1bf));var _0xb141=function(_0x3f040f,_0x23aae6){_0x3f040f=_0x3f040f-0x0;var _0x15d44c=_0x141b[_0x3f040f];return _0x15d44c;};'use strict';var util=require(_0xb141('0x0'));var error={'E_AGI_UNDEFINED':'Undefined\x20error.','E_AGI_ARGUMENT_PORT':_0xb141('0x1'),'E_AGI_SERVER_ERROR':_0xb141('0x2'),'E_AGI_SERVER_CLOSE':'Server\x20closed.','E_AGI_SERVER_MAXCONNECTION':_0xb141('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0xb141('0x4'),'E_AGI_SOCKET_ERROR':_0xb141('0x5'),'E_AGI_SOCKET_CLOSE':_0xb141('0x6'),'E_AGI_SOCKET_TIMEOUT':_0xb141('0x7'),'E_AGI_COMMAND_EMPTY':_0xb141('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0xb141('0x9')};function AGIError(_0x51f1cb){var _0x51f1cb=_0x51f1cb||null,_0x90b307=_0x90b307||[],_0xb6aeb0=0x1,_0x25d277='';if(!error[_0x51f1cb]){_0x51f1cb='E_AGI_UNDEFINED';}_0x90b307[_0xb141('0xa')](error[_0x51f1cb]);while(arguments[_0xb6aeb0]){_0x90b307['push'](arguments[_0xb6aeb0]);_0xb6aeb0++;}_0x25d277=util[_0xb141('0xb')][_0xb141('0xc')](util,_0x90b307);this[_0xb141('0xd')]=_0x25d277;this[_0xb141('0xe')]=_0x51f1cb;}module[_0xb141('0xf')]=AGIError;
\ No newline at end of file