Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / services / agi / error.js
index 516f71a..15c052a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb28a=['Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','apply','message','exports','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20closed.','Socket\x20closed.','Socket\x20timeout.','Empty\x20command.'];(function(_0x4d82b2,_0x4a1269){var _0x45b964=function(_0x584e40){while(--_0x584e40){_0x4d82b2['push'](_0x4d82b2['shift']());}};_0x45b964(++_0x4a1269);}(_0xb28a,0x166));var _0xab28=function(_0x22b099,_0x2f69ba){_0x22b099=_0x22b099-0x0;var _0x5652c7=_0xb28a[_0x22b099];return _0x5652c7;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0xab28('0x0'),'E_AGI_ARGUMENT_PORT':_0xab28('0x1'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0xab28('0x2'),'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':_0xab28('0x3'),'E_AGI_SOCKET_TIMEOUT':_0xab28('0x4'),'E_AGI_COMMAND_EMPTY':_0xab28('0x5'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xab28('0x6'),'E_AGI_IVR_ENTRY':_0xab28('0x7')};function AGIError(_0x128a13){var _0x128a13=_0x128a13||null,_0x3b2507=_0x3b2507||[],_0x48949b=0x1,_0x479267='';if(!error[_0x128a13]){_0x128a13=_0xab28('0x8');}_0x3b2507[_0xab28('0x9')](error[_0x128a13]);while(arguments[_0x48949b]){_0x3b2507[_0xab28('0x9')](arguments[_0x48949b]);_0x48949b++;}_0x479267=util[_0xab28('0xa')][_0xab28('0xb')](util,_0x3b2507);this[_0xab28('0xc')]=_0x479267;this['name']=_0x128a13;}module[_0xab28('0xd')]=AGIError;
\ No newline at end of file
+var _0x3edb=['format','message','util','Undefined\x20error.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20closed.','Empty\x20command.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push'];(function(_0x160c73,_0x2ee678){var _0xd9302=function(_0x169454){while(--_0x169454){_0x160c73['push'](_0x160c73['shift']());}};_0xd9302(++_0x2ee678);}(_0x3edb,0x1c9));var _0xb3ed=function(_0x24237f,_0x4cf32c){_0x24237f=_0x24237f-0x0;var _0x48298e=_0x3edb[_0x24237f];return _0x48298e;};'use strict';var util=require(_0xb3ed('0x0'));var error={'E_AGI_UNDEFINED':_0xb3ed('0x1'),'E_AGI_ARGUMENT_PORT':'Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','E_AGI_SERVER_ERROR':_0xb3ed('0x2'),'E_AGI_SERVER_CLOSE':_0xb3ed('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0xb3ed('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0xb3ed('0x5'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0xb3ed('0x6'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0xb3ed('0x7'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0xb3ed('0x8')};function AGIError(_0x28a1c6){var _0x28a1c6=_0x28a1c6||null,_0x50fd32=_0x50fd32||[],_0xcd6a84=0x1,_0x3c968c='';if(!error[_0x28a1c6]){_0x28a1c6=_0xb3ed('0x9');}_0x50fd32[_0xb3ed('0xa')](error[_0x28a1c6]);while(arguments[_0xcd6a84]){_0x50fd32[_0xb3ed('0xa')](arguments[_0xcd6a84]);_0xcd6a84++;}_0x3c968c=util[_0xb3ed('0xb')]['apply'](util,_0x50fd32);this[_0xb3ed('0xc')]=_0x3c968c;this['name']=_0x28a1c6;}module['exports']=AGIError;
\ No newline at end of file