Built motion from commit 5293bb2a.|2.6.30
[motion2.git] / server / services / agi / error.js
index e4afc8c..96db8da 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xee7d=['Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','apply','name','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.','Socket\x20timeout.','Empty\x20command.'];(function(_0x37e283,_0x12bd1e){var _0x344757=function(_0x18f0dc){while(--_0x18f0dc){_0x37e283['push'](_0x37e283['shift']());}};_0x344757(++_0x12bd1e);}(_0xee7d,0xc6));var _0xdee7=function(_0xe2fdef,_0x2de9e9){_0xe2fdef=_0xe2fdef-0x0;var _0x1db545=_0xee7d[_0xe2fdef];return _0x1db545;};'use strict';var util=require(_0xdee7('0x0'));var error={'E_AGI_UNDEFINED':_0xdee7('0x1'),'E_AGI_ARGUMENT_PORT':_0xdee7('0x2'),'E_AGI_SERVER_ERROR':_0xdee7('0x3'),'E_AGI_SERVER_CLOSE':_0xdee7('0x4'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0xdee7('0x5'),'E_AGI_SOCKET_ERROR':_0xdee7('0x6'),'E_AGI_SOCKET_CLOSE':_0xdee7('0x7'),'E_AGI_SOCKET_TIMEOUT':_0xdee7('0x8'),'E_AGI_COMMAND_EMPTY':_0xdee7('0x9'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0xdee7('0xa')};function AGIError(_0x1a18a9){var _0x1a18a9=_0x1a18a9||null,_0x1f9a10=_0x1f9a10||[],_0x2de8a3=0x1,_0x3ae6d3='';if(!error[_0x1a18a9]){_0x1a18a9=_0xdee7('0xb');}_0x1f9a10[_0xdee7('0xc')](error[_0x1a18a9]);while(arguments[_0x2de8a3]){_0x1f9a10[_0xdee7('0xc')](arguments[_0x2de8a3]);_0x2de8a3++;}_0x3ae6d3=util[_0xdee7('0xd')][_0xdee7('0xe')](util,_0x1f9a10);this['message']=_0x3ae6d3;this[_0xdee7('0xf')]=_0x1a18a9;}module['exports']=AGIError;
\ No newline at end of file
+var _0x9b74=['Socket\x20timeout.','Missing\x20\x27ivr.agi_network_script\x27.','push','format','apply','name','exports','util','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.'];(function(_0x2d00a4,_0x31f8a4){var _0x56d6b1=function(_0x4ba732){while(--_0x4ba732){_0x2d00a4['push'](_0x2d00a4['shift']());}};_0x56d6b1(++_0x31f8a4);}(_0x9b74,0x115));var _0x49b7=function(_0x2e6b54,_0x1539ef){_0x2e6b54=_0x2e6b54-0x0;var _0x491a33=_0x9b74[_0x2e6b54];return _0x491a33;};'use strict';var util=require(_0x49b7('0x0'));var error={'E_AGI_UNDEFINED':'Undefined\x20error.','E_AGI_ARGUMENT_PORT':_0x49b7('0x1'),'E_AGI_SERVER_ERROR':_0x49b7('0x2'),'E_AGI_SERVER_CLOSE':_0x49b7('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0x49b7('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0x49b7('0x5'),'E_AGI_SOCKET_ERROR':_0x49b7('0x6'),'E_AGI_SOCKET_CLOSE':_0x49b7('0x7'),'E_AGI_SOCKET_TIMEOUT':_0x49b7('0x8'),'E_AGI_COMMAND_EMPTY':'Empty\x20command.','E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x49b7('0x9'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x46c643){var _0x46c643=_0x46c643||null,_0x47290f=_0x47290f||[],_0x44de83=0x1,_0x1bc3b5='';if(!error[_0x46c643]){_0x46c643='E_AGI_UNDEFINED';}_0x47290f['push'](error[_0x46c643]);while(arguments[_0x44de83]){_0x47290f[_0x49b7('0xa')](arguments[_0x44de83]);_0x44de83++;}_0x1bc3b5=util[_0x49b7('0xb')][_0x49b7('0xc')](util,_0x47290f);this['message']=_0x1bc3b5;this[_0x49b7('0xd')]=_0x46c643;}module[_0x49b7('0xe')]=AGIError;
\ No newline at end of file