Built motion from commit 5fcd269f5146f10cf3129722d518881dfac64576. Version 3.0.0...
[motion-next.git] / server / services / ami / dialer / queueCallerAbandon.js
index fd1b039..4728c19 100644 (file)
@@ -1 +1 @@
-const a1058_0x4203=['callbackuniqueid','outbound','countabandonedretry','uniqueid','countdropretry','seconds','reason','diff','CampaignId','countcongestionretry','talktime','campaigntype','membername','exports','scheduledat','ListId','name','callbackat','number','countglobal','moment','countmachineretry','endtime','droptime','starttime','queue','calleridname','countnoanswerretry','responsetime','countbusyretry','originatecalleridnum','countnosuchnumberretry','recallme','countagentrejectretry','UserId','callback','ringtime','connectedlinename','type','VoiceQueueId','ContactId','originatecalleridname'];(function(_0x4477d9,_0x4203bd){const _0x2f7770=function(_0x56fc48){while(--_0x56fc48){_0x4477d9['push'](_0x4477d9['shift']());}};_0x2f7770(++_0x4203bd);}(a1058_0x4203,0xa2));const a1058_0x2f77=function(_0x4477d9,_0x4203bd){_0x4477d9=_0x4477d9-0x0;let _0x2f7770=a1058_0x4203[_0x4477d9];return _0x2f7770;};const _0x37b6b2=a1058_0x2f77;'use strict';const moment=require(_0x37b6b2('0x1a'));function getSeconds(_0x56fc48,_0x6d78b8){const _0x512e69=_0x37b6b2,_0x436926=moment(_0x56fc48)['milliseconds'](0x0),_0x498b65=moment(_0x6d78b8)['milliseconds'](0x0);return _0x436926[_0x512e69('0xd')](_0x498b65,_0x512e69('0xb'));}function QueueCallerAbandon(_0x1fb1a6,_0x25b7cb){const _0x1f9def=_0x37b6b2;this[_0x1f9def('0x14')]=_0x1fb1a6[_0x1f9def('0x14')],this[_0x1f9def('0x2')]=_0x1fb1a6['type'],this[_0x1f9def('0x11')]=_0x1fb1a6[_0x1f9def('0x2')]===_0x1f9def('0x7')?_0x1f9def('0x1f'):_0x1fb1a6['type'],this[_0x1f9def('0x23')]=_0x1fb1a6[_0x1f9def('0x23')],this[_0x1f9def('0xf')]=_0x1fb1a6['countcongestionretry'],this[_0x1f9def('0x21')]=_0x1fb1a6['countnoanswerretry'],this[_0x1f9def('0x19')]=_0x1fb1a6[_0x1f9def('0x23')]+_0x1fb1a6[_0x1f9def('0xf')]+_0x1fb1a6[_0x1f9def('0x21')]+_0x1fb1a6[_0x1f9def('0x25')]+_0x1fb1a6[_0x1f9def('0xa')]+_0x1fb1a6[_0x1f9def('0x8')]+_0x1fb1a6[_0x1f9def('0x1b')]+_0x1fb1a6[_0x1f9def('0x27')],this['countnosuchnumberretry']=_0x1fb1a6[_0x1f9def('0x25')],this[_0x1f9def('0xa')]=_0x1fb1a6[_0x1f9def('0xa')],this['countabandonedretry']=_0x1fb1a6[_0x1f9def('0x8')],this[_0x1f9def('0x1b')]=_0x1fb1a6[_0x1f9def('0x1b')],this[_0x1f9def('0x27')]=_0x1fb1a6[_0x1f9def('0x27')],this[_0x1f9def('0x9')]=_0x25b7cb['uniqueid'],this[_0x1f9def('0x20')]=_0x1fb1a6[_0x1f9def('0x16')],this['calleridnum']=_0x1fb1a6[_0x1f9def('0x18')],this['starttime']=_0x1fb1a6[_0x1f9def('0x1e')],this[_0x1f9def('0x22')]=_0x1fb1a6[_0x1f9def('0x22')],this[_0x1f9def('0x1d')]=_0x1fb1a6['droptime'],this[_0x1f9def('0x1c')]=this[_0x1f9def('0x1d')],this[_0x1f9def('0x0')]=getSeconds(_0x1fb1a6['responsetime'],_0x1fb1a6[_0x1f9def('0x1e')]),this['holdtime']=getSeconds(this[_0x1f9def('0x1d')],_0x1fb1a6[_0x1f9def('0x22')]),this[_0x1f9def('0x10')]=0x0,this[_0x1f9def('0x1f')]=_0x25b7cb[_0x1f9def('0x1f')],this[_0x1f9def('0x12')]=_0x25b7cb[_0x1f9def('0x1')],this['reason']=_0x25b7cb[_0x1f9def('0xc')],this[_0x1f9def('0x29')]=_0x1fb1a6['callback'],this[_0x1f9def('0x6')]=_0x1fb1a6[_0x1f9def('0x6')],this[_0x1f9def('0x17')]=_0x1fb1a6[_0x1f9def('0x17')],this[_0x1f9def('0x26')]=_0x1fb1a6[_0x1f9def('0x26')],this['ContactId']=_0x1fb1a6[_0x1f9def('0x4')],this[_0x1f9def('0x15')]=_0x1fb1a6[_0x1f9def('0x15')],this[_0x1f9def('0x28')]=_0x1fb1a6[_0x1f9def('0x28')],this[_0x1f9def('0x3')]=_0x1fb1a6[_0x1f9def('0x3')],this[_0x1f9def('0xe')]=_0x1fb1a6[_0x1f9def('0xe')],this[_0x1f9def('0x24')]=_0x1fb1a6[_0x1f9def('0x24')]||'',this['originatecalleridname']=_0x1fb1a6[_0x1f9def('0x5')]||'';}module[_0x37b6b2('0x13')]=QueueCallerAbandon;
\ No newline at end of file
+const a1058_0x46e2=['moment','reason','countmachineretry','callbackat','callback','uniqueid','ContactId','CampaignId','connectedlinename','droptime','name','ListId','countnoanswerretry','diff','recallme','starttime','membername','number','calleridnum','countcongestionretry','countbusyretry','VoiceQueueId','responsetime','holdtime','originatecalleridname','scheduledat','countglobal','queue','talktime','type','endtime','countnosuchnumberretry','countabandonedretry','calleridname','countdropretry','exports','UserId','callbackuniqueid','originatecalleridnum','outbound','campaigntype','milliseconds'];(function(_0x72660a,_0x46e28e){const _0x4672cd=function(_0x4123ab){while(--_0x4123ab){_0x72660a['push'](_0x72660a['shift']());}};_0x4672cd(++_0x46e28e);}(a1058_0x46e2,0x14a));const a1058_0x4672=function(_0x72660a,_0x46e28e){_0x72660a=_0x72660a-0x0;let _0x4672cd=a1058_0x46e2[_0x72660a];return _0x4672cd;};const _0x222fb1=a1058_0x4672;'use strict';const moment=require(_0x222fb1('0x6'));function getSeconds(_0x4123ab,_0x34a4df){const _0xb37278=_0x222fb1,_0x531069=moment(_0x4123ab)[_0xb37278('0x5')](0x0),_0xb77b9=moment(_0x34a4df)[_0xb37278('0x5')](0x0);return _0x531069[_0xb37278('0x13')](_0xb77b9,'seconds');}function QueueCallerAbandon(_0x2c8aa2,_0x8528b){const _0x5ed278=_0x222fb1;this[_0x5ed278('0x1f')]=_0x2c8aa2[_0x5ed278('0x1f')],this[_0x5ed278('0x23')]=_0x2c8aa2[_0x5ed278('0x23')],this[_0x5ed278('0x4')]=_0x2c8aa2[_0x5ed278('0x23')]===_0x5ed278('0x3')?_0x5ed278('0x21'):_0x2c8aa2[_0x5ed278('0x23')],this['countbusyretry']=_0x2c8aa2['countbusyretry'],this[_0x5ed278('0x19')]=_0x2c8aa2['countcongestionretry'],this[_0x5ed278('0x12')]=_0x2c8aa2[_0x5ed278('0x12')],this[_0x5ed278('0x20')]=_0x2c8aa2[_0x5ed278('0x1a')]+_0x2c8aa2[_0x5ed278('0x19')]+_0x2c8aa2['countnoanswerretry']+_0x2c8aa2[_0x5ed278('0x25')]+_0x2c8aa2[_0x5ed278('0x28')]+_0x2c8aa2[_0x5ed278('0x26')]+_0x2c8aa2[_0x5ed278('0x8')]+_0x2c8aa2['countagentrejectretry'],this[_0x5ed278('0x25')]=_0x2c8aa2[_0x5ed278('0x25')],this['countdropretry']=_0x2c8aa2[_0x5ed278('0x28')],this[_0x5ed278('0x26')]=_0x2c8aa2['countabandonedretry'],this[_0x5ed278('0x8')]=_0x2c8aa2['countmachineretry'],this['countagentrejectretry']=_0x2c8aa2['countagentrejectretry'],this[_0x5ed278('0xb')]=_0x8528b[_0x5ed278('0xb')],this[_0x5ed278('0x27')]=_0x2c8aa2[_0x5ed278('0x10')],this[_0x5ed278('0x18')]=_0x2c8aa2[_0x5ed278('0x17')],this[_0x5ed278('0x15')]=_0x2c8aa2['starttime'],this['responsetime']=_0x2c8aa2[_0x5ed278('0x1c')],this[_0x5ed278('0xf')]=_0x2c8aa2['droptime'],this[_0x5ed278('0x24')]=this[_0x5ed278('0xf')],this['ringtime']=getSeconds(_0x2c8aa2[_0x5ed278('0x1c')],_0x2c8aa2[_0x5ed278('0x15')]),this[_0x5ed278('0x1d')]=getSeconds(this[_0x5ed278('0xf')],_0x2c8aa2[_0x5ed278('0x1c')]),this[_0x5ed278('0x22')]=0x0,this[_0x5ed278('0x21')]=_0x8528b['queue'],this[_0x5ed278('0x16')]=_0x8528b[_0x5ed278('0xe')],this['reason']=_0x8528b[_0x5ed278('0x7')],this[_0x5ed278('0xa')]=_0x2c8aa2['callback'],this[_0x5ed278('0x1')]=_0x2c8aa2['callbackuniqueid'],this['callbackat']=_0x2c8aa2[_0x5ed278('0x9')],this[_0x5ed278('0x14')]=_0x2c8aa2[_0x5ed278('0x14')],this['ContactId']=_0x2c8aa2[_0x5ed278('0xc')],this[_0x5ed278('0x11')]=_0x2c8aa2['ListId'],this[_0x5ed278('0x0')]=_0x2c8aa2['UserId'],this['VoiceQueueId']=_0x2c8aa2[_0x5ed278('0x1b')],this[_0x5ed278('0xd')]=_0x2c8aa2['CampaignId'],this['originatecalleridnum']=_0x2c8aa2[_0x5ed278('0x2')]||'',this[_0x5ed278('0x1e')]=_0x2c8aa2['originatecalleridname']||'';}module[_0x222fb1('0x29')]=QueueCallerAbandon;
\ No newline at end of file