Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / ami / dialer / final.js
index 0c5b69b..474c4db 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x768d=['type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countmachineretry','countabandonedretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds','diff','seconds','scheduledat'];(function(_0x308426,_0x1ff8d8){var _0x578c93=function(_0x5ab68b){while(--_0x5ab68b){_0x308426['push'](_0x308426['shift']());}};_0x578c93(++_0x1ff8d8);}(_0x768d,0x99));var _0xd768=function(_0x102288,_0x4ff228){_0x102288=_0x102288-0x0;var _0xae98c5=_0x768d[_0x102288];return _0xae98c5;};'use strict';var util=require(_0xd768('0x0'));var _=require(_0xd768('0x1'));var moment=require(_0xd768('0x2'));function getSeconds(_0x168a89,_0x1d4af7){var _0x484c9b=moment(_0x168a89)['milliseconds'](0x0);var _0x3c44b3=moment(_0x1d4af7)[_0xd768('0x3')](0x0);return _0x484c9b[_0xd768('0x4')](_0x3c44b3,_0xd768('0x5'));}function Final(_0x6ba5ca){this['uniqueid']=_0x6ba5ca['uniqueid'];this['scheduledat']=_0x6ba5ca[_0xd768('0x6')];this[_0xd768('0x7')]=_0x6ba5ca[_0xd768('0x7')];this[_0xd768('0x8')]=_0x6ba5ca[_0xd768('0x7')]===_0xd768('0x9')?_0xd768('0xa'):_0x6ba5ca[_0xd768('0x7')];this[_0xd768('0xb')]=_0x6ba5ca[_0xd768('0xb')];this['countcongestionretry']=_0x6ba5ca[_0xd768('0xc')];this[_0xd768('0xd')]=_0x6ba5ca[_0xd768('0xd')];this[_0xd768('0xe')]=_0x6ba5ca[_0xd768('0xb')]+_0x6ba5ca['countcongestionretry']+_0x6ba5ca['countnoanswerretry']+_0x6ba5ca[_0xd768('0xf')]+_0x6ba5ca[_0xd768('0x10')]+_0x6ba5ca['countabandonedretry']+_0x6ba5ca[_0xd768('0x11')]+_0x6ba5ca['countagentrejectretry'];this[_0xd768('0xf')]=_0x6ba5ca[_0xd768('0xf')];this[_0xd768('0x10')]=_0x6ba5ca[_0xd768('0x10')];this[_0xd768('0x12')]=_0x6ba5ca[_0xd768('0x12')];this[_0xd768('0x11')]=_0x6ba5ca['countmachineretry'];this[_0xd768('0x13')]=_0x6ba5ca[_0xd768('0x13')];this[_0xd768('0xa')]=_0x6ba5ca[_0xd768('0xa')];this[_0xd768('0x14')]=_0x6ba5ca[_0xd768('0x14')];this[_0xd768('0x15')]=_0x6ba5ca[_0xd768('0x15')];this['starttime']=_0x6ba5ca[_0xd768('0x16')];this['responsetime']=_0x6ba5ca[_0xd768('0x17')];this[_0xd768('0x18')]=_0x6ba5ca['responsetime'];this[_0xd768('0x19')]=_0x6ba5ca[_0xd768('0x19')]||0x0;this[_0xd768('0x1a')]=_0x6ba5ca['holdtime']||0x0;this['talktime']=_0x6ba5ca[_0xd768('0x1b')]||0x0;this[_0xd768('0x1c')]=_0x6ba5ca[_0xd768('0x1c')];this[_0xd768('0x1d')]=_0x6ba5ca['callbackuniqueid'];this['callbackat']=_0x6ba5ca[_0xd768('0x1e')];this[_0xd768('0x1f')]=_0x6ba5ca[_0xd768('0x1f')];this[_0xd768('0x20')]=_0x6ba5ca[_0xd768('0x20')];this[_0xd768('0x21')]=_0x6ba5ca[_0xd768('0x21')];this[_0xd768('0x22')]=_0x6ba5ca[_0xd768('0x22')];this['VoiceQueueId']=_0x6ba5ca[_0xd768('0x23')];this[_0xd768('0x24')]=_0x6ba5ca[_0xd768('0x24')];this[_0xd768('0x25')]=_0x6ba5ca[_0xd768('0x25')]||'';this[_0xd768('0x26')]=_0x6ba5ca[_0xd768('0x26')]||'';}module[_0xd768('0x27')]=Final;
\ No newline at end of file
+var _0xb4cc=['scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','calleridname','calleridnum','starttime','responsetime','endtime','holdtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','moment','milliseconds','seconds','uniqueid'];(function(_0x45bc5a,_0x434ad3){var _0xf925e=function(_0x26e912){while(--_0x26e912){_0x45bc5a['push'](_0x45bc5a['shift']());}};_0xf925e(++_0x434ad3);}(_0xb4cc,0xf8));var _0xcb4c=function(_0x532112,_0x37d94b){_0x532112=_0x532112-0x0;var _0x23e5fb=_0xb4cc[_0x532112];return _0x23e5fb;};'use strict';var util=require('util');var _=require('lodash');var moment=require(_0xcb4c('0x0'));function getSeconds(_0x1e5f1a,_0x1d65d1){var _0x52f6b1=moment(_0x1e5f1a)['milliseconds'](0x0);var _0x17ac3f=moment(_0x1d65d1)[_0xcb4c('0x1')](0x0);return _0x52f6b1['diff'](_0x17ac3f,_0xcb4c('0x2'));}function Final(_0xcd678a){this[_0xcb4c('0x3')]=_0xcd678a[_0xcb4c('0x3')];this['scheduledat']=_0xcd678a[_0xcb4c('0x4')];this[_0xcb4c('0x5')]=_0xcd678a[_0xcb4c('0x5')];this[_0xcb4c('0x6')]=_0xcd678a[_0xcb4c('0x5')]===_0xcb4c('0x7')?_0xcb4c('0x8'):_0xcd678a[_0xcb4c('0x5')];this[_0xcb4c('0x9')]=_0xcd678a[_0xcb4c('0x9')];this[_0xcb4c('0xa')]=_0xcd678a['countcongestionretry'];this[_0xcb4c('0xb')]=_0xcd678a[_0xcb4c('0xb')];this[_0xcb4c('0xc')]=_0xcd678a[_0xcb4c('0x9')]+_0xcd678a['countcongestionretry']+_0xcd678a[_0xcb4c('0xb')]+_0xcd678a[_0xcb4c('0xd')]+_0xcd678a[_0xcb4c('0xe')]+_0xcd678a[_0xcb4c('0xf')]+_0xcd678a['countmachineretry']+_0xcd678a[_0xcb4c('0x10')];this['countnosuchnumberretry']=_0xcd678a[_0xcb4c('0xd')];this[_0xcb4c('0xe')]=_0xcd678a[_0xcb4c('0xe')];this[_0xcb4c('0xf')]=_0xcd678a[_0xcb4c('0xf')];this[_0xcb4c('0x11')]=_0xcd678a['countmachineretry'];this[_0xcb4c('0x10')]=_0xcd678a['countagentrejectretry'];this[_0xcb4c('0x8')]=_0xcd678a['queue'];this[_0xcb4c('0x12')]=_0xcd678a['calleridname'];this['calleridnum']=_0xcd678a[_0xcb4c('0x13')];this[_0xcb4c('0x14')]=_0xcd678a['starttime'];this['responsetime']=_0xcd678a[_0xcb4c('0x15')];this[_0xcb4c('0x16')]=_0xcd678a[_0xcb4c('0x15')];this['ringtime']=_0xcd678a['ringtime']||0x0;this['holdtime']=_0xcd678a[_0xcb4c('0x17')]||0x0;this['talktime']=_0xcd678a['talktime']||0x0;this[_0xcb4c('0x18')]=_0xcd678a['callback'];this[_0xcb4c('0x19')]=_0xcd678a[_0xcb4c('0x19')];this['callbackat']=_0xcd678a[_0xcb4c('0x1a')];this['recallme']=_0xcd678a[_0xcb4c('0x1b')];this[_0xcb4c('0x1c')]=_0xcd678a[_0xcb4c('0x1c')];this[_0xcb4c('0x1d')]=_0xcd678a[_0xcb4c('0x1d')];this[_0xcb4c('0x1e')]=_0xcd678a[_0xcb4c('0x1e')];this['VoiceQueueId']=_0xcd678a[_0xcb4c('0x1f')];this[_0xcb4c('0x20')]=_0xcd678a[_0xcb4c('0x20')];this[_0xcb4c('0x21')]=_0xcd678a[_0xcb4c('0x21')]||'';this['originatecalleridname']=_0xcd678a[_0xcb4c('0x22')]||'';}module[_0xcb4c('0x23')]=Final;
\ No newline at end of file