Built motion from commit (unavailable).|2.4.9
[motion2.git] / server / services / agi / error.js
index 486ccf6..0abaa34 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb205=['E_AGI_UNDEFINED','push','apply','message','name','exports','util','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','[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.','Missing\x20\x27ivr.entry\x27\x20menu.'];(function(_0x3bd9ec,_0x52ad78){var _0xb97342=function(_0x41dcaa){while(--_0x41dcaa){_0x3bd9ec['push'](_0x3bd9ec['shift']());}};_0xb97342(++_0x52ad78);}(_0xb205,0x156));var _0x5b20=function(_0x5a216a,_0x1ef6ac){_0x5a216a=_0x5a216a-0x0;var _0xdf2aa7=_0xb205[_0x5a216a];return _0xdf2aa7;};'use strict';var util=require(_0x5b20('0x0'));var error={'E_AGI_UNDEFINED':'Undefined\x20error.','E_AGI_ARGUMENT_PORT':_0x5b20('0x1'),'E_AGI_SERVER_ERROR':_0x5b20('0x2'),'E_AGI_SERVER_CLOSE':'Server\x20closed.','E_AGI_SERVER_MAXCONNECTION':_0x5b20('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0x5b20('0x4'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0x5b20('0x5'),'E_AGI_SOCKET_TIMEOUT':_0x5b20('0x6'),'E_AGI_COMMAND_EMPTY':_0x5b20('0x7'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x5b20('0x8'),'E_AGI_IVR_ENTRY':_0x5b20('0x9')};function AGIError(_0xb51467){var _0xb51467=_0xb51467||null,_0x2ddfaf=_0x2ddfaf||[],_0x301499=0x1,_0x394d37='';if(!error[_0xb51467]){_0xb51467=_0x5b20('0xa');}_0x2ddfaf[_0x5b20('0xb')](error[_0xb51467]);while(arguments[_0x301499]){_0x2ddfaf[_0x5b20('0xb')](arguments[_0x301499]);_0x301499++;}_0x394d37=util['format'][_0x5b20('0xc')](util,_0x2ddfaf);this[_0x5b20('0xd')]=_0x394d37;this[_0x5b20('0xe')]=_0xb51467;}module[_0x5b20('0xf')]=AGIError;
\ No newline at end of file
+var _0x55ca=['Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','push','message','name','exports','util','Undefined\x20error.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20closed.'];(function(_0x3dcf21,_0x572c92){var _0x24a091=function(_0x440986){while(--_0x440986){_0x3dcf21['push'](_0x3dcf21['shift']());}};_0x24a091(++_0x572c92);}(_0x55ca,0x126));var _0xa55c=function(_0x446208,_0xb483fb){_0x446208=_0x446208-0x0;var _0xe49563=_0x55ca[_0x446208];return _0xe49563;};'use strict';var util=require(_0xa55c('0x0'));var error={'E_AGI_UNDEFINED':_0xa55c('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':'Server\x20closed.','E_AGI_SERVER_MAXCONNECTION':_0xa55c('0x2'),'E_AGI_SERVER_VOICE_DISABLED':_0xa55c('0x3'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0xa55c('0x4'),'E_AGI_SOCKET_TIMEOUT':_0xa55c('0x5'),'E_AGI_COMMAND_EMPTY':_0xa55c('0x6'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xa55c('0x7'),'E_AGI_IVR_ENTRY':_0xa55c('0x8')};function AGIError(_0x279caa){var _0x279caa=_0x279caa||null,_0x4d0624=_0x4d0624||[],_0x2121fd=0x1,_0x2537f0='';if(!error[_0x279caa]){_0x279caa='E_AGI_UNDEFINED';}_0x4d0624[_0xa55c('0x9')](error[_0x279caa]);while(arguments[_0x2121fd]){_0x4d0624[_0xa55c('0x9')](arguments[_0x2121fd]);_0x2121fd++;}_0x2537f0=util['format']['apply'](util,_0x4d0624);this[_0xa55c('0xa')]=_0x2537f0;this[_0xa55c('0xb')]=_0x279caa;}module[_0xa55c('0xc')]=AGIError;
\ No newline at end of file