Built motion from commit 3061e47c.|2.6.31
[motion2.git] / server / services / ami / model / voiceQueueSummary.js
index 04cf25c..ec93708 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf776=['talking','waiting','answered','loggedIn','originated','outboundAbandonedCallsDay','outboundAnswerCallsDay','outboundBlacklistCallsDay','outboundCongestionCallsDay','outboundNoSuchCallsDay','outboundReCallsDay','outboundRejectCallsDay','outboundUnknownCallsDay','pTalking','sumBillable','sumDuration','total','name','strategy','abandoned','busy','invalid','onHold','notInUse','ringing','ringInUse','sumHoldTime','type','unavailable','unknown','unmanaged','outbound','dialActive','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','temp','outboundAnswerAgiCallsDay','outboundDropCallsDayACS','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','outboundNoAnswerCallsDay','outboundOriginateFailureCallsDay','predictiveIntervalAnsweredCalls','predictiveIntervalAvgHoldtime','predictiveIntervalAvgTalktime','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalHitRate','predictiveIntervalMultiplicativeFactor','predictiveIntervalPauses','predictiveIntervalAvailable','predictiveIntervalTotalCalls','erlangCalls','erlangCallToSecond','erlangAbandonmentRate','erlangBusyFactor','startPredictive','startProgressive','message','statusMessage','Trunk','callerid','createReport','inUse','loggedin','callers','length','SIP/','online','incall','status','dialMethod','keys','queue','dialer','exten','xcally-motion-preview','compareToInboundQueue','some','prototype','compareToOutboundQueue','active','updateReportFromOutboundQueue','outboundBusyCallsDay','preview','available','loggedInDb','paused'];(function(_0x950086,_0x365f0f){var _0x2b4691=function(_0x5e68ff){while(--_0x5e68ff){_0x950086['push'](_0x950086['shift']());}};_0x2b4691(++_0x365f0f);}(_0xf776,0x169));var _0x6f77=function(_0x51c539,_0x1d4a96){_0x51c539=_0x51c539-0x0;var _0x334e8a=_0xf776[_0x51c539];return _0x334e8a;};'use strict';var INBOUND_COUNTERS=[_0x6f77('0x0'),'loggedIn',_0x6f77('0x1'),_0x6f77('0x2'),'ringing',_0x6f77('0x3'),_0x6f77('0x4')];var OUTBOUND_COUNTERS=[_0x6f77('0x0'),_0x6f77('0x5'),'inUse',_0x6f77('0x6'),'loggedInDb',_0x6f77('0x7'),_0x6f77('0x8'),_0x6f77('0x9'),_0x6f77('0xa'),'outboundBusyCallsDay',_0x6f77('0xb'),'outboundNoAnswerCallsDay',_0x6f77('0xc'),_0x6f77('0xd'),_0x6f77('0xe'),_0x6f77('0xf'),'paused',_0x6f77('0x10'),_0x6f77('0x3'),_0x6f77('0x11'),_0x6f77('0x12'),_0x6f77('0x13'),_0x6f77('0x4')];function VoiceQueueSummary(_0x528afe){this['id']=_0x528afe['id'];this[_0x6f77('0x14')]=_0x528afe[_0x6f77('0x14')];this[_0x6f77('0x15')]=_0x528afe[_0x6f77('0x15')];this[_0x6f77('0x16')]=_0x528afe[_0x6f77('0x16')]||0x0;this[_0x6f77('0x5')]=_0x528afe[_0x6f77('0x5')]||0x0;this[_0x6f77('0x0')]=_0x528afe[_0x6f77('0x0')]||0x0;this[_0x6f77('0x17')]=_0x528afe[_0x6f77('0x17')]||0x0;this['inUse']=_0x528afe['inUse']||0x0;this[_0x6f77('0x18')]=_0x528afe[_0x6f77('0x18')]||0x0;this['loggedIn']=_0x528afe[_0x6f77('0x6')]||0x0;this['loggedInDb']=_0x528afe[_0x6f77('0x1')]||0x0;this[_0x6f77('0x19')]=_0x528afe['onHold']||0x0;this['notInUse']=_0x528afe[_0x6f77('0x1a')]||0x0;this[_0x6f77('0x2')]=_0x528afe[_0x6f77('0x2')]||0x0;this[_0x6f77('0x1b')]=_0x528afe[_0x6f77('0x1b')]||0x0;this[_0x6f77('0x1c')]=_0x528afe[_0x6f77('0x1c')];this[_0x6f77('0x11')]=_0x528afe['sumBillable'];this[_0x6f77('0x12')]=_0x528afe[_0x6f77('0x12')];this[_0x6f77('0x1d')]=_0x528afe['sumHoldTime']||0x0;this['talking']=_0x528afe[_0x6f77('0x3')]||0x0;this[_0x6f77('0x13')]=_0x528afe['total']||0x0;this[_0x6f77('0x1e')]=_0x528afe[_0x6f77('0x1e')];this['unavailable']=_0x528afe[_0x6f77('0x1f')]||0x0;this[_0x6f77('0x20')]=_0x528afe[_0x6f77('0x20')]||0x0;this[_0x6f77('0x21')]=_0x528afe[_0x6f77('0x21')]||0x0;this['waiting']=_0x528afe[_0x6f77('0x4')]||0x0;if(_0x528afe[_0x6f77('0x1e')]===_0x6f77('0x22')){this[_0x6f77('0x10')]=_0x528afe[_0x6f77('0x10')]||0x0;this[_0x6f77('0x23')]=_0x528afe[_0x6f77('0x23')];this['dialMethod']=_0x528afe['dialMethod'];this[_0x6f77('0x24')]=_0x528afe[_0x6f77('0x24')];this[_0x6f77('0x25')]=_0x528afe[_0x6f77('0x25')];this[_0x6f77('0x26')]=_0x528afe[_0x6f77('0x26')];this['dialPrefix']=_0x528afe['dialPrefix'];this[_0x6f77('0x27')]=_0x528afe[_0x6f77('0x27')];this[_0x6f77('0x28')]=_0x528afe[_0x6f77('0x28')];this[_0x6f77('0x9')]=_0x528afe[_0x6f77('0x9')];this[_0x6f77('0xa')]=_0x528afe[_0x6f77('0xa')];this['outboundBusyCallsDay']=_0x528afe['outboundBusyCallsDay'];this[_0x6f77('0xb')]=_0x528afe[_0x6f77('0xb')];this[_0x6f77('0x29')]=_0x528afe[_0x6f77('0x29')];this[_0x6f77('0x2a')]=_0x528afe['outboundDropCallsDayCallersExit'];this[_0x6f77('0x2b')]=_0x528afe[_0x6f77('0x2b')];this[_0x6f77('0x2c')]=_0x528afe['outboundNoAnswerCallsDay'];this[_0x6f77('0xc')]=_0x528afe['outboundNoSuchCallsDay'];this['outboundOriginateFailureCallsDay']=_0x528afe[_0x6f77('0x2d')];this[_0x6f77('0xd')]=_0x528afe[_0x6f77('0xd')];this[_0x6f77('0xe')]=_0x528afe[_0x6f77('0xe')];this[_0x6f77('0xf')]=_0x528afe[_0x6f77('0xf')];this[_0x6f77('0x2e')]=_0x528afe[_0x6f77('0x2e')];this['predictiveIntervalAvgHoldtime']=_0x528afe[_0x6f77('0x2f')];this['predictiveIntervalAvgTalktime']=_0x528afe[_0x6f77('0x30')];this['predictiveIntervalDroppedCallsCallersExit']=_0x528afe[_0x6f77('0x31')];this[_0x6f77('0x32')]=_0x528afe['predictiveIntervalDroppedCallsTimeout'];this[_0x6f77('0x33')]=_0x528afe[_0x6f77('0x33')];this[_0x6f77('0x34')]=_0x528afe[_0x6f77('0x34')];this[_0x6f77('0x35')]=_0x528afe['predictiveIntervalHitRate'];this[_0x6f77('0x36')]=_0x528afe[_0x6f77('0x36')];this[_0x6f77('0x37')]=_0x528afe[_0x6f77('0x37')];this[_0x6f77('0x38')]=_0x528afe['predictiveIntervalAvailable'];this[_0x6f77('0x39')]=_0x528afe[_0x6f77('0x39')];this[_0x6f77('0x7')]=_0x528afe[_0x6f77('0x7')];this[_0x6f77('0x3a')]=_0x528afe['erlangCalls'];this[_0x6f77('0x3b')]=_0x528afe['erlangCallToSecond'];this[_0x6f77('0x3c')]=_0x528afe[_0x6f77('0x3c')];this[_0x6f77('0x3d')]=_0x528afe[_0x6f77('0x3d')];this[_0x6f77('0x3e')]=_0x528afe['startPredictive'];this[_0x6f77('0x3f')]=_0x528afe[_0x6f77('0x3f')];this[_0x6f77('0x40')]=_0x528afe['message'];this[_0x6f77('0x41')]=_0x528afe[_0x6f77('0x41')];}if(_0x528afe['Trunk']){this[_0x6f77('0x42')]={'id':_0x528afe[_0x6f77('0x42')]['id'],'name':_0x528afe[_0x6f77('0x42')][_0x6f77('0x14')],'active':_0x528afe[_0x6f77('0x42')]['active'],'callerid':_0x528afe[_0x6f77('0x42')][_0x6f77('0x43')]};}}VoiceQueueSummary['prototype'][_0x6f77('0x44')]=function(_0x54db2c,_0x460a1b,_0x39f063,_0xee9ac1){this[_0x6f77('0x1')]=0x0;this[_0x6f77('0x3')]=0x0;this[_0x6f77('0x2')]=0x0;this[_0x6f77('0x20')]=0x0;this[_0x6f77('0x1a')]=0x0;this[_0x6f77('0x45')]=0x0;this['busy']=0x0;this[_0x6f77('0x18')]=0x0;this[_0x6f77('0x1f')]=0x0;this['ringing']=0x0;this['ringInUse']=0x0;this[_0x6f77('0x19')]=0x0;if(_0x39f063){if(_0x39f063[_0x6f77('0x0')]){this['available']=Number(_0x39f063[_0x6f77('0x0')]);}if(_0x39f063[_0x6f77('0x46')]){this[_0x6f77('0x6')]=Number(_0x39f063[_0x6f77('0x46')]);}if(_0x39f063[_0x6f77('0x47')]){this[_0x6f77('0x4')]=Number(_0x39f063['callers']);}}for(var _0x4810c3=0x0;_0x4810c3<_0x54db2c[_0x6f77('0x48')];_0x4810c3++){var _0x37c706=_0x460a1b[_0x6f77('0x49')+_0x54db2c[_0x4810c3]['name']];if(_0x37c706&&_0x37c706[_0x6f77('0x4a')]){this[_0x6f77('0x1')]+=0x1;}if(_0x54db2c[_0x4810c3][_0x6f77('0x4b')]==='1'){this[_0x6f77('0x3')]+=0x1;}if(_0x54db2c[_0x4810c3]['paused']==='1'&&!['2','7','8']['includes'](_0x54db2c[_0x4810c3]['status'])){this['paused']+=0x1;}switch(_0x54db2c[_0x4810c3][_0x6f77('0x4c')]){case'0':this[_0x6f77('0x20')]+=0x1;break;case'1':this[_0x6f77('0x1a')]+=0x1;break;case'2':this['inUse']+=0x1;break;case'3':this[_0x6f77('0x17')]+=0x1;break;case'4':this['invalid']+=0x1;break;case'5':this[_0x6f77('0x1f')]+=0x1;break;case'6':this[_0x6f77('0x1b')]+=0x1;break;case'7':this[_0x6f77('0x1c')]+=0x1;break;case'8':this[_0x6f77('0x19')]+=0x1;break;}}if(this[_0x6f77('0x4d')]==='booked'){var _0x1ca1ab=Object[_0x6f77('0x4e')](_0xee9ac1);for(var _0x5acdd0=0x0;_0x5acdd0<_0x1ca1ab[_0x6f77('0x48')];_0x5acdd0++){var _0x4beee3=_0x1ca1ab[_0x5acdd0];var _0x4e72d2=_0xee9ac1[_0x4beee3];if(_0x4e72d2[_0x6f77('0x4f')]===this[_0x6f77('0x14')]&&_0x4e72d2[_0x6f77('0x1e')]===_0x6f77('0x50')&&_0x4e72d2[_0x6f77('0x51')]===_0x6f77('0x52')){this[_0x6f77('0x3')]+=0x1;}}if(this[_0x6f77('0x3')]>this[_0x6f77('0x45')]){this['talking']=this['inUse'];}this[_0x6f77('0x10')]=0x0;}return this;};VoiceQueueSummary['prototype'][_0x6f77('0x53')]=function(_0x2f38bb){var _0x4f6825=![];if(_0x2f38bb){_0x4f6825=INBOUND_COUNTERS[_0x6f77('0x54')](function(_0x2b34b2){return this[_0x2b34b2]!==_0x2f38bb[_0x2b34b2];},this);}return _0x4f6825;};VoiceQueueSummary[_0x6f77('0x55')][_0x6f77('0x56')]=function(_0x42758f){var _0x4588d6=![];var _0xb40f60=![];var _0x181167=![];if(_0x42758f){_0x4588d6=this[_0x6f77('0x4d')]!==_0x42758f[_0x6f77('0x4d')]||this[_0x6f77('0x23')]!==_0x42758f[_0x6f77('0x23')]||this['message']!==_0x42758f[_0x6f77('0x40')]||this[_0x6f77('0x41')]!==_0x42758f['statusMessage'];_0xb40f60=OUTBOUND_COUNTERS[_0x6f77('0x54')](function(_0x8e9fc9){return this[_0x8e9fc9]!==_0x42758f[_0x8e9fc9];},this);if(this[_0x6f77('0x42')]&&_0x42758f[_0x6f77('0x42')]){_0x181167=this[_0x6f77('0x42')][_0x6f77('0x14')]!==_0x42758f[_0x6f77('0x42')][_0x6f77('0x14')]||this[_0x6f77('0x42')][_0x6f77('0x57')]!==_0x42758f[_0x6f77('0x42')][_0x6f77('0x57')];}}return _0x4588d6||_0xb40f60||_0x181167;};VoiceQueueSummary[_0x6f77('0x55')][_0x6f77('0x58')]=function(_0x5b6382){this['answered']=_0x5b6382[_0x6f77('0x5')];this[_0x6f77('0x40')]=_0x5b6382[_0x6f77('0x40')];this['statusMessage']=_0x5b6382[_0x6f77('0x41')];this[_0x6f77('0x7')]=_0x5b6382[_0x6f77('0x7')];this[_0x6f77('0x8')]=_0x5b6382[_0x6f77('0x8')];this['outboundAnswerCallsDay']=_0x5b6382[_0x6f77('0x9')];this[_0x6f77('0xa')]=_0x5b6382['outboundBlacklistCallsDay'];this[_0x6f77('0x59')]=_0x5b6382['outboundBusyCallsDay'];this[_0x6f77('0xb')]=_0x5b6382[_0x6f77('0xb')];this['outboundNoAnswerCallsDay']=_0x5b6382['outboundNoAnswerCallsDay'];this[_0x6f77('0xc')]=_0x5b6382[_0x6f77('0xc')];this[_0x6f77('0xd')]=_0x5b6382['outboundReCallsDay'];this['outboundRejectCallsDay']=_0x5b6382['outboundRejectCallsDay'];this[_0x6f77('0xf')]=_0x5b6382[_0x6f77('0xf')];this[_0x6f77('0x11')]=_0x5b6382['sumBillable'];this[_0x6f77('0x12')]=_0x5b6382[_0x6f77('0x12')];this[_0x6f77('0x13')]=_0x5b6382['total'];if(this[_0x6f77('0x4d')]===_0x6f77('0x5a')){this[_0x6f77('0x10')]=_0x5b6382['pTalking'];}};module['exports']=VoiceQueueSummary;
\ No newline at end of file
+var _0xbc8d=['updateReportFromOutboundQueue','preview','exports','available','loggedInDb','paused','ringing','talking','answered','inUse','originated','outboundAbandonedCallsDay','outboundBlacklistCallsDay','outboundCongestionCallsDay','outboundNoAnswerCallsDay','outboundReCallsDay','outboundRejectCallsDay','outboundUnknownCallsDay','pTalking','sumBillable','sumDuration','total','waiting','name','strategy','abandoned','busy','invalid','loggedIn','onHold','notInUse','ringInUse','sumHoldTime','type','unavailable','unknown','unmanaged','outbound','dialActive','dialMethod','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialPrefix','temp','outboundAnswerAgiCallsDay','outboundAnswerCallsDay','outboundBusyCallsDay','outboundDropCallsDayACS','outboundDropCallsDayCallersExit','outboundNoSuchCallsDay','outboundOriginateFailureCallsDay','predictiveIntervalAnsweredCalls','predictiveIntervalAvgHoldtime','predictiveIntervalAvgTalktime','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalMultiplicativeFactor','predictiveIntervalPauses','predictiveIntervalAvailable','predictiveIntervalTotalCalls','erlangCalls','erlangBusyFactor','startPredictive','startProgressive','message','statusMessage','Trunk','active','prototype','createReport','loggedin','callers','length','SIP/','online','incall','includes','status','booked','keys','compareToInboundQueue','some','compareToOutboundQueue'];(function(_0x559262,_0x32ca73){var _0x5b26d4=function(_0x5ce380){while(--_0x5ce380){_0x559262['push'](_0x559262['shift']());}};_0x5b26d4(++_0x32ca73);}(_0xbc8d,0x15b));var _0xdbc8=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xbc8d[_0x3dd15e];return _0x231fd0;};'use strict';var INBOUND_COUNTERS=[_0xdbc8('0x0'),'loggedIn',_0xdbc8('0x1'),_0xdbc8('0x2'),_0xdbc8('0x3'),_0xdbc8('0x4'),'waiting'];var OUTBOUND_COUNTERS=[_0xdbc8('0x0'),_0xdbc8('0x5'),_0xdbc8('0x6'),'loggedIn',_0xdbc8('0x1'),_0xdbc8('0x7'),_0xdbc8('0x8'),'outboundAnswerCallsDay',_0xdbc8('0x9'),'outboundBusyCallsDay',_0xdbc8('0xa'),_0xdbc8('0xb'),'outboundNoSuchCallsDay',_0xdbc8('0xc'),_0xdbc8('0xd'),_0xdbc8('0xe'),_0xdbc8('0x2'),_0xdbc8('0xf'),_0xdbc8('0x4'),_0xdbc8('0x10'),_0xdbc8('0x11'),_0xdbc8('0x12'),_0xdbc8('0x13')];function VoiceQueueSummary(_0x606d56){this['id']=_0x606d56['id'];this[_0xdbc8('0x14')]=_0x606d56[_0xdbc8('0x14')];this[_0xdbc8('0x15')]=_0x606d56[_0xdbc8('0x15')];this['abandoned']=_0x606d56[_0xdbc8('0x16')]||0x0;this['answered']=_0x606d56[_0xdbc8('0x5')]||0x0;this[_0xdbc8('0x0')]=_0x606d56[_0xdbc8('0x0')]||0x0;this[_0xdbc8('0x17')]=_0x606d56[_0xdbc8('0x17')]||0x0;this[_0xdbc8('0x6')]=_0x606d56[_0xdbc8('0x6')]||0x0;this[_0xdbc8('0x18')]=_0x606d56[_0xdbc8('0x18')]||0x0;this[_0xdbc8('0x19')]=_0x606d56[_0xdbc8('0x19')]||0x0;this[_0xdbc8('0x1')]=_0x606d56[_0xdbc8('0x1')]||0x0;this[_0xdbc8('0x1a')]=_0x606d56['onHold']||0x0;this[_0xdbc8('0x1b')]=_0x606d56['notInUse']||0x0;this['paused']=_0x606d56['paused']||0x0;this['ringing']=_0x606d56[_0xdbc8('0x3')]||0x0;this[_0xdbc8('0x1c')]=_0x606d56[_0xdbc8('0x1c')];this[_0xdbc8('0x10')]=_0x606d56[_0xdbc8('0x10')];this[_0xdbc8('0x11')]=_0x606d56[_0xdbc8('0x11')];this[_0xdbc8('0x1d')]=_0x606d56[_0xdbc8('0x1d')]||0x0;this[_0xdbc8('0x4')]=_0x606d56[_0xdbc8('0x4')]||0x0;this[_0xdbc8('0x12')]=_0x606d56[_0xdbc8('0x12')]||0x0;this[_0xdbc8('0x1e')]=_0x606d56[_0xdbc8('0x1e')];this[_0xdbc8('0x1f')]=_0x606d56[_0xdbc8('0x1f')]||0x0;this[_0xdbc8('0x20')]=_0x606d56[_0xdbc8('0x20')]||0x0;this['unmanaged']=_0x606d56[_0xdbc8('0x21')]||0x0;this[_0xdbc8('0x13')]=_0x606d56[_0xdbc8('0x13')]||0x0;if(_0x606d56[_0xdbc8('0x1e')]===_0xdbc8('0x22')){this[_0xdbc8('0xf')]=_0x606d56[_0xdbc8('0xf')]||0x0;this[_0xdbc8('0x23')]=_0x606d56[_0xdbc8('0x23')];this[_0xdbc8('0x24')]=_0x606d56[_0xdbc8('0x24')];this[_0xdbc8('0x25')]=_0x606d56[_0xdbc8('0x25')];this['dialOriginateCallerIdNumber']=_0x606d56[_0xdbc8('0x26')];this[_0xdbc8('0x27')]=_0x606d56[_0xdbc8('0x27')];this[_0xdbc8('0x28')]=_0x606d56[_0xdbc8('0x28')];this['temp']=_0x606d56[_0xdbc8('0x29')];this['outboundAnswerAgiCallsDay']=_0x606d56[_0xdbc8('0x2a')];this[_0xdbc8('0x2b')]=_0x606d56[_0xdbc8('0x2b')];this['outboundBlacklistCallsDay']=_0x606d56[_0xdbc8('0x9')];this[_0xdbc8('0x2c')]=_0x606d56[_0xdbc8('0x2c')];this['outboundCongestionCallsDay']=_0x606d56[_0xdbc8('0xa')];this[_0xdbc8('0x2d')]=_0x606d56[_0xdbc8('0x2d')];this[_0xdbc8('0x2e')]=_0x606d56[_0xdbc8('0x2e')];this['outboundDropCallsDayTimeout']=_0x606d56['outboundDropCallsDayTimeout'];this[_0xdbc8('0xb')]=_0x606d56['outboundNoAnswerCallsDay'];this[_0xdbc8('0x2f')]=_0x606d56['outboundNoSuchCallsDay'];this['outboundOriginateFailureCallsDay']=_0x606d56[_0xdbc8('0x30')];this['outboundReCallsDay']=_0x606d56[_0xdbc8('0xc')];this[_0xdbc8('0xd')]=_0x606d56[_0xdbc8('0xd')];this[_0xdbc8('0xe')]=_0x606d56[_0xdbc8('0xe')];this[_0xdbc8('0x31')]=_0x606d56['predictiveIntervalAnsweredCalls'];this[_0xdbc8('0x32')]=_0x606d56[_0xdbc8('0x32')];this['predictiveIntervalAvgTalktime']=_0x606d56[_0xdbc8('0x33')];this[_0xdbc8('0x34')]=_0x606d56[_0xdbc8('0x34')];this['predictiveIntervalDroppedCallsTimeout']=_0x606d56[_0xdbc8('0x35')];this[_0xdbc8('0x36')]=_0x606d56[_0xdbc8('0x36')];this[_0xdbc8('0x37')]=_0x606d56[_0xdbc8('0x37')];this['predictiveIntervalHitRate']=_0x606d56['predictiveIntervalHitRate'];this[_0xdbc8('0x38')]=_0x606d56[_0xdbc8('0x38')];this[_0xdbc8('0x39')]=_0x606d56[_0xdbc8('0x39')];this[_0xdbc8('0x3a')]=_0x606d56['predictiveIntervalAvailable'];this[_0xdbc8('0x3b')]=_0x606d56[_0xdbc8('0x3b')];this[_0xdbc8('0x7')]=_0x606d56[_0xdbc8('0x7')];this['erlangCalls']=_0x606d56[_0xdbc8('0x3c')];this['erlangCallToSecond']=_0x606d56['erlangCallToSecond'];this['erlangAbandonmentRate']=_0x606d56['erlangAbandonmentRate'];this[_0xdbc8('0x3d')]=_0x606d56[_0xdbc8('0x3d')];this['startPredictive']=_0x606d56[_0xdbc8('0x3e')];this[_0xdbc8('0x3f')]=_0x606d56[_0xdbc8('0x3f')];this['message']=_0x606d56[_0xdbc8('0x40')];this[_0xdbc8('0x41')]=_0x606d56[_0xdbc8('0x41')];}if(_0x606d56[_0xdbc8('0x42')]){this[_0xdbc8('0x42')]={'id':_0x606d56[_0xdbc8('0x42')]['id'],'name':_0x606d56[_0xdbc8('0x42')][_0xdbc8('0x14')],'active':_0x606d56[_0xdbc8('0x42')][_0xdbc8('0x43')],'callerid':_0x606d56[_0xdbc8('0x42')]['callerid']};}}VoiceQueueSummary[_0xdbc8('0x44')][_0xdbc8('0x45')]=function(_0x54700b,_0x485283,_0x3e27c0,_0x9c07e6){this[_0xdbc8('0x1')]=0x0;this[_0xdbc8('0x4')]=0x0;this[_0xdbc8('0x2')]=0x0;this['unknown']=0x0;this['notInUse']=0x0;this[_0xdbc8('0x6')]=0x0;this[_0xdbc8('0x17')]=0x0;this[_0xdbc8('0x18')]=0x0;this['unavailable']=0x0;this[_0xdbc8('0x3')]=0x0;this['ringInUse']=0x0;this[_0xdbc8('0x1a')]=0x0;if(_0x3e27c0){if(_0x3e27c0[_0xdbc8('0x0')]){this[_0xdbc8('0x0')]=Number(_0x3e27c0[_0xdbc8('0x0')]);}if(_0x3e27c0[_0xdbc8('0x46')]){this[_0xdbc8('0x19')]=Number(_0x3e27c0['loggedin']);}if(_0x3e27c0['callers']){this[_0xdbc8('0x13')]=Number(_0x3e27c0[_0xdbc8('0x47')]);}}for(var _0x222c6c=0x0;_0x222c6c<_0x54700b[_0xdbc8('0x48')];_0x222c6c++){var _0x2dea85=_0x485283[_0xdbc8('0x49')+_0x54700b[_0x222c6c]['name']];if(_0x2dea85&&_0x2dea85[_0xdbc8('0x4a')]){this['loggedInDb']+=0x1;}if(_0x54700b[_0x222c6c][_0xdbc8('0x4b')]==='1'){this[_0xdbc8('0x4')]+=0x1;}if(_0x54700b[_0x222c6c]['paused']==='1'&&!['2','7','8'][_0xdbc8('0x4c')](_0x54700b[_0x222c6c][_0xdbc8('0x4d')])){this[_0xdbc8('0x2')]+=0x1;}switch(_0x54700b[_0x222c6c]['status']){case'0':this[_0xdbc8('0x20')]+=0x1;break;case'1':this[_0xdbc8('0x1b')]+=0x1;break;case'2':this['inUse']+=0x1;break;case'3':this[_0xdbc8('0x17')]+=0x1;break;case'4':this[_0xdbc8('0x18')]+=0x1;break;case'5':this[_0xdbc8('0x1f')]+=0x1;break;case'6':this[_0xdbc8('0x3')]+=0x1;break;case'7':this[_0xdbc8('0x1c')]+=0x1;break;case'8':this[_0xdbc8('0x1a')]+=0x1;break;}}if(this[_0xdbc8('0x24')]===_0xdbc8('0x4e')){var _0x101cf9=Object[_0xdbc8('0x4f')](_0x9c07e6);for(var _0x426efc=0x0;_0x426efc<_0x101cf9[_0xdbc8('0x48')];_0x426efc++){var _0x9df905=_0x101cf9[_0x426efc];var _0x5b5593=_0x9c07e6[_0x9df905];if(_0x5b5593['queue']===this[_0xdbc8('0x14')]&&_0x5b5593['type']==='dialer'&&_0x5b5593['exten']==='xcally-motion-preview'){this[_0xdbc8('0x4')]+=0x1;}}if(this[_0xdbc8('0x4')]>this[_0xdbc8('0x6')]){this['talking']=this[_0xdbc8('0x6')];}this['pTalking']=0x0;}return this;};VoiceQueueSummary[_0xdbc8('0x44')][_0xdbc8('0x50')]=function(_0x54f7d6){var _0x21590f=![];if(_0x54f7d6){_0x21590f=INBOUND_COUNTERS[_0xdbc8('0x51')](function(_0x127ec3){return this[_0x127ec3]!==_0x54f7d6[_0x127ec3];},this);}return _0x21590f;};VoiceQueueSummary[_0xdbc8('0x44')][_0xdbc8('0x52')]=function(_0x3fa624){var _0x246a94=![];var _0x412304=![];var _0xb67941=![];if(_0x3fa624){_0x246a94=this['dialMethod']!==_0x3fa624[_0xdbc8('0x24')]||this[_0xdbc8('0x23')]!==_0x3fa624[_0xdbc8('0x23')]||this['message']!==_0x3fa624['message']||this['statusMessage']!==_0x3fa624[_0xdbc8('0x41')];_0x412304=OUTBOUND_COUNTERS[_0xdbc8('0x51')](function(_0x5dbd09){return this[_0x5dbd09]!==_0x3fa624[_0x5dbd09];},this);if(this[_0xdbc8('0x42')]&&_0x3fa624[_0xdbc8('0x42')]){_0xb67941=this['Trunk'][_0xdbc8('0x14')]!==_0x3fa624['Trunk'][_0xdbc8('0x14')]||this[_0xdbc8('0x42')][_0xdbc8('0x43')]!==_0x3fa624[_0xdbc8('0x42')][_0xdbc8('0x43')];}}return _0x246a94||_0x412304||_0xb67941;};VoiceQueueSummary[_0xdbc8('0x44')][_0xdbc8('0x53')]=function(_0x278589){this[_0xdbc8('0x5')]=_0x278589[_0xdbc8('0x5')];this[_0xdbc8('0x40')]=_0x278589['message'];this[_0xdbc8('0x41')]=_0x278589['statusMessage'];this['originated']=_0x278589['originated'];this[_0xdbc8('0x8')]=_0x278589[_0xdbc8('0x8')];this[_0xdbc8('0x2b')]=_0x278589[_0xdbc8('0x2b')];this[_0xdbc8('0x9')]=_0x278589['outboundBlacklistCallsDay'];this['outboundBusyCallsDay']=_0x278589[_0xdbc8('0x2c')];this[_0xdbc8('0xa')]=_0x278589['outboundCongestionCallsDay'];this['outboundNoAnswerCallsDay']=_0x278589[_0xdbc8('0xb')];this[_0xdbc8('0x2f')]=_0x278589[_0xdbc8('0x2f')];this[_0xdbc8('0xc')]=_0x278589[_0xdbc8('0xc')];this[_0xdbc8('0xd')]=_0x278589[_0xdbc8('0xd')];this[_0xdbc8('0xe')]=_0x278589[_0xdbc8('0xe')];this[_0xdbc8('0x10')]=_0x278589[_0xdbc8('0x10')];this[_0xdbc8('0x11')]=_0x278589['sumDuration'];this['total']=_0x278589[_0xdbc8('0x12')];if(this[_0xdbc8('0x24')]===_0xdbc8('0x54')){this[_0xdbc8('0xf')]=_0x278589[_0xdbc8('0xf')];}};module[_0xdbc8('0x55')]=VoiceQueueSummary;
\ No newline at end of file