Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / services / ami / dialer / queueCallerAbandon.js
index 0175227..97b4ffd 100644 (file)
@@ -1 +1 @@
-const a1058_0x458c=['calleridname','UserId','callbackuniqueid','ContactId','scheduledat','originatecalleridname','countnoanswerretry','talktime','endtime','countagentrejectretry','ringtime','originatecalleridnum','reason','recallme','ListId','countabandonedretry','exports','countdropretry','responsetime','starttime','countbusyretry','outbound','countglobal','uniqueid','countnosuchnumberretry','moment','milliseconds','VoiceQueueId','countmachineretry','type','countcongestionretry','diff','callback','callbackat','calleridnum','holdtime','connectedlinename','CampaignId','campaigntype','queue','droptime'];(function(_0x3aa505,_0x458ce0){const _0x50b67e=function(_0x1ce372){while(--_0x1ce372){_0x3aa505['push'](_0x3aa505['shift']());}};_0x50b67e(++_0x458ce0);}(a1058_0x458c,0x1a5));const a1058_0x50b6=function(_0x3aa505,_0x458ce0){_0x3aa505=_0x3aa505-0x0;let _0x50b67e=a1058_0x458c[_0x3aa505];return _0x50b67e;};const _0x4aabe9=a1058_0x50b6;'use strict';const moment=require(_0x4aabe9('0xe'));function getSeconds(_0x1ce372,_0x4b5f90){const _0x22faa9=_0x4aabe9,_0x373f2f=moment(_0x1ce372)[_0x22faa9('0xf')](0x0),_0x166f13=moment(_0x4b5f90)[_0x22faa9('0xf')](0x0);return _0x373f2f[_0x22faa9('0x14')](_0x166f13,'seconds');}function QueueCallerAbandon(_0x516851,_0x51bc9e){const _0x489752=_0x4aabe9;this[_0x489752('0x22')]=_0x516851[_0x489752('0x22')],this[_0x489752('0x12')]=_0x516851[_0x489752('0x12')],this[_0x489752('0x1b')]=_0x516851[_0x489752('0x12')]===_0x489752('0xa')?_0x489752('0x1c'):_0x516851[_0x489752('0x12')],this['countbusyretry']=_0x516851[_0x489752('0x9')],this['countcongestionretry']=_0x516851[_0x489752('0x13')],this['countnoanswerretry']=_0x516851[_0x489752('0x24')],this[_0x489752('0xb')]=_0x516851[_0x489752('0x9')]+_0x516851[_0x489752('0x13')]+_0x516851[_0x489752('0x24')]+_0x516851[_0x489752('0xd')]+_0x516851[_0x489752('0x6')]+_0x516851[_0x489752('0x4')]+_0x516851['countmachineretry']+_0x516851[_0x489752('0x27')],this[_0x489752('0xd')]=_0x516851[_0x489752('0xd')],this[_0x489752('0x6')]=_0x516851[_0x489752('0x6')],this[_0x489752('0x4')]=_0x516851[_0x489752('0x4')],this[_0x489752('0x11')]=_0x516851[_0x489752('0x11')],this[_0x489752('0x27')]=_0x516851[_0x489752('0x27')],this['uniqueid']=_0x51bc9e[_0x489752('0xc')],this[_0x489752('0x1e')]=_0x516851['name'],this[_0x489752('0x17')]=_0x516851['number'],this[_0x489752('0x8')]=_0x516851['starttime'],this[_0x489752('0x7')]=_0x516851[_0x489752('0x7')],this['droptime']=_0x516851[_0x489752('0x1d')],this[_0x489752('0x26')]=this[_0x489752('0x1d')],this[_0x489752('0x28')]=getSeconds(_0x516851[_0x489752('0x7')],_0x516851[_0x489752('0x8')]),this[_0x489752('0x18')]=getSeconds(this['droptime'],_0x516851[_0x489752('0x7')]),this[_0x489752('0x25')]=0x0,this[_0x489752('0x1c')]=_0x51bc9e[_0x489752('0x1c')],this['membername']=_0x51bc9e[_0x489752('0x19')],this[_0x489752('0x1')]=_0x51bc9e[_0x489752('0x1')],this[_0x489752('0x15')]=_0x516851[_0x489752('0x15')],this[_0x489752('0x20')]=_0x516851[_0x489752('0x20')],this[_0x489752('0x16')]=_0x516851['callbackat'],this[_0x489752('0x2')]=_0x516851[_0x489752('0x2')],this[_0x489752('0x21')]=_0x516851['ContactId'],this[_0x489752('0x3')]=_0x516851[_0x489752('0x3')],this[_0x489752('0x1f')]=_0x516851[_0x489752('0x1f')],this[_0x489752('0x10')]=_0x516851['VoiceQueueId'],this['CampaignId']=_0x516851[_0x489752('0x1a')],this[_0x489752('0x0')]=_0x516851[_0x489752('0x0')]||'',this[_0x489752('0x23')]=_0x516851[_0x489752('0x23')]||'';}module[_0x4aabe9('0x5')]=QueueCallerAbandon;
\ No newline at end of file
+const a1058_0xa4f0=['VoiceQueueId','uniqueid','connectedlinename','UserId','countglobal','seconds','countabandonedretry','starttime','originatecalleridnum','countnoanswerretry','calleridname','scheduledat','talktime','recallme','queue','holdtime','countmachineretry','countagentrejectretry','callbackuniqueid','number','countcongestionretry','type','milliseconds','endtime','callback','moment','outbound','countnosuchnumberretry','countdropretry','responsetime','name','originatecalleridname','ringtime','membername','ContactId','campaigntype','countbusyretry','ListId','droptime','reason','callbackat','CampaignId','calleridnum','diff'];(function(_0x449d0d,_0xa4f085){const _0x44b1c2=function(_0x4bf36b){while(--_0x4bf36b){_0x449d0d['push'](_0x449d0d['shift']());}};_0x44b1c2(++_0xa4f085);}(a1058_0xa4f0,0x1b1));const a1058_0x44b1=function(_0x449d0d,_0xa4f085){_0x449d0d=_0x449d0d-0x0;let _0x44b1c2=a1058_0xa4f0[_0x449d0d];return _0x44b1c2;};const _0x1d5f97=a1058_0x44b1;'use strict';const moment=require(_0x1d5f97('0x20'));function getSeconds(_0x4bf36b,_0x2e97a3){const _0x414386=_0x1d5f97,_0x3a2ac8=moment(_0x4bf36b)[_0x414386('0x1d')](0x0),_0x3d7580=moment(_0x2e97a3)[_0x414386('0x1d')](0x0);return _0x3a2ac8[_0x414386('0x6')](_0x3d7580,_0x414386('0xc'));}function QueueCallerAbandon(_0x21871c,_0x333e4b){const _0x2460b6=_0x1d5f97;this['scheduledat']=_0x21871c[_0x2460b6('0x12')],this[_0x2460b6('0x1c')]=_0x21871c[_0x2460b6('0x1c')],this[_0x2460b6('0x2a')]=_0x21871c[_0x2460b6('0x1c')]===_0x2460b6('0x21')?_0x2460b6('0x15'):_0x21871c['type'],this[_0x2460b6('0x2b')]=_0x21871c[_0x2460b6('0x2b')],this[_0x2460b6('0x1b')]=_0x21871c[_0x2460b6('0x1b')],this['countnoanswerretry']=_0x21871c[_0x2460b6('0x10')],this[_0x2460b6('0xb')]=_0x21871c[_0x2460b6('0x2b')]+_0x21871c['countcongestionretry']+_0x21871c[_0x2460b6('0x10')]+_0x21871c[_0x2460b6('0x22')]+_0x21871c[_0x2460b6('0x23')]+_0x21871c[_0x2460b6('0xd')]+_0x21871c[_0x2460b6('0x17')]+_0x21871c[_0x2460b6('0x18')],this[_0x2460b6('0x22')]=_0x21871c[_0x2460b6('0x22')],this['countdropretry']=_0x21871c[_0x2460b6('0x23')],this[_0x2460b6('0xd')]=_0x21871c[_0x2460b6('0xd')],this[_0x2460b6('0x17')]=_0x21871c[_0x2460b6('0x17')],this[_0x2460b6('0x18')]=_0x21871c[_0x2460b6('0x18')],this[_0x2460b6('0x8')]=_0x333e4b[_0x2460b6('0x8')],this[_0x2460b6('0x11')]=_0x21871c[_0x2460b6('0x25')],this[_0x2460b6('0x5')]=_0x21871c[_0x2460b6('0x1a')],this[_0x2460b6('0xe')]=_0x21871c[_0x2460b6('0xe')],this[_0x2460b6('0x24')]=_0x21871c[_0x2460b6('0x24')],this['droptime']=_0x21871c['droptime'],this[_0x2460b6('0x1e')]=this['droptime'],this[_0x2460b6('0x27')]=getSeconds(_0x21871c[_0x2460b6('0x24')],_0x21871c[_0x2460b6('0xe')]),this[_0x2460b6('0x16')]=getSeconds(this[_0x2460b6('0x1')],_0x21871c[_0x2460b6('0x24')]),this[_0x2460b6('0x13')]=0x0,this[_0x2460b6('0x15')]=_0x333e4b[_0x2460b6('0x15')],this[_0x2460b6('0x28')]=_0x333e4b[_0x2460b6('0x9')],this[_0x2460b6('0x2')]=_0x333e4b['reason'],this['callback']=_0x21871c[_0x2460b6('0x1f')],this[_0x2460b6('0x19')]=_0x21871c['callbackuniqueid'],this[_0x2460b6('0x3')]=_0x21871c[_0x2460b6('0x3')],this[_0x2460b6('0x14')]=_0x21871c[_0x2460b6('0x14')],this[_0x2460b6('0x29')]=_0x21871c[_0x2460b6('0x29')],this['ListId']=_0x21871c[_0x2460b6('0x0')],this[_0x2460b6('0xa')]=_0x21871c[_0x2460b6('0xa')],this[_0x2460b6('0x7')]=_0x21871c[_0x2460b6('0x7')],this['CampaignId']=_0x21871c[_0x2460b6('0x4')],this[_0x2460b6('0xf')]=_0x21871c['originatecalleridnum']||'',this['originatecalleridname']=_0x21871c[_0x2460b6('0x26')]||'';}module['exports']=QueueCallerAbandon;
\ No newline at end of file