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