Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / services / agi / error.js
index 3112aa9..a9982d2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe5ca=['Undefined\x20error.','Socket\x20closed.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_UNDEFINED','push','format','apply','message','name','exports'];(function(_0x5b69e3,_0x2aabaa){var _0x35b163=function(_0x15554b){while(--_0x15554b){_0x5b69e3['push'](_0x5b69e3['shift']());}};_0x35b163(++_0x2aabaa);}(_0xe5ca,0x160));var _0xae5c=function(_0x216d45,_0x4989fe){_0x216d45=_0x216d45-0x0;var _0xbaac0b=_0xe5ca[_0x216d45];return _0xbaac0b;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0xae5c('0x0'),'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':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':'[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0xae5c('0x1'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0xae5c('0x2'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xae5c('0x3'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x518aa6){var _0x518aa6=_0x518aa6||null,_0xfd16c1=_0xfd16c1||[],_0x516c13=0x1,_0x5b2010='';if(!error[_0x518aa6]){_0x518aa6=_0xae5c('0x4');}_0xfd16c1[_0xae5c('0x5')](error[_0x518aa6]);while(arguments[_0x516c13]){_0xfd16c1[_0xae5c('0x5')](arguments[_0x516c13]);_0x516c13++;}_0x5b2010=util[_0xae5c('0x6')][_0xae5c('0x7')](util,_0xfd16c1);this[_0xae5c('0x8')]=_0x5b2010;this[_0xae5c('0x9')]=_0x518aa6;}module[_0xae5c('0xa')]=AGIError;
\ No newline at end of file
+var _0x8192=['format','apply','message','name','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'];(function(_0x595998,_0x24c904){var _0x1854c7=function(_0x5b448c){while(--_0x5b448c){_0x595998['push'](_0x595998['shift']());}};_0x1854c7(++_0x24c904);}(_0x8192,0x164));var _0x2819=function(_0x5b2a1d,_0x12305c){_0x5b2a1d=_0x5b2a1d-0x0;var _0x7d4850=_0x8192[_0x5b2a1d];return _0x7d4850;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0x2819('0x0'),'E_AGI_ARGUMENT_PORT':_0x2819('0x1'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0x2819('0x2'),'E_AGI_SERVER_MAXCONNECTION':_0x2819('0x3'),'E_AGI_SERVER_VOICE_DISABLED':_0x2819('0x4'),'E_AGI_SOCKET_ERROR':_0x2819('0x5'),'E_AGI_SOCKET_CLOSE':_0x2819('0x6'),'E_AGI_SOCKET_TIMEOUT':_0x2819('0x7'),'E_AGI_COMMAND_EMPTY':_0x2819('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x2819('0x9'),'E_AGI_IVR_ENTRY':_0x2819('0xa')};function AGIError(_0x467ce6){var _0x467ce6=_0x467ce6||null,_0x2ac69d=_0x2ac69d||[],_0x3e1d56=0x1,_0x442442='';if(!error[_0x467ce6]){_0x467ce6='E_AGI_UNDEFINED';}_0x2ac69d[_0x2819('0xb')](error[_0x467ce6]);while(arguments[_0x3e1d56]){_0x2ac69d[_0x2819('0xb')](arguments[_0x3e1d56]);_0x3e1d56++;}_0x442442=util[_0x2819('0xc')][_0x2819('0xd')](util,_0x2ac69d);this[_0x2819('0xe')]=_0x442442;this[_0x2819('0xf')]=_0x467ce6;}module['exports']=AGIError;
\ No newline at end of file