Built motion from commit 351e7f9c.|2.6.31
[motion2.git] / server / services / agi / error.js
index 6e7d681..b7eab10 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x55ce=['format','apply','message','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','Socket\x20closed.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED'];(function(_0x1b012e,_0x36ce1f){var _0x165fe9=function(_0x52e449){while(--_0x52e449){_0x1b012e['push'](_0x1b012e['shift']());}};_0x165fe9(++_0x36ce1f);}(_0x55ce,0xc8));var _0xe55c=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x55ce[_0x14add3];return _0x4a174f;};'use strict';var util=require(_0xe55c('0x0'));var error={'E_AGI_UNDEFINED':_0xe55c('0x1'),'E_AGI_ARGUMENT_PORT':_0xe55c('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':'Server\x20closed.','E_AGI_SERVER_MAXCONNECTION':_0xe55c('0x3'),'E_AGI_SERVER_VOICE_DISABLED':'[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0xe55c('0x4'),'E_AGI_SOCKET_TIMEOUT':_0xe55c('0x5'),'E_AGI_COMMAND_EMPTY':_0xe55c('0x6'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xe55c('0x7'),'E_AGI_IVR_ENTRY':_0xe55c('0x8')};function AGIError(_0x197e01){var _0x197e01=_0x197e01||null,_0x35bd03=_0x35bd03||[],_0x198c1e=0x1,_0x371bd1='';if(!error[_0x197e01]){_0x197e01=_0xe55c('0x9');}_0x35bd03['push'](error[_0x197e01]);while(arguments[_0x198c1e]){_0x35bd03['push'](arguments[_0x198c1e]);_0x198c1e++;}_0x371bd1=util[_0xe55c('0xa')][_0xe55c('0xb')](util,_0x35bd03);this[_0xe55c('0xc')]=_0x371bd1;this['name']=_0x197e01;}module[_0xe55c('0xd')]=AGIError;
\ No newline at end of file
+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