Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / services / ami / dialer / history.js
index 7989328..501cebf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x06fe=['countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','queue','calleridname','number','starttime','responsetime','endtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry'];(function(_0x148f47,_0x2f32b1){var _0x4537a3=function(_0x9b77ec){while(--_0x9b77ec){_0x148f47['push'](_0x148f47['shift']());}};_0x4537a3(++_0x2f32b1);}(_0x06fe,0x6c));var _0xe06f=function(_0x9ec221,_0x2594a6){_0x9ec221=_0x9ec221-0x0;var _0xdbe55e=_0x06fe[_0x9ec221];return _0xdbe55e;};'use strict';var util=require(_0xe06f('0x0'));var _=require(_0xe06f('0x1'));var moment=require(_0xe06f('0x2'));function getSeconds(_0x5c2332,_0x327671){var _0x2bbf82=moment(_0x5c2332)[_0xe06f('0x3')](0x0);var _0x330d95=moment(_0x327671)[_0xe06f('0x3')](0x0);return _0x2bbf82[_0xe06f('0x4')](_0x330d95,_0xe06f('0x5'));}function History(_0x516e80){this[_0xe06f('0x6')]=_0x516e80[_0xe06f('0x6')];this[_0xe06f('0x7')]=_0x516e80[_0xe06f('0x7')]||undefined;this[_0xe06f('0x8')]=_0x516e80[_0xe06f('0x8')];this[_0xe06f('0x9')]=_0x516e80[_0xe06f('0x8')]===_0xe06f('0xa')?'queue':_0x516e80[_0xe06f('0x8')];this[_0xe06f('0xb')]=_0x516e80['countbusyretry'];this[_0xe06f('0xc')]=_0x516e80[_0xe06f('0xc')];this[_0xe06f('0xd')]=_0x516e80[_0xe06f('0xd')];this[_0xe06f('0xe')]=_0x516e80[_0xe06f('0xb')]+_0x516e80[_0xe06f('0xc')]+_0x516e80[_0xe06f('0xd')]+_0x516e80[_0xe06f('0xf')]+_0x516e80['countdropretry']+_0x516e80[_0xe06f('0x10')]+_0x516e80[_0xe06f('0x11')]+_0x516e80[_0xe06f('0x12')];this[_0xe06f('0xf')]=_0x516e80[_0xe06f('0xf')];this[_0xe06f('0x13')]=_0x516e80[_0xe06f('0x13')];this[_0xe06f('0x10')]=_0x516e80[_0xe06f('0x10')];this[_0xe06f('0x11')]=_0x516e80['countmachineretry'];this[_0xe06f('0x12')]=_0x516e80['countagentrejectretry'];this['queue']=_0x516e80[_0xe06f('0x14')];this[_0xe06f('0x15')]=_0x516e80['name'];this['calleridnum']=_0x516e80[_0xe06f('0x16')];this[_0xe06f('0x17')]=_0x516e80[_0xe06f('0x17')];this[_0xe06f('0x18')]=_0x516e80[_0xe06f('0x18')];this[_0xe06f('0x19')]=_0x516e80['responsetime'];this['ringtime']=getSeconds(_0x516e80[_0xe06f('0x18')],_0x516e80['starttime']);this[_0xe06f('0x1a')]=0x0;this[_0xe06f('0x1b')]=0x0;this[_0xe06f('0x1c')]=_0x516e80[_0xe06f('0x1c')];this[_0xe06f('0x1d')]=_0x516e80[_0xe06f('0x1d')];this[_0xe06f('0x1e')]=_0x516e80[_0xe06f('0x1e')];this[_0xe06f('0x1f')]=_0x516e80['recallme'];this['ContactId']=_0x516e80[_0xe06f('0x20')];this[_0xe06f('0x21')]=_0x516e80[_0xe06f('0x21')];this[_0xe06f('0x22')]=_0x516e80[_0xe06f('0x22')];this[_0xe06f('0x23')]=_0x516e80[_0xe06f('0x23')];this[_0xe06f('0x24')]=_0x516e80[_0xe06f('0x24')];this[_0xe06f('0x25')]=_0x516e80['originatecalleridnum']||'';this[_0xe06f('0x26')]=_0x516e80[_0xe06f('0x26')]||'';}module[_0xe06f('0x27')]=History;
\ No newline at end of file
+var _0x6cb2=['countabandonedretry','countmachineretry','countnosuchnumberretry','countagentrejectretry','queue','calleridname','name','starttime','responsetime','endtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridname','exports','lodash','moment','milliseconds','seconds','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry'];(function(_0x59ca4b,_0x2f851e){var _0xb214a4=function(_0x3b7ba8){while(--_0x3b7ba8){_0x59ca4b['push'](_0x59ca4b['shift']());}};_0xb214a4(++_0x2f851e);}(_0x6cb2,0xf5));var _0x26cb=function(_0x36c5b0,_0x5001da){_0x36c5b0=_0x36c5b0-0x0;var _0xf19333=_0x6cb2[_0x36c5b0];return _0xf19333;};'use strict';var util=require('util');var _=require(_0x26cb('0x0'));var moment=require(_0x26cb('0x1'));function getSeconds(_0x2404b3,_0x351bbd){var _0x56089=moment(_0x2404b3)[_0x26cb('0x2')](0x0);var _0x311591=moment(_0x351bbd)[_0x26cb('0x2')](0x0);return _0x56089['diff'](_0x311591,_0x26cb('0x3'));}function History(_0x19c45e){this['uniqueid']=_0x19c45e[_0x26cb('0x4')];this[_0x26cb('0x5')]=_0x19c45e[_0x26cb('0x5')]||undefined;this['type']=_0x19c45e[_0x26cb('0x6')];this[_0x26cb('0x7')]=_0x19c45e[_0x26cb('0x6')]===_0x26cb('0x8')?'queue':_0x19c45e[_0x26cb('0x6')];this['countbusyretry']=_0x19c45e[_0x26cb('0x9')];this[_0x26cb('0xa')]=_0x19c45e[_0x26cb('0xa')];this[_0x26cb('0xb')]=_0x19c45e[_0x26cb('0xb')];this[_0x26cb('0xc')]=_0x19c45e[_0x26cb('0x9')]+_0x19c45e[_0x26cb('0xa')]+_0x19c45e[_0x26cb('0xb')]+_0x19c45e['countnosuchnumberretry']+_0x19c45e[_0x26cb('0xd')]+_0x19c45e[_0x26cb('0xe')]+_0x19c45e[_0x26cb('0xf')]+_0x19c45e['countagentrejectretry'];this[_0x26cb('0x10')]=_0x19c45e[_0x26cb('0x10')];this[_0x26cb('0xd')]=_0x19c45e[_0x26cb('0xd')];this[_0x26cb('0xe')]=_0x19c45e[_0x26cb('0xe')];this['countmachineretry']=_0x19c45e[_0x26cb('0xf')];this[_0x26cb('0x11')]=_0x19c45e[_0x26cb('0x11')];this[_0x26cb('0x12')]=_0x19c45e[_0x26cb('0x12')];this[_0x26cb('0x13')]=_0x19c45e[_0x26cb('0x14')];this['calleridnum']=_0x19c45e['number'];this[_0x26cb('0x15')]=_0x19c45e['starttime'];this['responsetime']=_0x19c45e[_0x26cb('0x16')];this[_0x26cb('0x17')]=_0x19c45e[_0x26cb('0x16')];this['ringtime']=getSeconds(_0x19c45e[_0x26cb('0x16')],_0x19c45e[_0x26cb('0x15')]);this[_0x26cb('0x18')]=0x0;this[_0x26cb('0x19')]=0x0;this[_0x26cb('0x1a')]=_0x19c45e['callback'];this[_0x26cb('0x1b')]=_0x19c45e[_0x26cb('0x1b')];this['callbackat']=_0x19c45e[_0x26cb('0x1c')];this[_0x26cb('0x1d')]=_0x19c45e[_0x26cb('0x1d')];this[_0x26cb('0x1e')]=_0x19c45e[_0x26cb('0x1e')];this[_0x26cb('0x1f')]=_0x19c45e[_0x26cb('0x1f')];this[_0x26cb('0x20')]=_0x19c45e[_0x26cb('0x20')];this['VoiceQueueId']=_0x19c45e[_0x26cb('0x21')];this[_0x26cb('0x22')]=_0x19c45e[_0x26cb('0x22')];this['originatecalleridnum']=_0x19c45e['originatecalleridnum']||'';this[_0x26cb('0x23')]=_0x19c45e[_0x26cb('0x23')]||'';}module[_0x26cb('0x24')]=History;
\ No newline at end of file