Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / ami / dialer / final.js
index 5f4cf37..3573043 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4c63=['callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','moment','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countnoanswerretry','countglobal','countcongestionretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','queue','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime'];(function(_0x27475e,_0x432c7f){var _0x21c8a5=function(_0x101e15){while(--_0x101e15){_0x27475e['push'](_0x27475e['shift']());}};_0x21c8a5(++_0x432c7f);}(_0x4c63,0x1c4));var _0x34c6=function(_0x5b14fa,_0x4fede8){_0x5b14fa=_0x5b14fa-0x0;var _0x32a41c=_0x4c63[_0x5b14fa];return _0x32a41c;};'use strict';var util=require(_0x34c6('0x0'));var _=require('lodash');var moment=require(_0x34c6('0x1'));function getSeconds(_0x29f68e,_0x517626){var _0x73d0b7=moment(_0x29f68e)[_0x34c6('0x2')](0x0);var _0x2b406f=moment(_0x517626)[_0x34c6('0x2')](0x0);return _0x73d0b7[_0x34c6('0x3')](_0x2b406f,_0x34c6('0x4'));}function Final(_0x24c096){this[_0x34c6('0x5')]=_0x24c096[_0x34c6('0x5')];this['scheduledat']=_0x24c096[_0x34c6('0x6')];this[_0x34c6('0x7')]=_0x24c096['type'];this[_0x34c6('0x8')]=_0x24c096['type']===_0x34c6('0x9')?'queue':_0x24c096[_0x34c6('0x7')];this[_0x34c6('0xa')]=_0x24c096[_0x34c6('0xa')];this['countcongestionretry']=_0x24c096['countcongestionretry'];this['countnoanswerretry']=_0x24c096[_0x34c6('0xb')];this[_0x34c6('0xc')]=_0x24c096['countbusyretry']+_0x24c096[_0x34c6('0xd')]+_0x24c096[_0x34c6('0xb')]+_0x24c096['countnosuchnumberretry']+_0x24c096[_0x34c6('0xe')]+_0x24c096[_0x34c6('0xf')]+_0x24c096[_0x34c6('0x10')]+_0x24c096[_0x34c6('0x11')];this['countnosuchnumberretry']=_0x24c096[_0x34c6('0x12')];this['countdropretry']=_0x24c096[_0x34c6('0xe')];this['countabandonedretry']=_0x24c096[_0x34c6('0xf')];this[_0x34c6('0x10')]=_0x24c096[_0x34c6('0x10')];this['countagentrejectretry']=_0x24c096['countagentrejectretry'];this[_0x34c6('0x13')]=_0x24c096[_0x34c6('0x13')];this[_0x34c6('0x14')]=_0x24c096[_0x34c6('0x14')];this[_0x34c6('0x15')]=_0x24c096[_0x34c6('0x15')];this[_0x34c6('0x16')]=_0x24c096[_0x34c6('0x16')];this['responsetime']=_0x24c096[_0x34c6('0x17')];this[_0x34c6('0x18')]=_0x24c096[_0x34c6('0x17')];this[_0x34c6('0x19')]=_0x24c096[_0x34c6('0x19')]||0x0;this[_0x34c6('0x1a')]=_0x24c096[_0x34c6('0x1a')]||0x0;this[_0x34c6('0x1b')]=_0x24c096[_0x34c6('0x1b')]||0x0;this[_0x34c6('0x1c')]=_0x24c096[_0x34c6('0x1c')];this['callbackuniqueid']=_0x24c096[_0x34c6('0x1d')];this[_0x34c6('0x1e')]=_0x24c096[_0x34c6('0x1e')];this[_0x34c6('0x1f')]=_0x24c096[_0x34c6('0x1f')];this[_0x34c6('0x20')]=_0x24c096[_0x34c6('0x20')];this['ListId']=_0x24c096[_0x34c6('0x21')];this[_0x34c6('0x22')]=_0x24c096[_0x34c6('0x22')];this[_0x34c6('0x23')]=_0x24c096[_0x34c6('0x23')];this[_0x34c6('0x24')]=_0x24c096[_0x34c6('0x24')];this[_0x34c6('0x25')]=_0x24c096[_0x34c6('0x25')]||'';this[_0x34c6('0x26')]=_0x24c096[_0x34c6('0x26')]||'';}module[_0x34c6('0x27')]=Final;
\ No newline at end of file
+var _0xbcf6=['UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','util','moment','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countagentrejectretry','countabandonedretry','countmachineretry','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId'];(function(_0x8e7cf1,_0x18b1ff){var _0x39e55e=function(_0x5460bc){while(--_0x5460bc){_0x8e7cf1['push'](_0x8e7cf1['shift']());}};_0x39e55e(++_0x18b1ff);}(_0xbcf6,0x15b));var _0x6bcf=function(_0x3d8995,_0x5f4f4b){_0x3d8995=_0x3d8995-0x0;var _0x5dd8ed=_0xbcf6[_0x3d8995];return _0x5dd8ed;};'use strict';var util=require(_0x6bcf('0x0'));var _=require('lodash');var moment=require(_0x6bcf('0x1'));function getSeconds(_0x215ff8,_0x5a8086){var _0x2072f0=moment(_0x215ff8)[_0x6bcf('0x2')](0x0);var _0x45ea51=moment(_0x5a8086)['milliseconds'](0x0);return _0x2072f0[_0x6bcf('0x3')](_0x45ea51,_0x6bcf('0x4'));}function Final(_0x4c8e3f){this[_0x6bcf('0x5')]=_0x4c8e3f[_0x6bcf('0x5')];this[_0x6bcf('0x6')]=_0x4c8e3f['scheduledat'];this['type']=_0x4c8e3f[_0x6bcf('0x7')];this[_0x6bcf('0x8')]=_0x4c8e3f[_0x6bcf('0x7')]===_0x6bcf('0x9')?_0x6bcf('0xa'):_0x4c8e3f[_0x6bcf('0x7')];this[_0x6bcf('0xb')]=_0x4c8e3f[_0x6bcf('0xb')];this['countcongestionretry']=_0x4c8e3f[_0x6bcf('0xc')];this[_0x6bcf('0xd')]=_0x4c8e3f['countnoanswerretry'];this['countglobal']=_0x4c8e3f[_0x6bcf('0xb')]+_0x4c8e3f['countcongestionretry']+_0x4c8e3f['countnoanswerretry']+_0x4c8e3f[_0x6bcf('0xe')]+_0x4c8e3f[_0x6bcf('0xf')]+_0x4c8e3f['countabandonedretry']+_0x4c8e3f['countmachineretry']+_0x4c8e3f[_0x6bcf('0x10')];this[_0x6bcf('0xe')]=_0x4c8e3f[_0x6bcf('0xe')];this[_0x6bcf('0xf')]=_0x4c8e3f[_0x6bcf('0xf')];this['countabandonedretry']=_0x4c8e3f[_0x6bcf('0x11')];this[_0x6bcf('0x12')]=_0x4c8e3f['countmachineretry'];this[_0x6bcf('0x10')]=_0x4c8e3f[_0x6bcf('0x10')];this[_0x6bcf('0xa')]=_0x4c8e3f[_0x6bcf('0xa')];this[_0x6bcf('0x13')]=_0x4c8e3f[_0x6bcf('0x13')];this[_0x6bcf('0x14')]=_0x4c8e3f[_0x6bcf('0x14')];this[_0x6bcf('0x15')]=_0x4c8e3f['starttime'];this[_0x6bcf('0x16')]=_0x4c8e3f[_0x6bcf('0x16')];this[_0x6bcf('0x17')]=_0x4c8e3f['responsetime'];this[_0x6bcf('0x18')]=_0x4c8e3f['ringtime']||0x0;this[_0x6bcf('0x19')]=_0x4c8e3f[_0x6bcf('0x19')]||0x0;this[_0x6bcf('0x1a')]=_0x4c8e3f[_0x6bcf('0x1a')]||0x0;this[_0x6bcf('0x1b')]=_0x4c8e3f[_0x6bcf('0x1b')];this['callbackuniqueid']=_0x4c8e3f[_0x6bcf('0x1c')];this[_0x6bcf('0x1d')]=_0x4c8e3f['callbackat'];this[_0x6bcf('0x1e')]=_0x4c8e3f[_0x6bcf('0x1e')];this[_0x6bcf('0x1f')]=_0x4c8e3f['ContactId'];this[_0x6bcf('0x20')]=_0x4c8e3f[_0x6bcf('0x20')];this[_0x6bcf('0x21')]=_0x4c8e3f[_0x6bcf('0x21')];this[_0x6bcf('0x22')]=_0x4c8e3f[_0x6bcf('0x22')];this[_0x6bcf('0x23')]=_0x4c8e3f[_0x6bcf('0x23')];this['originatecalleridnum']=_0x4c8e3f[_0x6bcf('0x24')]||'';this[_0x6bcf('0x25')]=_0x4c8e3f['originatecalleridname']||'';}module['exports']=Final;
\ No newline at end of file