Built motion from commit d9028345.|2.5.43
[motion2.git] / server / services / ami / dialer / final.js
index de60719..387306b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc949=['UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','util','moment','milliseconds','seconds','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId'];(function(_0x314635,_0x4fc20b){var _0x5c1a16=function(_0xfc8520){while(--_0xfc8520){_0x314635['push'](_0x314635['shift']());}};_0x5c1a16(++_0x4fc20b);}(_0xc949,0x181));var _0x9c94=function(_0x25bea7,_0x49ab45){_0x25bea7=_0x25bea7-0x0;var _0x175952=_0xc949[_0x25bea7];return _0x175952;};'use strict';var util=require(_0x9c94('0x0'));var _=require('lodash');var moment=require(_0x9c94('0x1'));function getSeconds(_0x322fed,_0x209cd8){var _0x27613f=moment(_0x322fed)['milliseconds'](0x0);var _0x11a56c=moment(_0x209cd8)[_0x9c94('0x2')](0x0);return _0x27613f['diff'](_0x11a56c,_0x9c94('0x3'));}function Final(_0x1b60a1){this[_0x9c94('0x4')]=_0x1b60a1[_0x9c94('0x4')];this['scheduledat']=_0x1b60a1[_0x9c94('0x5')];this[_0x9c94('0x6')]=_0x1b60a1[_0x9c94('0x6')];this[_0x9c94('0x7')]=_0x1b60a1[_0x9c94('0x6')]===_0x9c94('0x8')?_0x9c94('0x9'):_0x1b60a1[_0x9c94('0x6')];this[_0x9c94('0xa')]=_0x1b60a1[_0x9c94('0xa')];this['countcongestionretry']=_0x1b60a1[_0x9c94('0xb')];this[_0x9c94('0xc')]=_0x1b60a1[_0x9c94('0xc')];this[_0x9c94('0xd')]=_0x1b60a1[_0x9c94('0xa')]+_0x1b60a1[_0x9c94('0xb')]+_0x1b60a1[_0x9c94('0xc')]+_0x1b60a1[_0x9c94('0xe')]+_0x1b60a1[_0x9c94('0xf')]+_0x1b60a1[_0x9c94('0x10')]+_0x1b60a1[_0x9c94('0x11')]+_0x1b60a1[_0x9c94('0x12')];this[_0x9c94('0xe')]=_0x1b60a1[_0x9c94('0xe')];this['countdropretry']=_0x1b60a1[_0x9c94('0xf')];this['countabandonedretry']=_0x1b60a1[_0x9c94('0x10')];this[_0x9c94('0x11')]=_0x1b60a1['countmachineretry'];this[_0x9c94('0x12')]=_0x1b60a1['countagentrejectretry'];this['queue']=_0x1b60a1[_0x9c94('0x9')];this['calleridname']=_0x1b60a1[_0x9c94('0x13')];this[_0x9c94('0x14')]=_0x1b60a1['calleridnum'];this[_0x9c94('0x15')]=_0x1b60a1[_0x9c94('0x15')];this[_0x9c94('0x16')]=_0x1b60a1[_0x9c94('0x16')];this[_0x9c94('0x17')]=_0x1b60a1[_0x9c94('0x16')];this[_0x9c94('0x18')]=_0x1b60a1['ringtime']||0x0;this[_0x9c94('0x19')]=_0x1b60a1[_0x9c94('0x19')]||0x0;this['talktime']=_0x1b60a1[_0x9c94('0x1a')]||0x0;this[_0x9c94('0x1b')]=_0x1b60a1[_0x9c94('0x1b')];this[_0x9c94('0x1c')]=_0x1b60a1[_0x9c94('0x1c')];this[_0x9c94('0x1d')]=_0x1b60a1[_0x9c94('0x1d')];this[_0x9c94('0x1e')]=_0x1b60a1[_0x9c94('0x1e')];this[_0x9c94('0x1f')]=_0x1b60a1[_0x9c94('0x1f')];this[_0x9c94('0x20')]=_0x1b60a1[_0x9c94('0x20')];this[_0x9c94('0x21')]=_0x1b60a1['UserId'];this[_0x9c94('0x22')]=_0x1b60a1[_0x9c94('0x22')];this['CampaignId']=_0x1b60a1[_0x9c94('0x23')];this[_0x9c94('0x24')]=_0x1b60a1[_0x9c94('0x24')]||'';this[_0x9c94('0x25')]=_0x1b60a1[_0x9c94('0x25')]||'';}module['exports']=Final;
\ No newline at end of file
+var _0x46ed=['countcongestionretry','countnoanswerretry','countglobal','countabandonedretry','countmachineretry','countnosuchnumberretry','countdropretry','countagentrejectretry','queue','calleridname','calleridnum','starttime','responsetime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','originatecalleridnum','originatecalleridname','exports','util','lodash','milliseconds','seconds','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry'];(function(_0x597ab2,_0x21ee25){var _0x13d2d3=function(_0x354e0e){while(--_0x354e0e){_0x597ab2['push'](_0x597ab2['shift']());}};_0x13d2d3(++_0x21ee25);}(_0x46ed,0x168));var _0xd46e=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x46ed[_0x57b54c];return _0x59cc19;};'use strict';var util=require(_0xd46e('0x0'));var _=require(_0xd46e('0x1'));var moment=require('moment');function getSeconds(_0x392bc1,_0x1df30e){var _0x1f15e7=moment(_0x392bc1)['milliseconds'](0x0);var _0x2e6b84=moment(_0x1df30e)[_0xd46e('0x2')](0x0);return _0x1f15e7['diff'](_0x2e6b84,_0xd46e('0x3'));}function Final(_0x1926d9){this[_0xd46e('0x4')]=_0x1926d9[_0xd46e('0x4')];this[_0xd46e('0x5')]=_0x1926d9[_0xd46e('0x5')];this[_0xd46e('0x6')]=_0x1926d9[_0xd46e('0x6')];this[_0xd46e('0x7')]=_0x1926d9[_0xd46e('0x6')]===_0xd46e('0x8')?'queue':_0x1926d9[_0xd46e('0x6')];this[_0xd46e('0x9')]=_0x1926d9['countbusyretry'];this[_0xd46e('0xa')]=_0x1926d9[_0xd46e('0xa')];this[_0xd46e('0xb')]=_0x1926d9[_0xd46e('0xb')];this[_0xd46e('0xc')]=_0x1926d9[_0xd46e('0x9')]+_0x1926d9['countcongestionretry']+_0x1926d9[_0xd46e('0xb')]+_0x1926d9['countnosuchnumberretry']+_0x1926d9['countdropretry']+_0x1926d9[_0xd46e('0xd')]+_0x1926d9[_0xd46e('0xe')]+_0x1926d9['countagentrejectretry'];this['countnosuchnumberretry']=_0x1926d9[_0xd46e('0xf')];this[_0xd46e('0x10')]=_0x1926d9[_0xd46e('0x10')];this[_0xd46e('0xd')]=_0x1926d9['countabandonedretry'];this[_0xd46e('0xe')]=_0x1926d9[_0xd46e('0xe')];this[_0xd46e('0x11')]=_0x1926d9[_0xd46e('0x11')];this[_0xd46e('0x12')]=_0x1926d9['queue'];this[_0xd46e('0x13')]=_0x1926d9[_0xd46e('0x13')];this[_0xd46e('0x14')]=_0x1926d9['calleridnum'];this['starttime']=_0x1926d9[_0xd46e('0x15')];this[_0xd46e('0x16')]=_0x1926d9['responsetime'];this['endtime']=_0x1926d9[_0xd46e('0x16')];this[_0xd46e('0x17')]=_0x1926d9[_0xd46e('0x17')]||0x0;this[_0xd46e('0x18')]=_0x1926d9[_0xd46e('0x18')]||0x0;this[_0xd46e('0x19')]=_0x1926d9[_0xd46e('0x19')]||0x0;this[_0xd46e('0x1a')]=_0x1926d9[_0xd46e('0x1a')];this[_0xd46e('0x1b')]=_0x1926d9[_0xd46e('0x1b')];this['callbackat']=_0x1926d9[_0xd46e('0x1c')];this[_0xd46e('0x1d')]=_0x1926d9[_0xd46e('0x1d')];this[_0xd46e('0x1e')]=_0x1926d9[_0xd46e('0x1e')];this[_0xd46e('0x1f')]=_0x1926d9[_0xd46e('0x1f')];this[_0xd46e('0x20')]=_0x1926d9[_0xd46e('0x20')];this['VoiceQueueId']=_0x1926d9[_0xd46e('0x21')];this['CampaignId']=_0x1926d9['CampaignId'];this[_0xd46e('0x22')]=_0x1926d9[_0xd46e('0x22')]||'';this[_0xd46e('0x23')]=_0x1926d9[_0xd46e('0x23')]||'';}module[_0xd46e('0x24')]=Final;
\ No newline at end of file