X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fagi%2Ferror.js;fp=server%2Fservices%2Fagi%2Ferror.js;h=eeada932ed93c48b5edaab0c77e441ee4de785d8;hb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;hp=1768df6afe3c097efe3a75cd0368bc236710fc5f;hpb=bc8ba5d49091d4cd92a2c18e276791604cb31450;p=motion2.git diff --git a/server/services/agi/error.js b/server/services/agi/error.js index 1768df6..eeada93 100644 --- a/server/services/agi/error.js +++ b/server/services/agi/error.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x483d=['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\x20closed.','Socket\x20timeout.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_UNDEFINED','push','format','message','name','exports','util'];(function(_0x2a92c3,_0xf9d1f9){var _0x57e009=function(_0x28d4fc){while(--_0x28d4fc){_0x2a92c3['push'](_0x2a92c3['shift']());}};_0x57e009(++_0xf9d1f9);}(_0x483d,0x6f));var _0xd483=function(_0x5a6e32,_0x573b46){_0x5a6e32=_0x5a6e32-0x0;var _0x168e07=_0x483d[_0x5a6e32];return _0x168e07;};'use strict';var util=require(_0xd483('0x0'));var error={'E_AGI_UNDEFINED':_0xd483('0x1'),'E_AGI_ARGUMENT_PORT':_0xd483('0x2'),'E_AGI_SERVER_ERROR':'Server\x20error.\x20Code:\x20%s.','E_AGI_SERVER_CLOSE':_0xd483('0x3'),'E_AGI_SERVER_MAXCONNECTION':_0xd483('0x4'),'E_AGI_SERVER_VOICE_DISABLED':_0xd483('0x5'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0xd483('0x6'),'E_AGI_SOCKET_TIMEOUT':_0xd483('0x7'),'E_AGI_COMMAND_EMPTY':_0xd483('0x8'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xd483('0x9'),'E_AGI_IVR_ENTRY':'Missing\x20\x27ivr.entry\x27\x20menu.'};function AGIError(_0x4094c1){var _0x4094c1=_0x4094c1||null,_0x5b837a=_0x5b837a||[],_0x17451e=0x1,_0x5a2433='';if(!error[_0x4094c1]){_0x4094c1=_0xd483('0xa');}_0x5b837a[_0xd483('0xb')](error[_0x4094c1]);while(arguments[_0x17451e]){_0x5b837a['push'](arguments[_0x17451e]);_0x17451e++;}_0x5a2433=util[_0xd483('0xc')]['apply'](util,_0x5b837a);this[_0xd483('0xd')]=_0x5a2433;this[_0xd483('0xe')]=_0x4094c1;}module[_0xd483('0xf')]=AGIError; \ No newline at end of file +var _0x46aa=['Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','Socket\x20error.\x20Code:\x20%s.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','apply','message','util','Undefined\x20error.'];(function(_0xba98f6,_0x4c4de1){var _0x8fb27=function(_0x37c3e5){while(--_0x37c3e5){_0xba98f6['push'](_0xba98f6['shift']());}};_0x8fb27(++_0x4c4de1);}(_0x46aa,0x1be));var _0xa46a=function(_0x2b9b7f,_0x4d47df){_0x2b9b7f=_0x2b9b7f-0x0;var _0x4ed19a=_0x46aa[_0x2b9b7f];return _0x4ed19a;};'use strict';var util=require(_0xa46a('0x0'));var error={'E_AGI_UNDEFINED':_0xa46a('0x1'),'E_AGI_ARGUMENT_PORT':_0xa46a('0x2'),'E_AGI_SERVER_ERROR':_0xa46a('0x3'),'E_AGI_SERVER_CLOSE':_0xa46a('0x4'),'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':_0xa46a('0x5'),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0xa46a('0x6'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xa46a('0x7'),'E_AGI_IVR_ENTRY':_0xa46a('0x8')};function AGIError(_0x4ea277){var _0x4ea277=_0x4ea277||null,_0x22427a=_0x22427a||[],_0x4140b4=0x1,_0x2f13ea='';if(!error[_0x4ea277]){_0x4ea277=_0xa46a('0x9');}_0x22427a[_0xa46a('0xa')](error[_0x4ea277]);while(arguments[_0x4140b4]){_0x22427a[_0xa46a('0xa')](arguments[_0x4140b4]);_0x4140b4++;}_0x2f13ea=util[_0xa46a('0xb')][_0xa46a('0xc')](util,_0x22427a);this[_0xa46a('0xd')]=_0x2f13ea;this['name']=_0x4ea277;}module['exports']=AGIError; \ No newline at end of file