Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / services / ami / dialer / queueCallerAbandon.js
index eba0823..cb25445 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xce9a=['countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','droptime','ringtime','holdtime','talktime','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridname','exports','util','lodash','moment','milliseconds','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal'];(function(_0x820307,_0x33406b){var _0x551324=function(_0x1f1e54){while(--_0x1f1e54){_0x820307['push'](_0x820307['shift']());}};_0x551324(++_0x33406b);}(_0xce9a,0x9f));var _0xace9=function(_0x4e089c,_0x4e3974){_0x4e089c=_0x4e089c-0x0;var _0x1d55ef=_0xce9a[_0x4e089c];return _0x1d55ef;};'use strict';var util=require(_0xace9('0x0'));var _=require(_0xace9('0x1'));var moment=require(_0xace9('0x2'));function getSeconds(_0x1e9734,_0x5f459c){var _0x3d5e2b=moment(_0x1e9734)[_0xace9('0x3')](0x0);var _0x4e3562=moment(_0x5f459c)[_0xace9('0x3')](0x0);return _0x3d5e2b['diff'](_0x4e3562,'seconds');}function QueueCallerAbandon(_0x20cb44,_0x5efac5){this[_0xace9('0x4')]=_0x20cb44['scheduledat'];this['type']=_0x20cb44[_0xace9('0x5')];this[_0xace9('0x6')]=_0x20cb44['type']===_0xace9('0x7')?_0xace9('0x8'):_0x20cb44[_0xace9('0x5')];this[_0xace9('0x9')]=_0x20cb44['countbusyretry'];this[_0xace9('0xa')]=_0x20cb44[_0xace9('0xa')];this[_0xace9('0xb')]=_0x20cb44[_0xace9('0xb')];this[_0xace9('0xc')]=_0x20cb44[_0xace9('0x9')]+_0x20cb44[_0xace9('0xa')]+_0x20cb44[_0xace9('0xb')]+_0x20cb44['countnosuchnumberretry']+_0x20cb44[_0xace9('0xd')]+_0x20cb44[_0xace9('0xe')]+_0x20cb44[_0xace9('0xf')]+_0x20cb44[_0xace9('0x10')];this[_0xace9('0x11')]=_0x20cb44[_0xace9('0x11')];this['countdropretry']=_0x20cb44[_0xace9('0xd')];this[_0xace9('0xe')]=_0x20cb44[_0xace9('0xe')];this[_0xace9('0xf')]=_0x20cb44[_0xace9('0xf')];this['countagentrejectretry']=_0x20cb44[_0xace9('0x10')];this[_0xace9('0x12')]=_0x5efac5[_0xace9('0x12')];this[_0xace9('0x13')]=_0x20cb44[_0xace9('0x14')];this[_0xace9('0x15')]=_0x20cb44[_0xace9('0x16')];this[_0xace9('0x17')]=_0x20cb44[_0xace9('0x17')];this[_0xace9('0x18')]=_0x20cb44['responsetime'];this[_0xace9('0x19')]=_0x20cb44['droptime'];this['endtime']=this[_0xace9('0x19')];this[_0xace9('0x1a')]=getSeconds(_0x20cb44[_0xace9('0x18')],_0x20cb44[_0xace9('0x17')]);this[_0xace9('0x1b')]=getSeconds(this[_0xace9('0x19')],_0x20cb44[_0xace9('0x18')]);this[_0xace9('0x1c')]=0x0;this[_0xace9('0x8')]=_0x5efac5['queue'];this[_0xace9('0x1d')]=_0x5efac5[_0xace9('0x1e')];this[_0xace9('0x1f')]=_0x5efac5[_0xace9('0x1f')];this[_0xace9('0x20')]=_0x20cb44[_0xace9('0x20')];this[_0xace9('0x21')]=_0x20cb44[_0xace9('0x21')];this[_0xace9('0x22')]=_0x20cb44['callbackat'];this[_0xace9('0x23')]=_0x20cb44[_0xace9('0x23')];this[_0xace9('0x24')]=_0x20cb44[_0xace9('0x24')];this['ListId']=_0x20cb44[_0xace9('0x25')];this['UserId']=_0x20cb44[_0xace9('0x26')];this[_0xace9('0x27')]=_0x20cb44['VoiceQueueId'];this[_0xace9('0x28')]=_0x20cb44[_0xace9('0x28')];this['originatecalleridnum']=_0x20cb44['originatecalleridnum']||'';this[_0xace9('0x29')]=_0x20cb44['originatecalleridname']||'';}module[_0xace9('0x2a')]=QueueCallerAbandon;
\ No newline at end of file
+var _0x71f9=['calleridname','name','number','starttime','responsetime','droptime','holdtime','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','lodash','moment','milliseconds','diff','seconds','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid'];(function(_0x359378,_0x5705dd){var _0x4f4851=function(_0x50f675){while(--_0x50f675){_0x359378['push'](_0x359378['shift']());}};_0x4f4851(++_0x5705dd);}(_0x71f9,0x105));var _0x971f=function(_0x223620,_0x1c7d9b){_0x223620=_0x223620-0x0;var _0x378560=_0x71f9[_0x223620];return _0x378560;};'use strict';var util=require('util');var _=require(_0x971f('0x0'));var moment=require(_0x971f('0x1'));function getSeconds(_0x2f5f28,_0x34416c){var _0x1f8661=moment(_0x2f5f28)['milliseconds'](0x0);var _0x4fcc4b=moment(_0x34416c)[_0x971f('0x2')](0x0);return _0x1f8661[_0x971f('0x3')](_0x4fcc4b,_0x971f('0x4'));}function QueueCallerAbandon(_0x4c32e6,_0x57b9f6){this[_0x971f('0x5')]=_0x4c32e6[_0x971f('0x5')];this[_0x971f('0x6')]=_0x4c32e6['type'];this[_0x971f('0x7')]=_0x4c32e6[_0x971f('0x6')]===_0x971f('0x8')?_0x971f('0x9'):_0x4c32e6[_0x971f('0x6')];this[_0x971f('0xa')]=_0x4c32e6[_0x971f('0xa')];this[_0x971f('0xb')]=_0x4c32e6[_0x971f('0xb')];this[_0x971f('0xc')]=_0x4c32e6['countnoanswerretry'];this['countglobal']=_0x4c32e6[_0x971f('0xa')]+_0x4c32e6[_0x971f('0xb')]+_0x4c32e6['countnoanswerretry']+_0x4c32e6[_0x971f('0xd')]+_0x4c32e6[_0x971f('0xe')]+_0x4c32e6[_0x971f('0xf')]+_0x4c32e6[_0x971f('0x10')]+_0x4c32e6[_0x971f('0x11')];this[_0x971f('0xd')]=_0x4c32e6[_0x971f('0xd')];this['countdropretry']=_0x4c32e6['countdropretry'];this[_0x971f('0xf')]=_0x4c32e6[_0x971f('0xf')];this[_0x971f('0x10')]=_0x4c32e6[_0x971f('0x10')];this[_0x971f('0x11')]=_0x4c32e6[_0x971f('0x11')];this[_0x971f('0x12')]=_0x57b9f6[_0x971f('0x12')];this[_0x971f('0x13')]=_0x4c32e6[_0x971f('0x14')];this['calleridnum']=_0x4c32e6[_0x971f('0x15')];this[_0x971f('0x16')]=_0x4c32e6[_0x971f('0x16')];this[_0x971f('0x17')]=_0x4c32e6[_0x971f('0x17')];this[_0x971f('0x18')]=_0x4c32e6[_0x971f('0x18')];this['endtime']=this['droptime'];this['ringtime']=getSeconds(_0x4c32e6[_0x971f('0x17')],_0x4c32e6[_0x971f('0x16')]);this[_0x971f('0x19')]=getSeconds(this[_0x971f('0x18')],_0x4c32e6[_0x971f('0x17')]);this['talktime']=0x0;this['queue']=_0x57b9f6['queue'];this['membername']=_0x57b9f6[_0x971f('0x1a')];this['reason']=_0x57b9f6[_0x971f('0x1b')];this[_0x971f('0x1c')]=_0x4c32e6[_0x971f('0x1c')];this['callbackuniqueid']=_0x4c32e6[_0x971f('0x1d')];this[_0x971f('0x1e')]=_0x4c32e6['callbackat'];this[_0x971f('0x1f')]=_0x4c32e6[_0x971f('0x1f')];this['ContactId']=_0x4c32e6[_0x971f('0x20')];this[_0x971f('0x21')]=_0x4c32e6[_0x971f('0x21')];this[_0x971f('0x22')]=_0x4c32e6[_0x971f('0x22')];this[_0x971f('0x23')]=_0x4c32e6[_0x971f('0x23')];this[_0x971f('0x24')]=_0x4c32e6['CampaignId'];this[_0x971f('0x25')]=_0x4c32e6[_0x971f('0x25')]||'';this[_0x971f('0x26')]=_0x4c32e6[_0x971f('0x26')]||'';}module[_0x971f('0x27')]=QueueCallerAbandon;
\ No newline at end of file