Built motion from commit 932cf0d0.|2.5.42
[motion2.git] / server / services / agi / error.js
index 5a2ae31..29a1ca4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x36ee=['Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','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.','E_AGI_UNDEFINED','push','format','message','name','exports','util'];(function(_0x10852d,_0x4cdcc6){var _0x13a8d6=function(_0x2ece16){while(--_0x2ece16){_0x10852d['push'](_0x10852d['shift']());}};_0x13a8d6(++_0x4cdcc6);}(_0x36ee,0x131));var _0xe36e=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x36ee[_0x5b644e];return _0x49c6bf;};'use strict';var util=require(_0xe36e('0x0'));var error={'E_AGI_UNDEFINED':_0xe36e('0x1'),'E_AGI_ARGUMENT_PORT':_0xe36e('0x2'),'E_AGI_SERVER_ERROR':_0xe36e('0x3'),'E_AGI_SERVER_CLOSE':_0xe36e('0x4'),'E_AGI_SERVER_MAXCONNECTION':_0xe36e('0x5'),'E_AGI_SERVER_VOICE_DISABLED':_0xe36e('0x6'),'E_AGI_SOCKET_ERROR':_0xe36e('0x7'),'E_AGI_SOCKET_CLOSE':_0xe36e('0x8'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0xe36e('0x9'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xe36e('0xa'),'E_AGI_IVR_ENTRY':_0xe36e('0xb')};function AGIError(_0x4141af){var _0x4141af=_0x4141af||null,_0x1f8749=_0x1f8749||[],_0x2de0dc=0x1,_0x279630='';if(!error[_0x4141af]){_0x4141af=_0xe36e('0xc');}_0x1f8749['push'](error[_0x4141af]);while(arguments[_0x2de0dc]){_0x1f8749[_0xe36e('0xd')](arguments[_0x2de0dc]);_0x2de0dc++;}_0x279630=util[_0xe36e('0xe')]['apply'](util,_0x1f8749);this[_0xe36e('0xf')]=_0x279630;this[_0xe36e('0x10')]=_0x4141af;}module[_0xe36e('0x11')]=AGIError;
\ No newline at end of file
+var _0x2df4=['Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','push','format','message','name','exports','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.'];(function(_0x794207,_0x54a989){var _0x4ee1c9=function(_0x136ea4){while(--_0x136ea4){_0x794207['push'](_0x794207['shift']());}};_0x4ee1c9(++_0x54a989);}(_0x2df4,0x1bb));var _0x42df=function(_0x92a987,_0x4415b6){_0x92a987=_0x92a987-0x0;var _0x331f4c=_0x2df4[_0x92a987];return _0x331f4c;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0x42df('0x0'),'E_AGI_ARGUMENT_PORT':_0x42df('0x1'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0x42df('0x2'),'E_AGI_SERVER_MAXCONNECTION':_0x42df('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0x42df('0x4'),'E_AGI_SOCKET_ERROR':_0x42df('0x5'),'E_AGI_SOCKET_CLOSE':_0x42df('0x6'),'E_AGI_SOCKET_TIMEOUT':_0x42df('0x7'),'E_AGI_COMMAND_EMPTY':_0x42df('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x42df('0x9'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x1dd5b5){var _0x1dd5b5=_0x1dd5b5||null,_0x2288a1=_0x2288a1||[],_0x217067=0x1,_0x130dbf='';if(!error[_0x1dd5b5]){_0x1dd5b5='E_AGI_UNDEFINED';}_0x2288a1[_0x42df('0xa')](error[_0x1dd5b5]);while(arguments[_0x217067]){_0x2288a1[_0x42df('0xa')](arguments[_0x217067]);_0x217067++;}_0x130dbf=util[_0x42df('0xb')]['apply'](util,_0x2288a1);this[_0x42df('0xc')]=_0x130dbf;this[_0x42df('0xd')]=_0x1dd5b5;}module[_0x42df('0xe')]=AGIError;
\ No newline at end of file