Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / ami / dialer / queueCallerAbandon.js
index acfd7f4..46f5a13 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x11b8=['countcongestionretry','countnoanswerretry','countglobal','countabandonedretry','countmachineretry','countnosuchnumberretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','droptime','endtime','ringtime','holdtime','talktime','membername','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','lodash','milliseconds','diff','seconds','scheduledat','type','campaigntype','outbound','queue','countbusyretry'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x11b8,0x14e));var _0x811b=function(_0x4cbd35,_0x3fd034){_0x4cbd35=_0x4cbd35-0x0;var _0x41961e=_0x11b8[_0x4cbd35];return _0x41961e;};'use strict';var util=require('util');var _=require(_0x811b('0x0'));var moment=require('moment');function getSeconds(_0x11bf44,_0x254684){var _0x208b30=moment(_0x11bf44)[_0x811b('0x1')](0x0);var _0x248179=moment(_0x254684)[_0x811b('0x1')](0x0);return _0x208b30[_0x811b('0x2')](_0x248179,_0x811b('0x3'));}function QueueCallerAbandon(_0x48360a,_0x4699db){this[_0x811b('0x4')]=_0x48360a[_0x811b('0x4')];this['type']=_0x48360a[_0x811b('0x5')];this[_0x811b('0x6')]=_0x48360a[_0x811b('0x5')]===_0x811b('0x7')?_0x811b('0x8'):_0x48360a[_0x811b('0x5')];this['countbusyretry']=_0x48360a[_0x811b('0x9')];this[_0x811b('0xa')]=_0x48360a[_0x811b('0xa')];this['countnoanswerretry']=_0x48360a[_0x811b('0xb')];this[_0x811b('0xc')]=_0x48360a['countbusyretry']+_0x48360a[_0x811b('0xa')]+_0x48360a[_0x811b('0xb')]+_0x48360a['countnosuchnumberretry']+_0x48360a['countdropretry']+_0x48360a[_0x811b('0xd')]+_0x48360a[_0x811b('0xe')]+_0x48360a['countagentrejectretry'];this[_0x811b('0xf')]=_0x48360a[_0x811b('0xf')];this['countdropretry']=_0x48360a['countdropretry'];this[_0x811b('0xd')]=_0x48360a[_0x811b('0xd')];this['countmachineretry']=_0x48360a['countmachineretry'];this[_0x811b('0x10')]=_0x48360a['countagentrejectretry'];this[_0x811b('0x11')]=_0x4699db['uniqueid'];this[_0x811b('0x12')]=_0x48360a[_0x811b('0x13')];this[_0x811b('0x14')]=_0x48360a[_0x811b('0x15')];this[_0x811b('0x16')]=_0x48360a[_0x811b('0x16')];this[_0x811b('0x17')]=_0x48360a[_0x811b('0x17')];this['droptime']=_0x48360a[_0x811b('0x18')];this[_0x811b('0x19')]=this[_0x811b('0x18')];this[_0x811b('0x1a')]=getSeconds(_0x48360a[_0x811b('0x17')],_0x48360a['starttime']);this[_0x811b('0x1b')]=getSeconds(this[_0x811b('0x18')],_0x48360a[_0x811b('0x17')]);this[_0x811b('0x1c')]=0x0;this[_0x811b('0x8')]=_0x4699db[_0x811b('0x8')];this[_0x811b('0x1d')]=_0x4699db['connectedlinename'];this['reason']=_0x4699db[_0x811b('0x1e')];this[_0x811b('0x1f')]=_0x48360a[_0x811b('0x1f')];this[_0x811b('0x20')]=_0x48360a[_0x811b('0x20')];this[_0x811b('0x21')]=_0x48360a[_0x811b('0x21')];this['recallme']=_0x48360a[_0x811b('0x22')];this[_0x811b('0x23')]=_0x48360a['ContactId'];this[_0x811b('0x24')]=_0x48360a[_0x811b('0x24')];this['UserId']=_0x48360a[_0x811b('0x25')];this['VoiceQueueId']=_0x48360a[_0x811b('0x26')];this[_0x811b('0x27')]=_0x48360a['CampaignId'];this[_0x811b('0x28')]=_0x48360a[_0x811b('0x28')]||'';this[_0x811b('0x29')]=_0x48360a[_0x811b('0x29')]||'';}module[_0x811b('0x2a')]=QueueCallerAbandon;
\ No newline at end of file
+var _0xaabe=['connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','lodash','milliseconds','diff','seconds','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countagentrejectretry','countnosuchnumberretry','countmachineretry','uniqueid','calleridname','name','number','responsetime','droptime','endtime','ringtime','starttime','holdtime','membername'];(function(_0x58afd5,_0x534a48){var _0x3e503b=function(_0x27ba44){while(--_0x27ba44){_0x58afd5['push'](_0x58afd5['shift']());}};_0x3e503b(++_0x534a48);}(_0xaabe,0x8f));var _0xeaab=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xaabe[_0x2c91e9];return _0x13f0ff;};'use strict';var util=require('util');var _=require(_0xeaab('0x0'));var moment=require('moment');function getSeconds(_0x3f6110,_0x23b99c){var _0x81235e=moment(_0x3f6110)[_0xeaab('0x1')](0x0);var _0x3dc2a4=moment(_0x23b99c)['milliseconds'](0x0);return _0x81235e[_0xeaab('0x2')](_0x3dc2a4,_0xeaab('0x3'));}function QueueCallerAbandon(_0x1ff8b2,_0x374d35){this[_0xeaab('0x4')]=_0x1ff8b2['scheduledat'];this[_0xeaab('0x5')]=_0x1ff8b2[_0xeaab('0x5')];this[_0xeaab('0x6')]=_0x1ff8b2[_0xeaab('0x5')]===_0xeaab('0x7')?_0xeaab('0x8'):_0x1ff8b2['type'];this[_0xeaab('0x9')]=_0x1ff8b2['countbusyretry'];this[_0xeaab('0xa')]=_0x1ff8b2['countcongestionretry'];this[_0xeaab('0xb')]=_0x1ff8b2[_0xeaab('0xb')];this[_0xeaab('0xc')]=_0x1ff8b2[_0xeaab('0x9')]+_0x1ff8b2[_0xeaab('0xa')]+_0x1ff8b2['countnoanswerretry']+_0x1ff8b2['countnosuchnumberretry']+_0x1ff8b2[_0xeaab('0xd')]+_0x1ff8b2[_0xeaab('0xe')]+_0x1ff8b2['countmachineretry']+_0x1ff8b2[_0xeaab('0xf')];this['countnosuchnumberretry']=_0x1ff8b2[_0xeaab('0x10')];this[_0xeaab('0xd')]=_0x1ff8b2[_0xeaab('0xd')];this[_0xeaab('0xe')]=_0x1ff8b2[_0xeaab('0xe')];this[_0xeaab('0x11')]=_0x1ff8b2[_0xeaab('0x11')];this['countagentrejectretry']=_0x1ff8b2[_0xeaab('0xf')];this[_0xeaab('0x12')]=_0x374d35[_0xeaab('0x12')];this[_0xeaab('0x13')]=_0x1ff8b2[_0xeaab('0x14')];this['calleridnum']=_0x1ff8b2[_0xeaab('0x15')];this['starttime']=_0x1ff8b2['starttime'];this[_0xeaab('0x16')]=_0x1ff8b2['responsetime'];this[_0xeaab('0x17')]=_0x1ff8b2[_0xeaab('0x17')];this[_0xeaab('0x18')]=this[_0xeaab('0x17')];this[_0xeaab('0x19')]=getSeconds(_0x1ff8b2[_0xeaab('0x16')],_0x1ff8b2[_0xeaab('0x1a')]);this[_0xeaab('0x1b')]=getSeconds(this[_0xeaab('0x17')],_0x1ff8b2[_0xeaab('0x16')]);this['talktime']=0x0;this[_0xeaab('0x8')]=_0x374d35[_0xeaab('0x8')];this[_0xeaab('0x1c')]=_0x374d35[_0xeaab('0x1d')];this[_0xeaab('0x1e')]=_0x374d35[_0xeaab('0x1e')];this['callback']=_0x1ff8b2[_0xeaab('0x1f')];this[_0xeaab('0x20')]=_0x1ff8b2[_0xeaab('0x20')];this[_0xeaab('0x21')]=_0x1ff8b2[_0xeaab('0x21')];this['recallme']=_0x1ff8b2[_0xeaab('0x22')];this[_0xeaab('0x23')]=_0x1ff8b2['ContactId'];this[_0xeaab('0x24')]=_0x1ff8b2[_0xeaab('0x24')];this[_0xeaab('0x25')]=_0x1ff8b2[_0xeaab('0x25')];this[_0xeaab('0x26')]=_0x1ff8b2[_0xeaab('0x26')];this['CampaignId']=_0x1ff8b2[_0xeaab('0x27')];this[_0xeaab('0x28')]=_0x1ff8b2[_0xeaab('0x28')]||'';this[_0xeaab('0x29')]=_0x1ff8b2[_0xeaab('0x29')]||'';}module[_0xeaab('0x2a')]=QueueCallerAbandon;
\ No newline at end of file