Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / services / ami / model / voiceQueue.js
index 223fa2c..e49a6e6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdf47=['startProgressive','predictiveIntervalAnsweredCalls','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalAvgTalktime','predictiveIntervalPauses','predictiveIntervalLowerLimit','erlangCallToSecond','erlangBusyFactor','dialRecallMeTimeout','dialRecallInQueue','dialQueueProject2','dialAgiAfterHangupClient','dialAgiAfterHangupAgent','exports','unknown','not_inuse','inuse','busy','invalid','ringing','onhold','wav49','roundrobin','name','monitor_format','type','inbound','total','answered','sumHoldTime','sumBillable','loggedIn','acwTimeout','sendMessageOneNotActive','message','originated','temp','dialTimezone','dialGlobalInterval','dialMethod','progressive','dialLimitChannel','dialLimitQueue','dialPowerLevel','dialPredictiveOptimization','dropRate','dialPredictiveOptimizationPercentage','dialPredictiveInterval','dialOriginateCallerIdName','anonymous','dialOriginateCallerIdNumber','dialOriginateTimeout','dialQueueOptions','tTxX','dialQueueTimeout','dialQueueProject','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','Trunk','TrunkBackup','dialPrefix','Interval','dialOrderByScheduledAt','DESC','dialRandomLastDigitCallerIdNumber','dialCutDigit','strategy','rrmemory','queueStatusComplete','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','outboundRejectCallsDay','timeout','outboundAnswerCallsDay','outboundAnswerAgiCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundNoSuchCallsDay','outboundBlacklistCallsDay','outboundOriginateFailureCallsDay','outboundDropCallsDayCallersExit','outboundReCallsDay'];(function(_0x2ee06b,_0x55aad1){var _0x572b78=function(_0x593858){while(--_0x593858){_0x2ee06b['push'](_0x2ee06b['shift']());}};_0x572b78(++_0x55aad1);}(_0xdf47,0x6e));var _0x7df4=function(_0x156b02,_0x502fb9){_0x156b02=_0x156b02-0x0;var _0x8dd1a9=_0xdf47[_0x156b02];return _0x8dd1a9;};'use strict';var statusDesc=[_0x7df4('0x0'),_0x7df4('0x1'),_0x7df4('0x2'),_0x7df4('0x3'),_0x7df4('0x4'),'unavailable',_0x7df4('0x5'),'ringinuse',_0x7df4('0x6')];var monitorFormat={'wav':'wav','wav49':_0x7df4('0x7'),'gsm':'gsm'};var strategy={'rrmemory':'rrmemory','roundrobin':_0x7df4('0x8')};function VoiceQueue(_0x5777fe){this['id']=_0x5777fe['id']||0x0;this[_0x7df4('0x9')]=_0x5777fe['name']||'';this[_0x7df4('0xa')]=_0x5777fe[_0x7df4('0xa')]||'';this['type']=_0x5777fe[_0x7df4('0xb')]||_0x7df4('0xc');this['waiting']=0x0;this['talking']=0x0;this[_0x7df4('0xd')]=0x0;this[_0x7df4('0xe')]=0x0;this['sumDuration']=0x0;this[_0x7df4('0xf')]=0x0;this[_0x7df4('0x10')]=0x0;this['unmanaged']=0x0;this['abandoned']=0x0;this[_0x7df4('0x11')]=0x0;this['available']=0x0;this['acw']=_0x5777fe['acw']||![];this[_0x7df4('0x12')]=_0x5777fe[_0x7df4('0x12')]||0xa;this['autopause']=_0x5777fe['autopause']||'no';this[_0x7df4('0x13')]=!![];this[_0x7df4('0x14')]='';this[_0x7df4('0x15')]=0x0;this[_0x7df4('0x16')]=0x0;this['dialTimezone']=_0x5777fe[_0x7df4('0x17')]||null;this[_0x7df4('0x18')]=_0x5777fe[_0x7df4('0x18')]?_0x5777fe['dialGlobalInterval']:null;this['dialActive']=_0x5777fe['dialActive'];this[_0x7df4('0x19')]=_0x5777fe['dialMethod']||_0x7df4('0x1a');this[_0x7df4('0x1b')]=_0x5777fe['dialLimitChannel']||0x0;this[_0x7df4('0x1c')]=_0x5777fe[_0x7df4('0x1c')]||0x0;this[_0x7df4('0x1d')]=_0x5777fe[_0x7df4('0x1d')]||0x1;this[_0x7df4('0x1e')]=_0x5777fe['dialPredictiveOptimization']||_0x7df4('0x1f');this[_0x7df4('0x20')]=_0x5777fe[_0x7df4('0x20')]||0.03;this['dialPredictiveInterval']=_0x5777fe[_0x7df4('0x21')]||0x258;this[_0x7df4('0x22')]=_0x5777fe['dialOriginateCallerIdName']||_0x7df4('0x23');this[_0x7df4('0x24')]=_0x5777fe['dialOriginateCallerIdNumber']||_0x7df4('0x23');this[_0x7df4('0x25')]=_0x5777fe[_0x7df4('0x25')]||0x1e;this['dialQueueOptions']=_0x5777fe[_0x7df4('0x26')]||_0x7df4('0x27');this['dialQueueTimeout']=_0x5777fe[_0x7df4('0x28')]||0x3;this[_0x7df4('0x29')]=_0x5777fe[_0x7df4('0x29')]||undefined;this[_0x7df4('0x2a')]=_0x5777fe['dialCongestionMaxRetry']||0x3;this[_0x7df4('0x2b')]=_0x5777fe[_0x7df4('0x2b')]||0x96;this['dialBusyMaxRetry']=_0x5777fe[_0x7df4('0x2c')]||0x3;this[_0x7df4('0x2d')]=_0x5777fe['dialBusyRetryFrequency']||0x96;this['dialNoAnswerMaxRetry']=_0x5777fe['dialNoAnswerMaxRetry']||0x3;this[_0x7df4('0x2e')]=_0x5777fe[_0x7df4('0x2e')]||0x96;this['dialGlobalMaxRetry']=_0x5777fe[_0x7df4('0x2f')]||0x4;this[_0x7df4('0x30')]=_0x5777fe[_0x7df4('0x30')]?_0x5777fe[_0x7df4('0x30')]:undefined;this['TrunkBackup']=_0x5777fe[_0x7df4('0x31')]?_0x5777fe[_0x7df4('0x31')]:undefined;this[_0x7df4('0x32')]=_0x5777fe[_0x7df4('0x32')]||undefined;this[_0x7df4('0x33')]=_0x5777fe[_0x7df4('0x33')]?_0x5777fe[_0x7df4('0x33')]:undefined;this[_0x7df4('0x34')]=_0x5777fe[_0x7df4('0x34')]||_0x7df4('0x35');this[_0x7df4('0x36')]=_0x5777fe['dialRandomLastDigitCallerIdNumber']||undefined;this[_0x7df4('0x37')]=_0x5777fe[_0x7df4('0x37')]||undefined;this['strategy']=strategy[_0x5777fe[_0x7df4('0x38')]]||_0x7df4('0x39');this[_0x7df4('0x3a')]=!![];this[_0x7df4('0x3b')]=_0x5777fe[_0x7df4('0x3b')]||![];this[_0x7df4('0x3c')]=_0x5777fe['dialAMDInitialSilence'];this[_0x7df4('0x3d')]=_0x5777fe[_0x7df4('0x3d')];this[_0x7df4('0x3e')]=_0x5777fe[_0x7df4('0x3e')];this['dialAMDTotalAnalysisTime']=_0x5777fe[_0x7df4('0x3f')];this[_0x7df4('0x40')]=_0x5777fe['dialAMDMinWordLength'];this[_0x7df4('0x41')]=_0x5777fe[_0x7df4('0x41')];this[_0x7df4('0x42')]=_0x5777fe[_0x7df4('0x42')];this[_0x7df4('0x43')]=_0x5777fe[_0x7df4('0x43')];this[_0x7df4('0x44')]=_0x5777fe[_0x7df4('0x44')];this[_0x7df4('0x45')]=0x0;this['pTalking']=0x0;this['timeout']=_0x5777fe[_0x7df4('0x46')];this[_0x7df4('0x47')]=0x0;this[_0x7df4('0x48')]=0x0;this['outboundNoAnswerCallsDay']=0x0;this[_0x7df4('0x49')]=0x0;this[_0x7df4('0x4a')]=0x0;this[_0x7df4('0x4b')]=0x0;this['outboundUnknownCallsDay']=0x0;this[_0x7df4('0x4c')]=0x0;this[_0x7df4('0x4d')]=0x0;this[_0x7df4('0x4e')]=0x0;this['outboundDropCallsDayTimeout']=0x0;this['outboundDropCallsDayACS']=0x0;this[_0x7df4('0x4f')]=0x0;this[_0x7df4('0x50')]=undefined;this['startPredictive']=undefined;this['handlePredictive']=undefined;this['predictiveIntervalMultiplicativeFactor']=1.05;this['predictiveIntervalTotalCalls']=0x0;this[_0x7df4('0x51')]=0x0;this[_0x7df4('0x52')]=0x0;this[_0x7df4('0x53')]=0x0;this['predictiveIntervalAvgHoldtime']=0x0;this[_0x7df4('0x54')]=0x0;this[_0x7df4('0x55')]=0x0;this[_0x7df4('0x56')]=0.4;this['predictiveIntervalErlangCalls']=0x0;this['predictiveIntervalErlangCallsDroppedCalls']=0x0;this['predictiveIntervalHitRate']=0x1;this['erlangCalls']=0x0;this[_0x7df4('0x57')]=0x0;this['erlangAbandonmentRate']=0x0;this[_0x7df4('0x58')]=0x0;this[_0x7df4('0x59')]=_0x5777fe[_0x7df4('0x59')]||0x1e;this['dialRecallInQueue']=_0x5777fe[_0x7df4('0x5a')]||![];this['dialQueueProject2']=_0x5777fe[_0x7df4('0x5b')]||undefined;this[_0x7df4('0x5c')]=_0x5777fe[_0x7df4('0x5c')]||![];this[_0x7df4('0x5d')]=_0x5777fe[_0x7df4('0x5d')]||![];this[_0x7df4('0xa')]=monitorFormat[_0x5777fe[_0x7df4('0xa')]]?monitorFormat[_0x5777fe[_0x7df4('0xa')]]:undefined;}module[_0x7df4('0x5e')]=VoiceQueue;
\ No newline at end of file
+var _0xbd62=['roundrobin','name','monitor_format','type','waiting','talking','total','answered','sumHoldTime','unmanaged','loggedIn','available','acw','acwTimeout','autopause','sendMessageOneNotActive','originated','temp','dialTimezone','dialGlobalInterval','dialActive','dialMethod','progressive','dialLimitChannel','dialLimitQueue','dialPowerLevel','dialPredictiveOptimization','dropRate','dialPredictiveOptimizationPercentage','dialPredictiveInterval','dialOriginateCallerIdName','anonymous','dialOriginateCallerIdNumber','dialOriginateTimeout','tTxX','dialQueueTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','Trunk','TrunkBackup','dialPrefix','Interval','dialOrderByScheduledAt','dialRandomLastDigitCallerIdNumber','dialCutDigit','strategy','rrmemory','queueStatusComplete','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','outboundRejectCallsDay','timeout','outboundAnswerCallsDay','outboundAnswerAgiCallsDay','outboundNoAnswerCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundNoSuchCallsDay','outboundBlacklistCallsDay','outboundOriginateFailureCallsDay','outboundDropCallsDayTimeout','outboundDropCallsDayACS','startProgressive','handlePredictive','predictiveIntervalTotalCalls','predictiveIntervalAnsweredCalls','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalAvgTalktime','predictiveIntervalLowerLimit','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalHitRate','erlangCalls','erlangBusyFactor','dialRecallMeTimeout','dialRecallInQueue','dialQueueProject2','dialAgiAfterHangupClient','exports','unknown','not_inuse','inuse','busy','invalid','unavailable','ringing','ringinuse','wav','wav49','gsm'];(function(_0xe9f5da,_0x3216fc){var _0x4e1af5=function(_0x418480){while(--_0x418480){_0xe9f5da['push'](_0xe9f5da['shift']());}};_0x4e1af5(++_0x3216fc);}(_0xbd62,0x12d));var _0x2bd6=function(_0x13d214,_0x338245){_0x13d214=_0x13d214-0x0;var _0x14faac=_0xbd62[_0x13d214];return _0x14faac;};'use strict';var statusDesc=[_0x2bd6('0x0'),_0x2bd6('0x1'),_0x2bd6('0x2'),_0x2bd6('0x3'),_0x2bd6('0x4'),_0x2bd6('0x5'),_0x2bd6('0x6'),_0x2bd6('0x7'),'onhold'];var monitorFormat={'wav':_0x2bd6('0x8'),'wav49':_0x2bd6('0x9'),'gsm':_0x2bd6('0xa')};var strategy={'rrmemory':'rrmemory','roundrobin':_0x2bd6('0xb')};function VoiceQueue(_0x1af64e){this['id']=_0x1af64e['id']||0x0;this[_0x2bd6('0xc')]=_0x1af64e[_0x2bd6('0xc')]||'';this[_0x2bd6('0xd')]=_0x1af64e[_0x2bd6('0xd')]||'';this[_0x2bd6('0xe')]=_0x1af64e[_0x2bd6('0xe')]||'inbound';this[_0x2bd6('0xf')]=0x0;this[_0x2bd6('0x10')]=0x0;this[_0x2bd6('0x11')]=0x0;this[_0x2bd6('0x12')]=0x0;this['sumDuration']=0x0;this[_0x2bd6('0x13')]=0x0;this['sumBillable']=0x0;this[_0x2bd6('0x14')]=0x0;this['abandoned']=0x0;this[_0x2bd6('0x15')]=0x0;this[_0x2bd6('0x16')]=0x0;this[_0x2bd6('0x17')]=_0x1af64e[_0x2bd6('0x17')]||![];this[_0x2bd6('0x18')]=_0x1af64e['acwTimeout']||0xa;this[_0x2bd6('0x19')]=_0x1af64e[_0x2bd6('0x19')]||'no';this[_0x2bd6('0x1a')]=!![];this['message']='';this[_0x2bd6('0x1b')]=0x0;this[_0x2bd6('0x1c')]=0x0;this[_0x2bd6('0x1d')]=_0x1af64e[_0x2bd6('0x1d')]||null;this[_0x2bd6('0x1e')]=_0x1af64e[_0x2bd6('0x1e')]?_0x1af64e['dialGlobalInterval']:null;this[_0x2bd6('0x1f')]=_0x1af64e['dialActive'];this[_0x2bd6('0x20')]=_0x1af64e[_0x2bd6('0x20')]||_0x2bd6('0x21');this['dialLimitChannel']=_0x1af64e[_0x2bd6('0x22')]||0x0;this[_0x2bd6('0x23')]=_0x1af64e['dialLimitQueue']||0x0;this[_0x2bd6('0x24')]=_0x1af64e['dialPowerLevel']||0x1;this[_0x2bd6('0x25')]=_0x1af64e[_0x2bd6('0x25')]||_0x2bd6('0x26');this[_0x2bd6('0x27')]=_0x1af64e['dialPredictiveOptimizationPercentage']||0.03;this['dialPredictiveInterval']=_0x1af64e[_0x2bd6('0x28')]||0x258;this[_0x2bd6('0x29')]=_0x1af64e[_0x2bd6('0x29')]||_0x2bd6('0x2a');this['dialOriginateCallerIdNumber']=_0x1af64e[_0x2bd6('0x2b')]||'anonymous';this[_0x2bd6('0x2c')]=_0x1af64e[_0x2bd6('0x2c')]||0x1e;this['dialQueueOptions']=_0x1af64e['dialQueueOptions']||_0x2bd6('0x2d');this[_0x2bd6('0x2e')]=_0x1af64e[_0x2bd6('0x2e')]||0x3;this['dialQueueProject']=_0x1af64e['dialQueueProject']||undefined;this[_0x2bd6('0x2f')]=_0x1af64e[_0x2bd6('0x2f')]||0x3;this[_0x2bd6('0x30')]=_0x1af64e['dialCongestionRetryFrequency']||0x96;this[_0x2bd6('0x31')]=_0x1af64e['dialBusyMaxRetry']||0x3;this[_0x2bd6('0x32')]=_0x1af64e['dialBusyRetryFrequency']||0x96;this['dialNoAnswerMaxRetry']=_0x1af64e[_0x2bd6('0x33')]||0x3;this['dialNoAnswerRetryFrequency']=_0x1af64e[_0x2bd6('0x34')]||0x96;this[_0x2bd6('0x35')]=_0x1af64e[_0x2bd6('0x35')]||0x4;this['Trunk']=_0x1af64e[_0x2bd6('0x36')]?_0x1af64e[_0x2bd6('0x36')]:undefined;this['TrunkBackup']=_0x1af64e[_0x2bd6('0x37')]?_0x1af64e[_0x2bd6('0x37')]:undefined;this[_0x2bd6('0x38')]=_0x1af64e[_0x2bd6('0x38')]||undefined;this[_0x2bd6('0x39')]=_0x1af64e[_0x2bd6('0x39')]?_0x1af64e[_0x2bd6('0x39')]:undefined;this[_0x2bd6('0x3a')]=_0x1af64e['dialOrderByScheduledAt']||'DESC';this[_0x2bd6('0x3b')]=_0x1af64e[_0x2bd6('0x3b')]||undefined;this[_0x2bd6('0x3c')]=_0x1af64e[_0x2bd6('0x3c')]||undefined;this[_0x2bd6('0x3d')]=strategy[_0x1af64e[_0x2bd6('0x3d')]]||_0x2bd6('0x3e');this[_0x2bd6('0x3f')]=!![];this[_0x2bd6('0x40')]=_0x1af64e['dialAMDActive']||![];this[_0x2bd6('0x41')]=_0x1af64e[_0x2bd6('0x41')];this[_0x2bd6('0x42')]=_0x1af64e['dialAMDGreeting'];this['dialAMDAfterGreetingSilence']=_0x1af64e[_0x2bd6('0x43')];this['dialAMDTotalAnalysisTime']=_0x1af64e[_0x2bd6('0x44')];this[_0x2bd6('0x45')]=_0x1af64e[_0x2bd6('0x45')];this[_0x2bd6('0x46')]=_0x1af64e[_0x2bd6('0x46')];this[_0x2bd6('0x47')]=_0x1af64e[_0x2bd6('0x47')];this['dialAMDSilenceThreshold']=_0x1af64e[_0x2bd6('0x48')];this[_0x2bd6('0x49')]=_0x1af64e[_0x2bd6('0x49')];this[_0x2bd6('0x4a')]=0x0;this['pTalking']=0x0;this[_0x2bd6('0x4b')]=_0x1af64e[_0x2bd6('0x4b')];this[_0x2bd6('0x4c')]=0x0;this[_0x2bd6('0x4d')]=0x0;this[_0x2bd6('0x4e')]=0x0;this[_0x2bd6('0x4f')]=0x0;this[_0x2bd6('0x50')]=0x0;this[_0x2bd6('0x51')]=0x0;this['outboundUnknownCallsDay']=0x0;this[_0x2bd6('0x52')]=0x0;this[_0x2bd6('0x53')]=0x0;this['outboundDropCallsDayCallersExit']=0x0;this[_0x2bd6('0x54')]=0x0;this[_0x2bd6('0x55')]=0x0;this['outboundReCallsDay']=0x0;this[_0x2bd6('0x56')]=undefined;this['startPredictive']=undefined;this[_0x2bd6('0x57')]=undefined;this['predictiveIntervalMultiplicativeFactor']=1.05;this[_0x2bd6('0x58')]=0x0;this[_0x2bd6('0x59')]=0x0;this[_0x2bd6('0x5a')]=0x0;this[_0x2bd6('0x5b')]=0x0;this['predictiveIntervalAvgHoldtime']=0x0;this[_0x2bd6('0x5c')]=0x0;this['predictiveIntervalPauses']=0x0;this[_0x2bd6('0x5d')]=0.4;this[_0x2bd6('0x5e')]=0x0;this[_0x2bd6('0x5f')]=0x0;this[_0x2bd6('0x60')]=0x1;this[_0x2bd6('0x61')]=0x0;this['erlangCallToSecond']=0x0;this['erlangAbandonmentRate']=0x0;this[_0x2bd6('0x62')]=0x0;this['dialRecallMeTimeout']=_0x1af64e[_0x2bd6('0x63')]||0x1e;this['dialRecallInQueue']=_0x1af64e[_0x2bd6('0x64')]||![];this[_0x2bd6('0x65')]=_0x1af64e[_0x2bd6('0x65')]||undefined;this[_0x2bd6('0x66')]=_0x1af64e['dialAgiAfterHangupClient']||![];this['dialAgiAfterHangupAgent']=_0x1af64e['dialAgiAfterHangupAgent']||![];this['monitor_format']=monitorFormat[_0x1af64e[_0x2bd6('0xd')]]?monitorFormat[_0x1af64e[_0x2bd6('0xd')]]:undefined;}module[_0x2bd6('0x67')]=VoiceQueue;
\ No newline at end of file