Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / services / agi / error.js
index 802aa9c..4d40973 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xeedf=['util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','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','apply','message','name','exports'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0xeedf,0x12c));var _0xfeed=function(_0x505510,_0x2b9c7e){_0x505510=_0x505510-0x0;var _0x55220e=_0xeedf[_0x505510];return _0x55220e;};'use strict';var util=require(_0xfeed('0x0'));var error={'E_AGI_UNDEFINED':_0xfeed('0x1'),'E_AGI_ARGUMENT_PORT':_0xfeed('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0xfeed('0x3'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0xfeed('0x4'),'E_AGI_SOCKET_ERROR':_0xfeed('0x5'),'E_AGI_SOCKET_CLOSE':_0xfeed('0x6'),'E_AGI_SOCKET_TIMEOUT':_0xfeed('0x7'),'E_AGI_COMMAND_EMPTY':'Empty\x20command.','E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xfeed('0x8'),'E_AGI_IVR_ENTRY':_0xfeed('0x9')};function AGIError(_0x5df4fe){var _0x5df4fe=_0x5df4fe||null,_0x52286c=_0x52286c||[],_0x22fd66=0x1,_0x5c147d='';if(!error[_0x5df4fe]){_0x5df4fe=_0xfeed('0xa');}_0x52286c['push'](error[_0x5df4fe]);while(arguments[_0x22fd66]){_0x52286c['push'](arguments[_0x22fd66]);_0x22fd66++;}_0x5c147d=util['format'][_0xfeed('0xb')](util,_0x52286c);this[_0xfeed('0xc')]=_0x5c147d;this[_0xfeed('0xd')]=_0x5df4fe;}module[_0xfeed('0xe')]=AGIError;
\ No newline at end of file
+var _0x1d25=['Socket\x20error.\x20Code:\x20%s.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','format','apply','message','name','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.'];(function(_0x3932eb,_0x43b210){var _0x5316e5=function(_0x1744e8){while(--_0x1744e8){_0x3932eb['push'](_0x3932eb['shift']());}};_0x5316e5(++_0x43b210);}(_0x1d25,0xba));var _0x51d2=function(_0x54f7c0,_0x27af83){_0x54f7c0=_0x54f7c0-0x0;var _0x245d03=_0x1d25[_0x54f7c0];return _0x245d03;};'use strict';var util=require(_0x51d2('0x0'));var error={'E_AGI_UNDEFINED':_0x51d2('0x1'),'E_AGI_ARGUMENT_PORT':_0x51d2('0x2'),'E_AGI_SERVER_ERROR':_0x51d2('0x3'),'E_AGI_SERVER_CLOSE':_0x51d2('0x4'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0x51d2('0x5'),'E_AGI_SOCKET_ERROR':_0x51d2('0x6'),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':_0x51d2('0x7'),'E_AGI_COMMAND_EMPTY':_0x51d2('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x51d2('0x9'),'E_AGI_IVR_ENTRY':_0x51d2('0xa')};function AGIError(_0x449fec){var _0x449fec=_0x449fec||null,_0x56edda=_0x56edda||[],_0x18e8a9=0x1,_0x5a6b5f='';if(!error[_0x449fec]){_0x449fec=_0x51d2('0xb');}_0x56edda['push'](error[_0x449fec]);while(arguments[_0x18e8a9]){_0x56edda['push'](arguments[_0x18e8a9]);_0x18e8a9++;}_0x5a6b5f=util[_0x51d2('0xc')][_0x51d2('0xd')](util,_0x56edda);this[_0x51d2('0xe')]=_0x5a6b5f;this[_0x51d2('0xf')]=_0x449fec;}module['exports']=AGIError;
\ No newline at end of file