Built motion from commit (unavailable).|2.2.3
[motion2.git] / server / services / agi / error.js
index 07da7ab..1dc37c7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6a49=['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\x20error.\x20Code:\x20%s.','Socket\x20closed.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','push','format','name','util'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x6a49,0xb3));var _0x96a4=function(_0x1673fc,_0x1f5e77){_0x1673fc=_0x1673fc-0x0;var _0x580d19=_0x6a49[_0x1673fc];return _0x580d19;};'use strict';var util=require(_0x96a4('0x0'));var error={'E_AGI_UNDEFINED':_0x96a4('0x1'),'E_AGI_ARGUMENT_PORT':_0x96a4('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0x96a4('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0x96a4('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0x96a4('0x5'),'E_AGI_SOCKET_ERROR':_0x96a4('0x6'),'E_AGI_SOCKET_CLOSE':_0x96a4('0x7'),'E_AGI_SOCKET_TIMEOUT':_0x96a4('0x8'),'E_AGI_COMMAND_EMPTY':_0x96a4('0x9'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x96a4('0xa'),'E_AGI_IVR_ENTRY':_0x96a4('0xb')};function AGIError(_0x5e6a31){var _0x5e6a31=_0x5e6a31||null,_0x5aa333=_0x5aa333||[],_0x2924fa=0x1,_0x4c65e2='';if(!error[_0x5e6a31]){_0x5e6a31='E_AGI_UNDEFINED';}_0x5aa333[_0x96a4('0xc')](error[_0x5e6a31]);while(arguments[_0x2924fa]){_0x5aa333[_0x96a4('0xc')](arguments[_0x2924fa]);_0x2924fa++;}_0x4c65e2=util[_0x96a4('0xd')]['apply'](util,_0x5aa333);this['message']=_0x4c65e2;this[_0x96a4('0xe')]=_0x5e6a31;}module['exports']=AGIError;
\ No newline at end of file
+var _0xed71=['util','Undefined\x20error.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[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','message','name','exports'];(function(_0x41d623,_0x512249){var _0x4a6ec5=function(_0x3d57d5){while(--_0x3d57d5){_0x41d623['push'](_0x41d623['shift']());}};_0x4a6ec5(++_0x512249);}(_0xed71,0xb0));var _0x1ed7=function(_0x593683,_0x2b3213){_0x593683=_0x593683-0x0;var _0x44cc39=_0xed71[_0x593683];return _0x44cc39;};'use strict';var util=require(_0x1ed7('0x0'));var error={'E_AGI_UNDEFINED':_0x1ed7('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':_0x1ed7('0x2'),'E_AGI_SERVER_MAXCONNECTION':_0x1ed7('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0x1ed7('0x4'),'E_AGI_SOCKET_ERROR':_0x1ed7('0x5'),'E_AGI_SOCKET_CLOSE':_0x1ed7('0x6'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0x1ed7('0x7'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x1ed7('0x8'),'E_AGI_IVR_ENTRY':_0x1ed7('0x9')};function AGIError(_0x33a8f0){var _0x33a8f0=_0x33a8f0||null,_0xca502=_0xca502||[],_0x20c5b2=0x1,_0x4f1d6c='';if(!error[_0x33a8f0]){_0x33a8f0='E_AGI_UNDEFINED';}_0xca502[_0x1ed7('0xa')](error[_0x33a8f0]);while(arguments[_0x20c5b2]){_0xca502[_0x1ed7('0xa')](arguments[_0x20c5b2]);_0x20c5b2++;}_0x4f1d6c=util[_0x1ed7('0xb')][_0x1ed7('0xc')](util,_0xca502);this[_0x1ed7('0xd')]=_0x4f1d6c;this[_0x1ed7('0xe')]=_0x33a8f0;}module[_0x1ed7('0xf')]=AGIError;
\ No newline at end of file