Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / services / ami / dialer / queueCallerAbandon.js
index 44893ec..4f5c5d1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x64e7=['membername','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','milliseconds','diff','seconds','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','uniqueid','calleridname','name','calleridnum','starttime','responsetime','droptime','endtime','ringtime'];(function(_0x1e3ee7,_0x4d3649){var _0x2ca187=function(_0x15ad73){while(--_0x15ad73){_0x1e3ee7['push'](_0x1e3ee7['shift']());}};_0x2ca187(++_0x4d3649);}(_0x64e7,0x1ef));var _0x764e=function(_0x5c9f15,_0x4a5491){_0x5c9f15=_0x5c9f15-0x0;var _0x535ffc=_0x64e7[_0x5c9f15];return _0x535ffc;};'use strict';var util=require(_0x764e('0x0'));var _=require(_0x764e('0x1'));var moment=require('moment');function getSeconds(_0x410aa8,_0x2a97ea){var _0x1410de=moment(_0x410aa8)[_0x764e('0x2')](0x0);var _0x2625ae=moment(_0x2a97ea)[_0x764e('0x2')](0x0);return _0x1410de[_0x764e('0x3')](_0x2625ae,_0x764e('0x4'));}function QueueCallerAbandon(_0x3338f7,_0x29d032){this[_0x764e('0x5')]=_0x3338f7[_0x764e('0x5')];this[_0x764e('0x6')]=_0x3338f7[_0x764e('0x6')];this[_0x764e('0x7')]=_0x3338f7['type']===_0x764e('0x8')?_0x764e('0x9'):_0x3338f7['type'];this[_0x764e('0xa')]=_0x3338f7[_0x764e('0xa')];this[_0x764e('0xb')]=_0x3338f7[_0x764e('0xb')];this[_0x764e('0xc')]=_0x3338f7[_0x764e('0xc')];this[_0x764e('0xd')]=_0x3338f7[_0x764e('0xa')]+_0x3338f7['countcongestionretry']+_0x3338f7[_0x764e('0xc')];this[_0x764e('0xe')]=_0x29d032[_0x764e('0xe')];this[_0x764e('0xf')]=_0x3338f7[_0x764e('0x10')];this[_0x764e('0x11')]=_0x3338f7['number'];this[_0x764e('0x12')]=_0x3338f7['starttime'];this[_0x764e('0x13')]=_0x3338f7['responsetime'];this[_0x764e('0x14')]=_0x3338f7[_0x764e('0x14')];this[_0x764e('0x15')]=this['droptime'];this[_0x764e('0x16')]=getSeconds(_0x3338f7[_0x764e('0x13')],_0x3338f7['starttime']);this['holdtime']=getSeconds(this[_0x764e('0x14')],_0x3338f7[_0x764e('0x13')]);this['talktime']=0x0;this[_0x764e('0x9')]=_0x29d032[_0x764e('0x9')];this[_0x764e('0x17')]=_0x29d032['connectedlinename'];this[_0x764e('0x18')]=_0x29d032[_0x764e('0x18')];this[_0x764e('0x19')]=_0x3338f7['callback'];this[_0x764e('0x1a')]=_0x3338f7[_0x764e('0x1a')];this[_0x764e('0x1b')]=_0x3338f7[_0x764e('0x1b')];this[_0x764e('0x1c')]=_0x3338f7[_0x764e('0x1c')];this[_0x764e('0x1d')]=_0x3338f7[_0x764e('0x1d')];this[_0x764e('0x1e')]=_0x3338f7['ListId'];this[_0x764e('0x1f')]=_0x3338f7['UserId'];this[_0x764e('0x20')]=_0x3338f7['VoiceQueueId'];this[_0x764e('0x21')]=_0x3338f7[_0x764e('0x21')];this['originatecalleridnum']=_0x3338f7[_0x764e('0x22')]||'';this[_0x764e('0x23')]=_0x3338f7[_0x764e('0x23')]||'';}module[_0x764e('0x24')]=QueueCallerAbandon;
\ No newline at end of file
+var _0x79ef=['starttime','responsetime','droptime','endtime','ringtime','holdtime','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','originatecalleridnum','originatecalleridname','exports','util','lodash','milliseconds','diff','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','uniqueid','calleridname','name','calleridnum','number'];(function(_0x261844,_0x15e233){var _0x13028c=function(_0x16590f){while(--_0x16590f){_0x261844['push'](_0x261844['shift']());}};_0x13028c(++_0x15e233);}(_0x79ef,0x13b));var _0xf79e=function(_0x2184bd,_0xfc4324){_0x2184bd=_0x2184bd-0x0;var _0x4820d5=_0x79ef[_0x2184bd];return _0x4820d5;};'use strict';var util=require(_0xf79e('0x0'));var _=require(_0xf79e('0x1'));var moment=require('moment');function getSeconds(_0x3cceb9,_0x1b0d18){var _0x2284c0=moment(_0x3cceb9)[_0xf79e('0x2')](0x0);var _0x11c14d=moment(_0x1b0d18)[_0xf79e('0x2')](0x0);return _0x2284c0[_0xf79e('0x3')](_0x11c14d,'seconds');}function QueueCallerAbandon(_0x1b2b7f,_0x5acc76){this[_0xf79e('0x4')]=_0x1b2b7f[_0xf79e('0x4')];this[_0xf79e('0x5')]=_0x1b2b7f[_0xf79e('0x5')];this[_0xf79e('0x6')]=_0x1b2b7f['type']===_0xf79e('0x7')?_0xf79e('0x8'):_0x1b2b7f['type'];this[_0xf79e('0x9')]=_0x1b2b7f[_0xf79e('0x9')];this[_0xf79e('0xa')]=_0x1b2b7f['countcongestionretry'];this[_0xf79e('0xb')]=_0x1b2b7f[_0xf79e('0xb')];this[_0xf79e('0xc')]=_0x1b2b7f[_0xf79e('0x9')]+_0x1b2b7f[_0xf79e('0xa')]+_0x1b2b7f[_0xf79e('0xb')];this[_0xf79e('0xd')]=_0x5acc76['uniqueid'];this[_0xf79e('0xe')]=_0x1b2b7f[_0xf79e('0xf')];this[_0xf79e('0x10')]=_0x1b2b7f[_0xf79e('0x11')];this[_0xf79e('0x12')]=_0x1b2b7f[_0xf79e('0x12')];this[_0xf79e('0x13')]=_0x1b2b7f[_0xf79e('0x13')];this[_0xf79e('0x14')]=_0x1b2b7f[_0xf79e('0x14')];this[_0xf79e('0x15')]=this['droptime'];this[_0xf79e('0x16')]=getSeconds(_0x1b2b7f[_0xf79e('0x13')],_0x1b2b7f['starttime']);this[_0xf79e('0x17')]=getSeconds(this[_0xf79e('0x14')],_0x1b2b7f['responsetime']);this['talktime']=0x0;this[_0xf79e('0x8')]=_0x5acc76[_0xf79e('0x8')];this['membername']=_0x5acc76[_0xf79e('0x18')];this['reason']=_0x5acc76[_0xf79e('0x19')];this[_0xf79e('0x1a')]=_0x1b2b7f['callback'];this['callbackuniqueid']=_0x1b2b7f[_0xf79e('0x1b')];this[_0xf79e('0x1c')]=_0x1b2b7f[_0xf79e('0x1c')];this[_0xf79e('0x1d')]=_0x1b2b7f[_0xf79e('0x1d')];this[_0xf79e('0x1e')]=_0x1b2b7f[_0xf79e('0x1e')];this[_0xf79e('0x1f')]=_0x1b2b7f[_0xf79e('0x1f')];this[_0xf79e('0x20')]=_0x1b2b7f['UserId'];this['VoiceQueueId']=_0x1b2b7f[_0xf79e('0x21')];this['CampaignId']=_0x1b2b7f['CampaignId'];this[_0xf79e('0x22')]=_0x1b2b7f[_0xf79e('0x22')]||'';this[_0xf79e('0x23')]=_0x1b2b7f[_0xf79e('0x23')]||'';}module[_0xf79e('0x24')]=QueueCallerAbandon;
\ No newline at end of file