Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / services / ami / dialer / history.js
index 0deeb44..a83cbf4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x214c=['callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','name','calleridnum','starttime','responsetime','endtime','holdtime','callback','callbackuniqueid'];(function(_0x3e3e95,_0x4bccab){var _0x229728=function(_0x100da6){while(--_0x100da6){_0x3e3e95['push'](_0x3e3e95['shift']());}};_0x229728(++_0x4bccab);}(_0x214c,0x169));var _0xc214=function(_0x1871bb,_0xb8d5fb){_0x1871bb=_0x1871bb-0x0;var _0x53be8f=_0x214c[_0x1871bb];return _0x53be8f;};'use strict';var util=require(_0xc214('0x0'));var _=require(_0xc214('0x1'));var moment=require(_0xc214('0x2'));function getSeconds(_0x577b37,_0x23f2c9){var _0x2fc5c9=moment(_0x577b37)[_0xc214('0x3')](0x0);var _0x42c7e6=moment(_0x23f2c9)[_0xc214('0x3')](0x0);return _0x2fc5c9[_0xc214('0x4')](_0x42c7e6,_0xc214('0x5'));}function History(_0x3d2b2a){this[_0xc214('0x6')]=_0x3d2b2a[_0xc214('0x6')];this[_0xc214('0x7')]=_0x3d2b2a[_0xc214('0x7')]||undefined;this[_0xc214('0x8')]=_0x3d2b2a[_0xc214('0x8')];this[_0xc214('0x9')]=_0x3d2b2a[_0xc214('0x8')]===_0xc214('0xa')?_0xc214('0xb'):_0x3d2b2a[_0xc214('0x8')];this['countbusyretry']=_0x3d2b2a[_0xc214('0xc')];this['countcongestionretry']=_0x3d2b2a[_0xc214('0xd')];this[_0xc214('0xe')]=_0x3d2b2a['countnoanswerretry'];this['countglobal']=_0x3d2b2a[_0xc214('0xc')]+_0x3d2b2a['countcongestionretry']+_0x3d2b2a['countnoanswerretry']+_0x3d2b2a[_0xc214('0xf')]+_0x3d2b2a[_0xc214('0x10')]+_0x3d2b2a[_0xc214('0x11')]+_0x3d2b2a[_0xc214('0x12')]+_0x3d2b2a[_0xc214('0x13')];this[_0xc214('0xf')]=_0x3d2b2a[_0xc214('0xf')];this[_0xc214('0x10')]=_0x3d2b2a[_0xc214('0x10')];this['countabandonedretry']=_0x3d2b2a[_0xc214('0x11')];this[_0xc214('0x12')]=_0x3d2b2a[_0xc214('0x12')];this[_0xc214('0x13')]=_0x3d2b2a[_0xc214('0x13')];this[_0xc214('0xb')]=_0x3d2b2a[_0xc214('0xb')];this[_0xc214('0x14')]=_0x3d2b2a[_0xc214('0x15')];this[_0xc214('0x16')]=_0x3d2b2a['number'];this[_0xc214('0x17')]=_0x3d2b2a['starttime'];this[_0xc214('0x18')]=_0x3d2b2a[_0xc214('0x18')];this[_0xc214('0x19')]=_0x3d2b2a[_0xc214('0x18')];this['ringtime']=getSeconds(_0x3d2b2a['responsetime'],_0x3d2b2a['starttime']);this[_0xc214('0x1a')]=0x0;this['talktime']=0x0;this[_0xc214('0x1b')]=_0x3d2b2a[_0xc214('0x1b')];this[_0xc214('0x1c')]=_0x3d2b2a[_0xc214('0x1c')];this[_0xc214('0x1d')]=_0x3d2b2a[_0xc214('0x1d')];this[_0xc214('0x1e')]=_0x3d2b2a[_0xc214('0x1e')];this[_0xc214('0x1f')]=_0x3d2b2a[_0xc214('0x1f')];this[_0xc214('0x20')]=_0x3d2b2a[_0xc214('0x20')];this[_0xc214('0x21')]=_0x3d2b2a[_0xc214('0x21')];this[_0xc214('0x22')]=_0x3d2b2a[_0xc214('0x22')];this['CampaignId']=_0x3d2b2a[_0xc214('0x23')];this[_0xc214('0x24')]=_0x3d2b2a[_0xc214('0x24')]||'';this['originatecalleridname']=_0x3d2b2a[_0xc214('0x25')]||'';}module[_0xc214('0x26')]=History;
\ No newline at end of file
+var _0x155e=['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','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds'];(function(_0x2e3dfc,_0x454d6c){var _0x4b1245=function(_0x5e9faa){while(--_0x5e9faa){_0x2e3dfc['push'](_0x2e3dfc['shift']());}};_0x4b1245(++_0x454d6c);}(_0x155e,0x9c));var _0xe155=function(_0x42025b,_0x2c635a){_0x42025b=_0x42025b-0x0;var _0xc991fc=_0x155e[_0x42025b];return _0xc991fc;};'use strict';var util=require(_0xe155('0x0'));var _=require(_0xe155('0x1'));var moment=require(_0xe155('0x2'));function getSeconds(_0x574e53,_0x3431dc){var _0x172efe=moment(_0x574e53)['milliseconds'](0x0);var _0x361474=moment(_0x3431dc)[_0xe155('0x3')](0x0);return _0x172efe['diff'](_0x361474,_0xe155('0x4'));}function History(_0x27c3b){this['uniqueid']=_0x27c3b[_0xe155('0x5')];this[_0xe155('0x6')]=_0x27c3b[_0xe155('0x6')]||undefined;this[_0xe155('0x7')]=_0x27c3b['type'];this[_0xe155('0x8')]=_0x27c3b['type']===_0xe155('0x9')?_0xe155('0xa'):_0x27c3b[_0xe155('0x7')];this[_0xe155('0xb')]=_0x27c3b['countbusyretry'];this[_0xe155('0xc')]=_0x27c3b['countcongestionretry'];this['countnoanswerretry']=_0x27c3b[_0xe155('0xd')];this[_0xe155('0xe')]=_0x27c3b[_0xe155('0xb')]+_0x27c3b[_0xe155('0xc')]+_0x27c3b[_0xe155('0xd')]+_0x27c3b[_0xe155('0xf')]+_0x27c3b[_0xe155('0x10')]+_0x27c3b[_0xe155('0x11')]+_0x27c3b[_0xe155('0x12')]+_0x27c3b['countagentrejectretry'];this[_0xe155('0xf')]=_0x27c3b[_0xe155('0xf')];this[_0xe155('0x10')]=_0x27c3b[_0xe155('0x10')];this[_0xe155('0x11')]=_0x27c3b['countabandonedretry'];this[_0xe155('0x12')]=_0x27c3b[_0xe155('0x12')];this[_0xe155('0x13')]=_0x27c3b[_0xe155('0x13')];this['queue']=_0x27c3b['queue'];this[_0xe155('0x14')]=_0x27c3b['name'];this[_0xe155('0x15')]=_0x27c3b['number'];this[_0xe155('0x16')]=_0x27c3b['starttime'];this[_0xe155('0x17')]=_0x27c3b[_0xe155('0x17')];this[_0xe155('0x18')]=_0x27c3b[_0xe155('0x17')];this[_0xe155('0x19')]=getSeconds(_0x27c3b[_0xe155('0x17')],_0x27c3b[_0xe155('0x16')]);this[_0xe155('0x1a')]=0x0;this[_0xe155('0x1b')]=0x0;this[_0xe155('0x1c')]=_0x27c3b[_0xe155('0x1c')];this['callbackuniqueid']=_0x27c3b[_0xe155('0x1d')];this[_0xe155('0x1e')]=_0x27c3b[_0xe155('0x1e')];this['recallme']=_0x27c3b[_0xe155('0x1f')];this[_0xe155('0x20')]=_0x27c3b[_0xe155('0x20')];this['ListId']=_0x27c3b[_0xe155('0x21')];this[_0xe155('0x22')]=_0x27c3b[_0xe155('0x22')];this[_0xe155('0x23')]=_0x27c3b[_0xe155('0x23')];this[_0xe155('0x24')]=_0x27c3b[_0xe155('0x24')];this[_0xe155('0x25')]=_0x27c3b[_0xe155('0x25')]||'';this['originatecalleridname']=_0x27c3b[_0xe155('0x26')]||'';}module[_0xe155('0x27')]=History;
\ No newline at end of file