Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / services / ami / dialer / queueCallerAbandon.js
index acbe729..fb3827e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdb53=['type','campaigntype','outbound','countbusyretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','calleridname','name','calleridnum','number','starttime','responsetime','droptime','endtime','holdtime','talktime','queue','connectedlinename','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','moment','milliseconds','diff','seconds','scheduledat'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xdb53,0x1db));var _0x3db5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdb53[_0x3dd15e];return _0x231fd0;};'use strict';var util=require('util');var _=require('lodash');var moment=require(_0x3db5('0x0'));function getSeconds(_0x24a973,_0x2327ec){var _0x13037b=moment(_0x24a973)[_0x3db5('0x1')](0x0);var _0x50754d=moment(_0x2327ec)['milliseconds'](0x0);return _0x13037b[_0x3db5('0x2')](_0x50754d,_0x3db5('0x3'));}function QueueCallerAbandon(_0x32be7b,_0x56ff62){this[_0x3db5('0x4')]=_0x32be7b['scheduledat'];this['type']=_0x32be7b[_0x3db5('0x5')];this[_0x3db5('0x6')]=_0x32be7b[_0x3db5('0x5')]===_0x3db5('0x7')?'queue':_0x32be7b[_0x3db5('0x5')];this[_0x3db5('0x8')]=_0x32be7b[_0x3db5('0x8')];this['countcongestionretry']=_0x32be7b['countcongestionretry'];this[_0x3db5('0x9')]=_0x32be7b[_0x3db5('0x9')];this[_0x3db5('0xa')]=_0x32be7b[_0x3db5('0x8')]+_0x32be7b['countcongestionretry']+_0x32be7b['countnoanswerretry']+_0x32be7b[_0x3db5('0xb')]+_0x32be7b[_0x3db5('0xc')]+_0x32be7b[_0x3db5('0xd')]+_0x32be7b['countmachineretry']+_0x32be7b[_0x3db5('0xe')];this[_0x3db5('0xb')]=_0x32be7b[_0x3db5('0xb')];this[_0x3db5('0xc')]=_0x32be7b[_0x3db5('0xc')];this[_0x3db5('0xd')]=_0x32be7b[_0x3db5('0xd')];this['countmachineretry']=_0x32be7b[_0x3db5('0xf')];this[_0x3db5('0xe')]=_0x32be7b[_0x3db5('0xe')];this['uniqueid']=_0x56ff62['uniqueid'];this[_0x3db5('0x10')]=_0x32be7b[_0x3db5('0x11')];this[_0x3db5('0x12')]=_0x32be7b[_0x3db5('0x13')];this[_0x3db5('0x14')]=_0x32be7b[_0x3db5('0x14')];this['responsetime']=_0x32be7b[_0x3db5('0x15')];this[_0x3db5('0x16')]=_0x32be7b[_0x3db5('0x16')];this[_0x3db5('0x17')]=this[_0x3db5('0x16')];this['ringtime']=getSeconds(_0x32be7b[_0x3db5('0x15')],_0x32be7b[_0x3db5('0x14')]);this[_0x3db5('0x18')]=getSeconds(this[_0x3db5('0x16')],_0x32be7b[_0x3db5('0x15')]);this[_0x3db5('0x19')]=0x0;this[_0x3db5('0x1a')]=_0x56ff62[_0x3db5('0x1a')];this['membername']=_0x56ff62[_0x3db5('0x1b')];this['reason']=_0x56ff62['reason'];this[_0x3db5('0x1c')]=_0x32be7b[_0x3db5('0x1c')];this[_0x3db5('0x1d')]=_0x32be7b[_0x3db5('0x1d')];this[_0x3db5('0x1e')]=_0x32be7b[_0x3db5('0x1e')];this[_0x3db5('0x1f')]=_0x32be7b['recallme'];this[_0x3db5('0x20')]=_0x32be7b['ContactId'];this[_0x3db5('0x21')]=_0x32be7b['ListId'];this['UserId']=_0x32be7b[_0x3db5('0x22')];this[_0x3db5('0x23')]=_0x32be7b[_0x3db5('0x23')];this[_0x3db5('0x24')]=_0x32be7b['CampaignId'];this[_0x3db5('0x25')]=_0x32be7b[_0x3db5('0x25')]||'';this[_0x3db5('0x26')]=_0x32be7b[_0x3db5('0x26')]||'';}module[_0x3db5('0x27')]=QueueCallerAbandon;
\ No newline at end of file
+var _0xf144=['countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','uniqueid','name','calleridnum','number','starttime','responsetime','droptime','endtime','holdtime','talktime','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridname','exports','moment','milliseconds','diff','seconds','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal'];(function(_0x2dd390,_0x1bc894){var _0x3afe47=function(_0x42d8d3){while(--_0x42d8d3){_0x2dd390['push'](_0x2dd390['shift']());}};_0x3afe47(++_0x1bc894);}(_0xf144,0xbc));var _0x4f14=function(_0x296782,_0x407742){_0x296782=_0x296782-0x0;var _0x2c8173=_0xf144[_0x296782];return _0x2c8173;};'use strict';var util=require('util');var _=require('lodash');var moment=require(_0x4f14('0x0'));function getSeconds(_0x3bbda2,_0x3c7921){var _0x22c4ea=moment(_0x3bbda2)[_0x4f14('0x1')](0x0);var _0x1c76b7=moment(_0x3c7921)['milliseconds'](0x0);return _0x22c4ea[_0x4f14('0x2')](_0x1c76b7,_0x4f14('0x3'));}function QueueCallerAbandon(_0x4415b9,_0x1a60da){this[_0x4f14('0x4')]=_0x4415b9[_0x4f14('0x4')];this['type']=_0x4415b9[_0x4f14('0x5')];this['campaigntype']=_0x4415b9['type']===_0x4f14('0x6')?_0x4f14('0x7'):_0x4415b9[_0x4f14('0x5')];this['countbusyretry']=_0x4415b9[_0x4f14('0x8')];this[_0x4f14('0x9')]=_0x4415b9[_0x4f14('0x9')];this[_0x4f14('0xa')]=_0x4415b9[_0x4f14('0xa')];this[_0x4f14('0xb')]=_0x4415b9['countbusyretry']+_0x4415b9['countcongestionretry']+_0x4415b9[_0x4f14('0xa')]+_0x4415b9[_0x4f14('0xc')]+_0x4415b9['countdropretry']+_0x4415b9[_0x4f14('0xd')]+_0x4415b9[_0x4f14('0xe')]+_0x4415b9[_0x4f14('0xf')];this[_0x4f14('0xc')]=_0x4415b9[_0x4f14('0xc')];this[_0x4f14('0x10')]=_0x4415b9[_0x4f14('0x10')];this[_0x4f14('0xd')]=_0x4415b9[_0x4f14('0xd')];this[_0x4f14('0xe')]=_0x4415b9[_0x4f14('0xe')];this[_0x4f14('0xf')]=_0x4415b9['countagentrejectretry'];this[_0x4f14('0x11')]=_0x1a60da[_0x4f14('0x11')];this['calleridname']=_0x4415b9[_0x4f14('0x12')];this[_0x4f14('0x13')]=_0x4415b9[_0x4f14('0x14')];this[_0x4f14('0x15')]=_0x4415b9[_0x4f14('0x15')];this[_0x4f14('0x16')]=_0x4415b9['responsetime'];this[_0x4f14('0x17')]=_0x4415b9['droptime'];this[_0x4f14('0x18')]=this['droptime'];this['ringtime']=getSeconds(_0x4415b9['responsetime'],_0x4415b9[_0x4f14('0x15')]);this[_0x4f14('0x19')]=getSeconds(this[_0x4f14('0x17')],_0x4415b9[_0x4f14('0x16')]);this[_0x4f14('0x1a')]=0x0;this[_0x4f14('0x7')]=_0x1a60da[_0x4f14('0x7')];this['membername']=_0x1a60da[_0x4f14('0x1b')];this['reason']=_0x1a60da[_0x4f14('0x1c')];this[_0x4f14('0x1d')]=_0x4415b9[_0x4f14('0x1d')];this[_0x4f14('0x1e')]=_0x4415b9[_0x4f14('0x1e')];this[_0x4f14('0x1f')]=_0x4415b9[_0x4f14('0x1f')];this[_0x4f14('0x20')]=_0x4415b9[_0x4f14('0x20')];this[_0x4f14('0x21')]=_0x4415b9['ContactId'];this[_0x4f14('0x22')]=_0x4415b9['ListId'];this['UserId']=_0x4415b9[_0x4f14('0x23')];this['VoiceQueueId']=_0x4415b9[_0x4f14('0x24')];this[_0x4f14('0x25')]=_0x4415b9[_0x4f14('0x25')];this['originatecalleridnum']=_0x4415b9['originatecalleridnum']||'';this[_0x4f14('0x26')]=_0x4415b9[_0x4f14('0x26')]||'';}module[_0x4f14('0x27')]=QueueCallerAbandon;
\ No newline at end of file