Built motion from commit (unavailable).|2.0.72
[motion2.git] / server / services / agi / error.js
index d54bffd..df04da0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb6ae=['apply','name','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\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format'];(function(_0x462266,_0xbdc282){var _0x5e32f2=function(_0x5f5176){while(--_0x5f5176){_0x462266['push'](_0x462266['shift']());}};_0x5e32f2(++_0xbdc282);}(_0xb6ae,0x80));var _0xeb6a=function(_0x2f45ea,_0x15c656){_0x2f45ea=_0x2f45ea-0x0;var _0x485a84=_0xb6ae[_0x2f45ea];return _0x485a84;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':'Undefined\x20error.','E_AGI_ARGUMENT_PORT':_0xeb6a('0x0'),'E_AGI_SERVER_ERROR':_0xeb6a('0x1'),'E_AGI_SERVER_CLOSE':_0xeb6a('0x2'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0xeb6a('0x3'),'E_AGI_SOCKET_ERROR':_0xeb6a('0x4'),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':_0xeb6a('0x5'),'E_AGI_COMMAND_EMPTY':_0xeb6a('0x6'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xeb6a('0x7'),'E_AGI_IVR_ENTRY':_0xeb6a('0x8')};function AGIError(_0x528a79){var _0x528a79=_0x528a79||null,_0x3a76b=_0x3a76b||[],_0xfb1c2=0x1,_0x2e3f14='';if(!error[_0x528a79]){_0x528a79=_0xeb6a('0x9');}_0x3a76b['push'](error[_0x528a79]);while(arguments[_0xfb1c2]){_0x3a76b[_0xeb6a('0xa')](arguments[_0xfb1c2]);_0xfb1c2++;}_0x2e3f14=util[_0xeb6a('0xb')][_0xeb6a('0xc')](util,_0x3a76b);this['message']=_0x2e3f14;this[_0xeb6a('0xd')]=_0x528a79;}module['exports']=AGIError;
\ No newline at end of file
+var _0x8e4b=['E_AGI_UNDEFINED','push','format','apply','message','name','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20closed.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.'];(function(_0x5cf6ba,_0x109c14){var _0x231955=function(_0x2eb480){while(--_0x2eb480){_0x5cf6ba['push'](_0x5cf6ba['shift']());}};_0x231955(++_0x109c14);}(_0x8e4b,0x117));var _0xb8e4=function(_0x21cb7f,_0x48cd16){_0x21cb7f=_0x21cb7f-0x0;var _0x5a079a=_0x8e4b[_0x21cb7f];return _0x5a079a;};'use strict';var util=require(_0xb8e4('0x0'));var error={'E_AGI_UNDEFINED':_0xb8e4('0x1'),'E_AGI_ARGUMENT_PORT':_0xb8e4('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0xb8e4('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0xb8e4('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0xb8e4('0x5'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0xb8e4('0x6'),'E_AGI_SOCKET_TIMEOUT':_0xb8e4('0x7'),'E_AGI_COMMAND_EMPTY':_0xb8e4('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xb8e4('0x9'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x401a9b){var _0x401a9b=_0x401a9b||null,_0x20aa0c=_0x20aa0c||[],_0x43d281=0x1,_0x347d5d='';if(!error[_0x401a9b]){_0x401a9b=_0xb8e4('0xa');}_0x20aa0c[_0xb8e4('0xb')](error[_0x401a9b]);while(arguments[_0x43d281]){_0x20aa0c[_0xb8e4('0xb')](arguments[_0x43d281]);_0x43d281++;}_0x347d5d=util[_0xb8e4('0xc')][_0xb8e4('0xd')](util,_0x20aa0c);this[_0xb8e4('0xe')]=_0x347d5d;this[_0xb8e4('0xf')]=_0x401a9b;}module[_0xb8e4('0x10')]=AGIError;
\ No newline at end of file