Built motion from commit 8dca541896b0ff92bb88a36cc13f4f385b593b4b. Version 3.0.0...
[motion-next.git] / server / services / ami / dialer / queueCallerAbandon.js
index 66e978d..3f2f462 100644 (file)
@@ -1 +1 @@
-const a1058_0x1d9a=['countbusyretry','campaigntype','scheduledat','talktime','responsetime','name','starttime','recallme','diff','queue','UserId','CampaignId','outbound','callback','droptime','callbackat','countagentrejectretry','countmachineretry','calleridname','countnoanswerretry','ContactId','countdropretry','endtime','number','uniqueid','membername','reason','countcongestionretry','exports','countabandonedretry','countnosuchnumberretry','originatecalleridname','seconds','VoiceQueueId','calleridnum','type','callbackuniqueid','originatecalleridnum'];(function(_0x1dd855,_0x1d9a07){const _0x32ddd1=function(_0xcfbb91){while(--_0xcfbb91){_0x1dd855['push'](_0x1dd855['shift']());}};_0x32ddd1(++_0x1d9a07);}(a1058_0x1d9a,0xc2));const a1058_0x32dd=function(_0x1dd855,_0x1d9a07){_0x1dd855=_0x1dd855-0x0;let _0x32ddd1=a1058_0x1d9a[_0x1dd855];return _0x32ddd1;};const _0x8be3e9=a1058_0x32dd;'use strict';const moment=require('moment');function getSeconds(_0xcfbb91,_0x1730f4){const _0x3a7408=a1058_0x32dd,_0x2b0021=moment(_0xcfbb91)['milliseconds'](0x0),_0x2cf231=moment(_0x1730f4)['milliseconds'](0x0);return _0x2b0021[_0x3a7408('0x4')](_0x2cf231,_0x3a7408('0x1c'));}function QueueCallerAbandon(_0x3f313f,_0x104420){const _0x2faaa4=a1058_0x32dd;this[_0x2faaa4('0x24')]=_0x3f313f[_0x2faaa4('0x24')],this[_0x2faaa4('0x1f')]=_0x3f313f[_0x2faaa4('0x1f')],this[_0x2faaa4('0x23')]=_0x3f313f[_0x2faaa4('0x1f')]===_0x2faaa4('0x8')?_0x2faaa4('0x5'):_0x3f313f[_0x2faaa4('0x1f')],this['countbusyretry']=_0x3f313f[_0x2faaa4('0x22')],this[_0x2faaa4('0x17')]=_0x3f313f['countcongestionretry'],this[_0x2faaa4('0xf')]=_0x3f313f[_0x2faaa4('0xf')],this['countglobal']=_0x3f313f['countbusyretry']+_0x3f313f[_0x2faaa4('0x17')]+_0x3f313f['countnoanswerretry']+_0x3f313f['countnosuchnumberretry']+_0x3f313f[_0x2faaa4('0x11')]+_0x3f313f['countabandonedretry']+_0x3f313f['countmachineretry']+_0x3f313f[_0x2faaa4('0xc')],this[_0x2faaa4('0x1a')]=_0x3f313f['countnosuchnumberretry'],this[_0x2faaa4('0x11')]=_0x3f313f[_0x2faaa4('0x11')],this[_0x2faaa4('0x19')]=_0x3f313f[_0x2faaa4('0x19')],this[_0x2faaa4('0xd')]=_0x3f313f['countmachineretry'],this[_0x2faaa4('0xc')]=_0x3f313f[_0x2faaa4('0xc')],this[_0x2faaa4('0x14')]=_0x104420[_0x2faaa4('0x14')],this[_0x2faaa4('0xe')]=_0x3f313f[_0x2faaa4('0x1')],this[_0x2faaa4('0x1e')]=_0x3f313f[_0x2faaa4('0x13')],this[_0x2faaa4('0x2')]=_0x3f313f['starttime'],this[_0x2faaa4('0x0')]=_0x3f313f[_0x2faaa4('0x0')],this[_0x2faaa4('0xa')]=_0x3f313f[_0x2faaa4('0xa')],this[_0x2faaa4('0x12')]=this[_0x2faaa4('0xa')],this['ringtime']=getSeconds(_0x3f313f[_0x2faaa4('0x0')],_0x3f313f[_0x2faaa4('0x2')]),this['holdtime']=getSeconds(this[_0x2faaa4('0xa')],_0x3f313f[_0x2faaa4('0x0')]),this[_0x2faaa4('0x25')]=0x0,this['queue']=_0x104420[_0x2faaa4('0x5')],this[_0x2faaa4('0x15')]=_0x104420['connectedlinename'],this[_0x2faaa4('0x16')]=_0x104420[_0x2faaa4('0x16')],this['callback']=_0x3f313f[_0x2faaa4('0x9')],this[_0x2faaa4('0x20')]=_0x3f313f[_0x2faaa4('0x20')],this['callbackat']=_0x3f313f[_0x2faaa4('0xb')],this[_0x2faaa4('0x3')]=_0x3f313f['recallme'],this[_0x2faaa4('0x10')]=_0x3f313f[_0x2faaa4('0x10')],this['ListId']=_0x3f313f['ListId'],this[_0x2faaa4('0x6')]=_0x3f313f[_0x2faaa4('0x6')],this[_0x2faaa4('0x1d')]=_0x3f313f['VoiceQueueId'],this[_0x2faaa4('0x7')]=_0x3f313f['CampaignId'],this['originatecalleridnum']=_0x3f313f[_0x2faaa4('0x21')]||'',this[_0x2faaa4('0x1b')]=_0x3f313f[_0x2faaa4('0x1b')]||'';}module[_0x8be3e9('0x18')]=QueueCallerAbandon;
\ No newline at end of file
+const a1058_0x2ac1=['countdropretry','originatecalleridname','talktime','milliseconds','uniqueid','ringtime','scheduledat','reason','droptime','callbackat','recallme','callback','starttime','name','moment','countmachineretry','countabandonedretry','ContactId','seconds','connectedlinename','UserId','type','CampaignId','calleridname','campaigntype','queue','outbound','responsetime','number','countagentrejectretry','VoiceQueueId','countnoanswerretry','countnosuchnumberretry','originatecalleridnum','calleridnum','membername','ListId','diff','countcongestionretry','callbackuniqueid','exports','countbusyretry','countglobal'];(function(_0x51cda9,_0x2ac1b7){const _0x1fbc45=function(_0x2aa190){while(--_0x2aa190){_0x51cda9['push'](_0x51cda9['shift']());}};_0x1fbc45(++_0x2ac1b7);}(a1058_0x2ac1,0x13e));const a1058_0x1fbc=function(_0x51cda9,_0x2ac1b7){_0x51cda9=_0x51cda9-0x0;let _0x1fbc45=a1058_0x2ac1[_0x51cda9];return _0x1fbc45;};const _0x2fb415=a1058_0x1fbc;'use strict';const moment=require(_0x2fb415('0x28'));function getSeconds(_0x2aa190,_0x131e43){const _0x56ee77=_0x2fb415,_0x535222=moment(_0x2aa190)[_0x56ee77('0x1d')](0x0),_0x1bdba8=moment(_0x131e43)[_0x56ee77('0x1d')](0x0);return _0x535222[_0x56ee77('0x14')](_0x1bdba8,_0x56ee77('0x1'));}function QueueCallerAbandon(_0x11e406,_0x2e4e8b){const _0x4e4d7f=_0x2fb415;this[_0x4e4d7f('0x20')]=_0x11e406[_0x4e4d7f('0x20')],this[_0x4e4d7f('0x4')]=_0x11e406[_0x4e4d7f('0x4')],this[_0x4e4d7f('0x7')]=_0x11e406['type']===_0x4e4d7f('0x9')?_0x4e4d7f('0x8'):_0x11e406[_0x4e4d7f('0x4')],this[_0x4e4d7f('0x18')]=_0x11e406[_0x4e4d7f('0x18')],this[_0x4e4d7f('0x15')]=_0x11e406[_0x4e4d7f('0x15')],this[_0x4e4d7f('0xe')]=_0x11e406[_0x4e4d7f('0xe')],this[_0x4e4d7f('0x19')]=_0x11e406[_0x4e4d7f('0x18')]+_0x11e406['countcongestionretry']+_0x11e406[_0x4e4d7f('0xe')]+_0x11e406[_0x4e4d7f('0xf')]+_0x11e406[_0x4e4d7f('0x1a')]+_0x11e406[_0x4e4d7f('0x2a')]+_0x11e406[_0x4e4d7f('0x29')]+_0x11e406[_0x4e4d7f('0xc')],this[_0x4e4d7f('0xf')]=_0x11e406[_0x4e4d7f('0xf')],this[_0x4e4d7f('0x1a')]=_0x11e406[_0x4e4d7f('0x1a')],this['countabandonedretry']=_0x11e406['countabandonedretry'],this[_0x4e4d7f('0x29')]=_0x11e406['countmachineretry'],this[_0x4e4d7f('0xc')]=_0x11e406['countagentrejectretry'],this[_0x4e4d7f('0x1e')]=_0x2e4e8b[_0x4e4d7f('0x1e')],this[_0x4e4d7f('0x6')]=_0x11e406[_0x4e4d7f('0x27')],this[_0x4e4d7f('0x11')]=_0x11e406[_0x4e4d7f('0xb')],this[_0x4e4d7f('0x26')]=_0x11e406[_0x4e4d7f('0x26')],this[_0x4e4d7f('0xa')]=_0x11e406[_0x4e4d7f('0xa')],this['droptime']=_0x11e406[_0x4e4d7f('0x22')],this['endtime']=this[_0x4e4d7f('0x22')],this[_0x4e4d7f('0x1f')]=getSeconds(_0x11e406[_0x4e4d7f('0xa')],_0x11e406[_0x4e4d7f('0x26')]),this['holdtime']=getSeconds(this[_0x4e4d7f('0x22')],_0x11e406[_0x4e4d7f('0xa')]),this[_0x4e4d7f('0x1c')]=0x0,this[_0x4e4d7f('0x8')]=_0x2e4e8b['queue'],this[_0x4e4d7f('0x12')]=_0x2e4e8b[_0x4e4d7f('0x2')],this['reason']=_0x2e4e8b[_0x4e4d7f('0x21')],this[_0x4e4d7f('0x25')]=_0x11e406[_0x4e4d7f('0x25')],this[_0x4e4d7f('0x16')]=_0x11e406[_0x4e4d7f('0x16')],this['callbackat']=_0x11e406[_0x4e4d7f('0x23')],this[_0x4e4d7f('0x24')]=_0x11e406['recallme'],this[_0x4e4d7f('0x0')]=_0x11e406['ContactId'],this[_0x4e4d7f('0x13')]=_0x11e406[_0x4e4d7f('0x13')],this[_0x4e4d7f('0x3')]=_0x11e406[_0x4e4d7f('0x3')],this[_0x4e4d7f('0xd')]=_0x11e406['VoiceQueueId'],this[_0x4e4d7f('0x5')]=_0x11e406[_0x4e4d7f('0x5')],this[_0x4e4d7f('0x10')]=_0x11e406[_0x4e4d7f('0x10')]||'',this[_0x4e4d7f('0x1b')]=_0x11e406['originatecalleridname']||'';}module[_0x2fb415('0x17')]=QueueCallerAbandon;
\ No newline at end of file