Built motion from commit (unavailable).|2.4.16
[motion2.git] / server / services / agi / error.js
index 6ced41a..8238268 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdeb3=['[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Missing\x20\x27ivr.entry\x27\x20menu.','push','format','apply','message','name','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.'];(function(_0x59e7c0,_0xd813e3){var _0x368030=function(_0x47b96a){while(--_0x47b96a){_0x59e7c0['push'](_0x59e7c0['shift']());}};_0x368030(++_0xd813e3);}(_0xdeb3,0xeb));var _0x3deb=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xdeb3[_0x3ab51d];return _0x29a04e;};'use strict';var util=require(_0x3deb('0x0'));var error={'E_AGI_UNDEFINED':_0x3deb('0x1'),'E_AGI_ARGUMENT_PORT':_0x3deb('0x2'),'E_AGI_SERVER_ERROR':_0x3deb('0x3'),'E_AGI_SERVER_CLOSE':_0x3deb('0x4'),'E_AGI_SERVER_MAXCONNECTION':_0x3deb('0x5'),'E_AGI_SERVER_VOICE_DISABLED':_0x3deb('0x6'),'E_AGI_SOCKET_ERROR':_0x3deb('0x7'),'E_AGI_SOCKET_CLOSE':_0x3deb('0x8'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':'Empty\x20command.','E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0x3deb('0x9')};function AGIError(_0x7b819){var _0x7b819=_0x7b819||null,_0x14846f=_0x14846f||[],_0xcaaef7=0x1,_0x5ecf47='';if(!error[_0x7b819]){_0x7b819='E_AGI_UNDEFINED';}_0x14846f[_0x3deb('0xa')](error[_0x7b819]);while(arguments[_0xcaaef7]){_0x14846f[_0x3deb('0xa')](arguments[_0xcaaef7]);_0xcaaef7++;}_0x5ecf47=util[_0x3deb('0xb')][_0x3deb('0xc')](util,_0x14846f);this[_0x3deb('0xd')]=_0x5ecf47;this[_0x3deb('0xe')]=_0x7b819;}module[_0x3deb('0xf')]=AGIError;
\ No newline at end of file
+var _0x0911=['Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','push','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.','Socket\x20closed.'];(function(_0x4c3863,_0xbd2f77){var _0x3e677d=function(_0x3061a3){while(--_0x3061a3){_0x4c3863['push'](_0x4c3863['shift']());}};_0x3e677d(++_0xbd2f77);}(_0x0911,0x1a9));var _0x1091=function(_0x3df223,_0x1740fc){_0x3df223=_0x3df223-0x0;var _0x562d11=_0x0911[_0x3df223];return _0x562d11;};'use strict';var util=require(_0x1091('0x0'));var error={'E_AGI_UNDEFINED':_0x1091('0x1'),'E_AGI_ARGUMENT_PORT':_0x1091('0x2'),'E_AGI_SERVER_ERROR':_0x1091('0x3'),'E_AGI_SERVER_CLOSE':_0x1091('0x4'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0x1091('0x5'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0x1091('0x6'),'E_AGI_SOCKET_TIMEOUT':_0x1091('0x7'),'E_AGI_COMMAND_EMPTY':_0x1091('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x1091('0x9'),'E_AGI_IVR_ENTRY':_0x1091('0xa')};function AGIError(_0x28747){var _0x28747=_0x28747||null,_0x2acbb4=_0x2acbb4||[],_0x7b3a7d=0x1,_0x457631='';if(!error[_0x28747]){_0x28747='E_AGI_UNDEFINED';}_0x2acbb4[_0x1091('0xb')](error[_0x28747]);while(arguments[_0x7b3a7d]){_0x2acbb4[_0x1091('0xb')](arguments[_0x7b3a7d]);_0x7b3a7d++;}_0x457631=util[_0x1091('0xc')][_0x1091('0xd')](util,_0x2acbb4);this[_0x1091('0xe')]=_0x457631;this[_0x1091('0xf')]=_0x28747;}module['exports']=AGIError;
\ No newline at end of file