Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / ami / dialer / final.js
index f8ec490..4360b3d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x624e=['callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','lodash','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countmachineretry','countabandonedretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime'];(function(_0x40afbc,_0x2c0e71){var _0x11d3f3=function(_0x13b9e0){while(--_0x13b9e0){_0x40afbc['push'](_0x40afbc['shift']());}};_0x11d3f3(++_0x2c0e71);}(_0x624e,0x162));var _0xe624=function(_0x2aeaed,_0x11ef0c){_0x2aeaed=_0x2aeaed-0x0;var _0x352d69=_0x624e[_0x2aeaed];return _0x352d69;};'use strict';var util=require('util');var _=require(_0xe624('0x0'));var moment=require('moment');function getSeconds(_0x26188a,_0x44f2c1){var _0x2388bb=moment(_0x26188a)[_0xe624('0x1')](0x0);var _0x4506f9=moment(_0x44f2c1)['milliseconds'](0x0);return _0x2388bb[_0xe624('0x2')](_0x4506f9,_0xe624('0x3'));}function Final(_0x3cbf74){this[_0xe624('0x4')]=_0x3cbf74['uniqueid'];this[_0xe624('0x5')]=_0x3cbf74[_0xe624('0x5')];this[_0xe624('0x6')]=_0x3cbf74['type'];this[_0xe624('0x7')]=_0x3cbf74[_0xe624('0x6')]===_0xe624('0x8')?_0xe624('0x9'):_0x3cbf74[_0xe624('0x6')];this[_0xe624('0xa')]=_0x3cbf74[_0xe624('0xa')];this['countcongestionretry']=_0x3cbf74[_0xe624('0xb')];this[_0xe624('0xc')]=_0x3cbf74[_0xe624('0xc')];this[_0xe624('0xd')]=_0x3cbf74[_0xe624('0xa')]+_0x3cbf74['countcongestionretry']+_0x3cbf74[_0xe624('0xc')]+_0x3cbf74['countnosuchnumberretry']+_0x3cbf74[_0xe624('0xe')]+_0x3cbf74['countabandonedretry']+_0x3cbf74[_0xe624('0xf')]+_0x3cbf74['countagentrejectretry'];this['countnosuchnumberretry']=_0x3cbf74['countnosuchnumberretry'];this[_0xe624('0xe')]=_0x3cbf74['countdropretry'];this['countabandonedretry']=_0x3cbf74[_0xe624('0x10')];this[_0xe624('0xf')]=_0x3cbf74[_0xe624('0xf')];this[_0xe624('0x11')]=_0x3cbf74['countagentrejectretry'];this[_0xe624('0x9')]=_0x3cbf74[_0xe624('0x9')];this['calleridname']=_0x3cbf74[_0xe624('0x12')];this[_0xe624('0x13')]=_0x3cbf74[_0xe624('0x13')];this['starttime']=_0x3cbf74[_0xe624('0x14')];this[_0xe624('0x15')]=_0x3cbf74['responsetime'];this[_0xe624('0x16')]=_0x3cbf74['responsetime'];this[_0xe624('0x17')]=_0x3cbf74[_0xe624('0x17')]||0x0;this[_0xe624('0x18')]=_0x3cbf74[_0xe624('0x18')]||0x0;this[_0xe624('0x19')]=_0x3cbf74[_0xe624('0x19')]||0x0;this[_0xe624('0x1a')]=_0x3cbf74['callback'];this['callbackuniqueid']=_0x3cbf74[_0xe624('0x1b')];this[_0xe624('0x1c')]=_0x3cbf74[_0xe624('0x1c')];this[_0xe624('0x1d')]=_0x3cbf74[_0xe624('0x1d')];this[_0xe624('0x1e')]=_0x3cbf74['ContactId'];this[_0xe624('0x1f')]=_0x3cbf74[_0xe624('0x1f')];this[_0xe624('0x20')]=_0x3cbf74[_0xe624('0x20')];this[_0xe624('0x21')]=_0x3cbf74['VoiceQueueId'];this[_0xe624('0x22')]=_0x3cbf74[_0xe624('0x22')];this['originatecalleridnum']=_0x3cbf74[_0xe624('0x23')]||'';this['originatecalleridname']=_0x3cbf74[_0xe624('0x24')]||'';}module[_0xe624('0x25')]=Final;
\ No newline at end of file
+var _0xa1e4=['CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countdropretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','UserId','VoiceQueueId'];(function(_0xb0454b,_0x56c432){var _0x38d907=function(_0x4d54c8){while(--_0x4d54c8){_0xb0454b['push'](_0xb0454b['shift']());}};_0x38d907(++_0x56c432);}(_0xa1e4,0x18a));var _0x4a1e=function(_0x29215d,_0x39143f){_0x29215d=_0x29215d-0x0;var _0x265037=_0xa1e4[_0x29215d];return _0x265037;};'use strict';var util=require(_0x4a1e('0x0'));var _=require(_0x4a1e('0x1'));var moment=require('moment');function getSeconds(_0xe764d4,_0x5a8cb){var _0x41a8de=moment(_0xe764d4)[_0x4a1e('0x2')](0x0);var _0x2cb06b=moment(_0x5a8cb)[_0x4a1e('0x2')](0x0);return _0x41a8de[_0x4a1e('0x3')](_0x2cb06b,_0x4a1e('0x4'));}function Final(_0xcfc160){this[_0x4a1e('0x5')]=_0xcfc160['uniqueid'];this[_0x4a1e('0x6')]=_0xcfc160[_0x4a1e('0x6')];this[_0x4a1e('0x7')]=_0xcfc160[_0x4a1e('0x7')];this[_0x4a1e('0x8')]=_0xcfc160[_0x4a1e('0x7')]===_0x4a1e('0x9')?_0x4a1e('0xa'):_0xcfc160[_0x4a1e('0x7')];this[_0x4a1e('0xb')]=_0xcfc160[_0x4a1e('0xb')];this[_0x4a1e('0xc')]=_0xcfc160[_0x4a1e('0xc')];this[_0x4a1e('0xd')]=_0xcfc160[_0x4a1e('0xd')];this[_0x4a1e('0xe')]=_0xcfc160[_0x4a1e('0xb')]+_0xcfc160[_0x4a1e('0xc')]+_0xcfc160[_0x4a1e('0xd')]+_0xcfc160[_0x4a1e('0xf')]+_0xcfc160['countdropretry']+_0xcfc160[_0x4a1e('0x10')]+_0xcfc160[_0x4a1e('0x11')]+_0xcfc160['countagentrejectretry'];this[_0x4a1e('0xf')]=_0xcfc160[_0x4a1e('0xf')];this[_0x4a1e('0x12')]=_0xcfc160['countdropretry'];this[_0x4a1e('0x10')]=_0xcfc160[_0x4a1e('0x10')];this['countmachineretry']=_0xcfc160[_0x4a1e('0x11')];this[_0x4a1e('0x13')]=_0xcfc160[_0x4a1e('0x13')];this['queue']=_0xcfc160[_0x4a1e('0xa')];this['calleridname']=_0xcfc160[_0x4a1e('0x14')];this[_0x4a1e('0x15')]=_0xcfc160[_0x4a1e('0x15')];this[_0x4a1e('0x16')]=_0xcfc160[_0x4a1e('0x16')];this[_0x4a1e('0x17')]=_0xcfc160[_0x4a1e('0x17')];this[_0x4a1e('0x18')]=_0xcfc160[_0x4a1e('0x17')];this[_0x4a1e('0x19')]=_0xcfc160[_0x4a1e('0x19')]||0x0;this[_0x4a1e('0x1a')]=_0xcfc160[_0x4a1e('0x1a')]||0x0;this[_0x4a1e('0x1b')]=_0xcfc160[_0x4a1e('0x1b')]||0x0;this[_0x4a1e('0x1c')]=_0xcfc160[_0x4a1e('0x1c')];this['callbackuniqueid']=_0xcfc160[_0x4a1e('0x1d')];this['callbackat']=_0xcfc160[_0x4a1e('0x1e')];this['recallme']=_0xcfc160[_0x4a1e('0x1f')];this[_0x4a1e('0x20')]=_0xcfc160[_0x4a1e('0x20')];this['ListId']=_0xcfc160['ListId'];this[_0x4a1e('0x21')]=_0xcfc160[_0x4a1e('0x21')];this[_0x4a1e('0x22')]=_0xcfc160[_0x4a1e('0x22')];this[_0x4a1e('0x23')]=_0xcfc160[_0x4a1e('0x23')];this[_0x4a1e('0x24')]=_0xcfc160['originatecalleridnum']||'';this[_0x4a1e('0x25')]=_0xcfc160[_0x4a1e('0x25')]||'';}module[_0x4a1e('0x26')]=Final;
\ No newline at end of file