Built motion from commit f67b3b02.|2.6.31
[motion2.git] / server / services / agi / error.js
index b7eab10..68587cd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x64a5=['exports','Undefined\x20error.','Server\x20closed.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20closed.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','apply'];(function(_0x40af00,_0x5c543e){var _0x33de6d=function(_0x397825){while(--_0x397825){_0x40af00['push'](_0x40af00['shift']());}};_0x33de6d(++_0x5c543e);}(_0x64a5,0x1cf));var _0x564a=function(_0x20e614,_0x3ac4ea){_0x20e614=_0x20e614-0x0;var _0x8c1d10=_0x64a5[_0x20e614];return _0x8c1d10;};'use strict';var util=require('util');var error={'E_AGI_UNDEFINED':_0x564a('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':_0x564a('0x1'),'E_AGI_SERVER_MAXCONNECTION':_0x564a('0x2'),'E_AGI_SERVER_VOICE_DISABLED':_0x564a('0x3'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0x564a('0x4'),'E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':'Empty\x20command.','E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x564a('0x5'),'E_AGI_IVR_ENTRY':_0x564a('0x6')};function AGIError(_0x13fe78){var _0x13fe78=_0x13fe78||null,_0xd5db08=_0xd5db08||[],_0x22e5c8=0x1,_0x329fef='';if(!error[_0x13fe78]){_0x13fe78=_0x564a('0x7');}_0xd5db08[_0x564a('0x8')](error[_0x13fe78]);while(arguments[_0x22e5c8]){_0xd5db08[_0x564a('0x8')](arguments[_0x22e5c8]);_0x22e5c8++;}_0x329fef=util['format'][_0x564a('0x9')](util,_0xd5db08);this['message']=_0x329fef;this['name']=_0x13fe78;}module[_0x564a('0xa')]=AGIError;
\ No newline at end of file
+var _0x0855=['util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','Socket\x20error.\x20Code:\x20%s.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','apply','name','exports'];(function(_0x2775a7,_0x3da3b8){var _0x52be4a=function(_0x285804){while(--_0x285804){_0x2775a7['push'](_0x2775a7['shift']());}};_0x52be4a(++_0x3da3b8);}(_0x0855,0x1c2));var _0x5085=function(_0x3c0206,_0x54e6af){_0x3c0206=_0x3c0206-0x0;var _0x547446=_0x0855[_0x3c0206];return _0x547446;};'use strict';var util=require(_0x5085('0x0'));var error={'E_AGI_UNDEFINED':_0x5085('0x1'),'E_AGI_ARGUMENT_PORT':_0x5085('0x2'),'E_AGI_SERVER_ERROR':_0x5085('0x3'),'E_AGI_SERVER_CLOSE':'Server\x20closed.','E_AGI_SERVER_MAXCONNECTION':_0x5085('0x4'),'E_AGI_SERVER_VOICE_DISABLED':'[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','E_AGI_SOCKET_ERROR':_0x5085('0x5'),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':_0x5085('0x6'),'E_AGI_COMMAND_EMPTY':_0x5085('0x7'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0x5085('0x8'),'E_AGI_IVR_ENTRY':_0x5085('0x9')};function AGIError(_0x296cb6){var _0x296cb6=_0x296cb6||null,_0x332b92=_0x332b92||[],_0x1f98d4=0x1,_0x8896f4='';if(!error[_0x296cb6]){_0x296cb6=_0x5085('0xa');}_0x332b92[_0x5085('0xb')](error[_0x296cb6]);while(arguments[_0x1f98d4]){_0x332b92['push'](arguments[_0x1f98d4]);_0x1f98d4++;}_0x8896f4=util['format'][_0x5085('0xc')](util,_0x332b92);this['message']=_0x8896f4;this[_0x5085('0xd')]=_0x296cb6;}module[_0x5085('0xe')]=AGIError;
\ No newline at end of file