Built motion from commit 863c3375.|2.6.28
[motion2.git] / server / services / agi / error.js
index aa73126..7f31c10 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6ead=['push','apply','message','name','exports','Undefined\x20error.','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.'];(function(_0x1d2c88,_0x4cb2a3){var _0x48e57e=function(_0x3b11ef){while(--_0x3b11ef){_0x1d2c88['push'](_0x1d2c88['shift']());}};_0x48e57e(++_0x4cb2a3);}(_0x6ead,0x17c));var _0xd6ea=function(_0x3ca7c6,_0x50d67f){_0x3ca7c6=_0x3ca7c6-0x0;var _0x18acd0=_0x6ead[_0x3ca7c6];return _0x18acd0;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0xd6ea('0x0'),'E_AGI_ARGUMENT_PORT':'Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','E_AGI_SERVER_ERROR':_0xd6ea('0x1'),'E_AGI_SERVER_CLOSE':_0xd6ea('0x2'),'E_AGI_SERVER_MAXCONNECTION':_0xd6ea('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0xd6ea('0x4'),'E_AGI_SOCKET_ERROR':_0xd6ea('0x5'),'E_AGI_SOCKET_CLOSE':_0xd6ea('0x6'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0xd6ea('0x7'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xd6ea('0x8'),'E_AGI_IVR_ENTRY':_0xd6ea('0x9')};function AGIError(_0x2bfe39){var _0x2bfe39=_0x2bfe39||null,_0x580308=_0x580308||[],_0x1b7818=0x1,_0x1f389d='';if(!error[_0x2bfe39]){_0x2bfe39='E_AGI_UNDEFINED';}_0x580308[_0xd6ea('0xa')](error[_0x2bfe39]);while(arguments[_0x1b7818]){_0x580308[_0xd6ea('0xa')](arguments[_0x1b7818]);_0x1b7818++;}_0x1f389d=util['format'][_0xd6ea('0xb')](util,_0x580308);this[_0xd6ea('0xc')]=_0x1f389d;this[_0xd6ea('0xd')]=_0x2bfe39;}module[_0xd6ea('0xe')]=AGIError;
\ No newline at end of file
+var _0x98c0=['[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Socket\x20closed.','Socket\x20timeout.','E_AGI_UNDEFINED','push','format','apply','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.'];(function(_0x33fbf2,_0xa451d2){var _0x40b7e7=function(_0x277341){while(--_0x277341){_0x33fbf2['push'](_0x33fbf2['shift']());}};_0x40b7e7(++_0xa451d2);}(_0x98c0,0x136));var _0x098c=function(_0x2fd910,_0x2b11b7){_0x2fd910=_0x2fd910-0x0;var _0x4ed89e=_0x98c0[_0x2fd910];return _0x4ed89e;};'use strict';var util=require(_0x098c('0x0'));var error={'E_AGI_UNDEFINED':_0x098c('0x1'),'E_AGI_ARGUMENT_PORT':_0x098c('0x2'),'E_AGI_SERVER_ERROR':_0x098c('0x3'),'E_AGI_SERVER_CLOSE':_0x098c('0x4'),'E_AGI_SERVER_MAXCONNECTION':_0x098c('0x5'),'E_AGI_SERVER_VOICE_DISABLED':_0x098c('0x6'),'E_AGI_SOCKET_ERROR':_0x098c('0x7'),'E_AGI_SOCKET_CLOSE':_0x098c('0x8'),'E_AGI_SOCKET_TIMEOUT':_0x098c('0x9'),'E_AGI_COMMAND_EMPTY':'Empty\x20command.','E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x111044){var _0x111044=_0x111044||null,_0x6b0168=_0x6b0168||[],_0x468063=0x1,_0x3666e7='';if(!error[_0x111044]){_0x111044=_0x098c('0xa');}_0x6b0168['push'](error[_0x111044]);while(arguments[_0x468063]){_0x6b0168[_0x098c('0xb')](arguments[_0x468063]);_0x468063++;}_0x3666e7=util[_0x098c('0xc')][_0x098c('0xd')](util,_0x6b0168);this['message']=_0x3666e7;this['name']=_0x111044;}module[_0x098c('0xe')]=AGIError;
\ No newline at end of file