Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / services / agi / error.js
index 1a6a6f0..76a35a1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8e63=['format','apply','message','Undefined\x20error.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','push'];(function(_0x57169a,_0x5a28b9){var _0x5e0b21=function(_0x397031){while(--_0x397031){_0x57169a['push'](_0x57169a['shift']());}};_0x5e0b21(++_0x5a28b9);}(_0x8e63,0x7c));var _0x38e6=function(_0x597fde,_0x3032a3){_0x597fde=_0x597fde-0x0;var _0x333294=_0x8e63[_0x597fde];return _0x333294;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0x38e6('0x0'),'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':_0x38e6('0x1'),'E_AGI_SERVER_MAXCONNECTION':_0x38e6('0x2'),'E_AGI_SERVER_VOICE_DISABLED':_0x38e6('0x3'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':_0x38e6('0x4'),'E_AGI_COMMAND_EMPTY':_0x38e6('0x5'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x38e6('0x6'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x3048c0){var _0x3048c0=_0x3048c0||null,_0x9dd996=_0x9dd996||[],_0x315953=0x1,_0x51b586='';if(!error[_0x3048c0]){_0x3048c0='E_AGI_UNDEFINED';}_0x9dd996[_0x38e6('0x7')](error[_0x3048c0]);while(arguments[_0x315953]){_0x9dd996[_0x38e6('0x7')](arguments[_0x315953]);_0x315953++;}_0x51b586=util[_0x38e6('0x8')][_0x38e6('0x9')](util,_0x9dd996);this[_0x38e6('0xa')]=_0x51b586;this['name']=_0x3048c0;}module['exports']=AGIError;
\ No newline at end of file
+var _0xdbb3=['name','exports','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\x20error.\x20Code:\x20%s.','Socket\x20closed.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','push','format','apply'];(function(_0x38f638,_0xf677a8){var _0x33bf23=function(_0x5f02da){while(--_0x5f02da){_0x38f638['push'](_0x38f638['shift']());}};_0x33bf23(++_0xf677a8);}(_0xdbb3,0x1c2));var _0x3dbb=function(_0x59c301,_0x359c50){_0x59c301=_0x59c301-0x0;var _0x3866b9=_0xdbb3[_0x59c301];return _0x3866b9;};'use strict';var util=require(_0x3dbb('0x0'));var error={'E_AGI_UNDEFINED':_0x3dbb('0x1'),'E_AGI_ARGUMENT_PORT':_0x3dbb('0x2'),'E_AGI_SERVER_ERROR':_0x3dbb('0x3'),'E_AGI_SERVER_CLOSE':_0x3dbb('0x4'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0x3dbb('0x5'),'E_AGI_SOCKET_ERROR':_0x3dbb('0x6'),'E_AGI_SOCKET_CLOSE':_0x3dbb('0x7'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0x3dbb('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x3dbb('0x9'),'E_AGI_IVR_ENTRY':_0x3dbb('0xa')};function AGIError(_0x545ae5){var _0x545ae5=_0x545ae5||null,_0x380291=_0x380291||[],_0x48e970=0x1,_0x440257='';if(!error[_0x545ae5]){_0x545ae5='E_AGI_UNDEFINED';}_0x380291[_0x3dbb('0xb')](error[_0x545ae5]);while(arguments[_0x48e970]){_0x380291[_0x3dbb('0xb')](arguments[_0x48e970]);_0x48e970++;}_0x440257=util[_0x3dbb('0xc')][_0x3dbb('0xd')](util,_0x380291);this['message']=_0x440257;this[_0x3dbb('0xe')]=_0x545ae5;}module[_0x3dbb('0xf')]=AGIError;
\ No newline at end of file