Built motion from commit 97153652.|2.6.26
[motion2.git] / server / services / ami / dialer / models / hangup.js
index 785ba69..90619e7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9f6=['reason','cause-txt','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','exports','moment','../utils','state','statedesc','Answer','scheduledat','type','outbound','queue','amd','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','endtime','format','ringtime','getSeconds','holdtime','membername','IVR'];(function(_0xc6cd9,_0x24938f){var _0x39ca4b=function(_0x454857){while(--_0x454857){_0xc6cd9['push'](_0xc6cd9['shift']());}};_0x39ca4b(++_0x24938f);}(_0xa9f6,0x198));var _0x6a9f=function(_0x377551,_0x421e02){_0x377551=_0x377551-0x0;var _0x11c2bb=_0xa9f6[_0x377551];return _0x11c2bb;};'use strict';var moment=require(_0x6a9f('0x0'));var utils=require(_0x6a9f('0x1'));function Hangup(_0x397d37,_0x3694ae){this[_0x6a9f('0x2')]=0x4;this[_0x6a9f('0x3')]=_0x6a9f('0x4');this[_0x6a9f('0x5')]=_0x397d37[_0x6a9f('0x5')];this[_0x6a9f('0x6')]=_0x397d37[_0x6a9f('0x6')];this['campaigntype']=_0x397d37['type']===_0x6a9f('0x7')?_0x6a9f('0x8'):_0x397d37[_0x6a9f('0x6')];this[_0x6a9f('0x9')]=_0x397d37['amd']||![];this[_0x6a9f('0xa')]=_0x397d37[_0x6a9f('0xa')];this['countcongestionretry']=_0x397d37[_0x6a9f('0xb')];this['countnoanswerretry']=_0x397d37['countnoanswerretry'];this['countglobal']=_0x397d37['countbusyretry']+_0x397d37['countcongestionretry']+_0x397d37[_0x6a9f('0xc')]+_0x397d37[_0x6a9f('0xd')]+_0x397d37['countdropretry']+_0x397d37[_0x6a9f('0xe')]+_0x397d37[_0x6a9f('0xf')]+_0x397d37[_0x6a9f('0x10')];this['countnosuchnumberretry']=_0x397d37['countnosuchnumberretry'];this['countdropretry']=_0x397d37[_0x6a9f('0x11')];this[_0x6a9f('0xe')]=_0x397d37['countabandonedretry'];this['countmachineretry']=_0x397d37[_0x6a9f('0xf')];this[_0x6a9f('0x10')]=_0x397d37['countagentrejectretry'];this['uniqueid']=_0x3694ae[_0x6a9f('0x12')];this[_0x6a9f('0x13')]=_0x397d37[_0x6a9f('0x14')];this[_0x6a9f('0x15')]=_0x397d37[_0x6a9f('0x16')];this[_0x6a9f('0x17')]=_0x397d37[_0x6a9f('0x17')];this[_0x6a9f('0x18')]=_0x397d37[_0x6a9f('0x18')];this[_0x6a9f('0x19')]=moment()[_0x6a9f('0x1a')]('YYYY-MM-DD\x20HH:mm:ss');this[_0x6a9f('0x1b')]=utils[_0x6a9f('0x1c')](_0x397d37[_0x6a9f('0x18')],_0x397d37[_0x6a9f('0x17')]);this[_0x6a9f('0x1d')]=0x0;this['talktime']=utils[_0x6a9f('0x1c')](this[_0x6a9f('0x19')],_0x397d37['responsetime']);this[_0x6a9f('0x8')]=_0x397d37['queue'];this[_0x6a9f('0x1e')]=_0x6a9f('0x1f');this[_0x6a9f('0x20')]=_0x3694ae[_0x6a9f('0x21')];this[_0x6a9f('0x22')]=_0x397d37[_0x6a9f('0x22')];this['callbackuniqueid']=_0x397d37[_0x6a9f('0x23')];this[_0x6a9f('0x24')]=_0x397d37[_0x6a9f('0x24')];this[_0x6a9f('0x25')]=_0x397d37[_0x6a9f('0x25')];this[_0x6a9f('0x26')]=_0x397d37[_0x6a9f('0x26')];this[_0x6a9f('0x27')]=_0x397d37[_0x6a9f('0x27')];this[_0x6a9f('0x28')]=_0x397d37[_0x6a9f('0x28')];this[_0x6a9f('0x29')]=_0x397d37[_0x6a9f('0x29')];this[_0x6a9f('0x2a')]=_0x397d37['CampaignId'];}module[_0x6a9f('0x2b')]=Hangup;
\ No newline at end of file
+var _0x32c6=['countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','endtime','format','ringtime','getSeconds','holdtime','talktime','membername','IVR','cause-txt','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','CampaignId','exports','moment','../utils','state','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','amd'];(function(_0x53b133,_0x176261){var _0x5647e0=function(_0x4c62b0){while(--_0x4c62b0){_0x53b133['push'](_0x53b133['shift']());}};_0x5647e0(++_0x176261);}(_0x32c6,0x79));var _0x632c=function(_0x53d845,_0x15f08f){_0x53d845=_0x53d845-0x0;var _0x2532c1=_0x32c6[_0x53d845];return _0x2532c1;};'use strict';var moment=require(_0x632c('0x0'));var utils=require(_0x632c('0x1'));function Hangup(_0xdf9728,_0xe1d8af){this[_0x632c('0x2')]=0x4;this[_0x632c('0x3')]=_0x632c('0x4');this[_0x632c('0x5')]=_0xdf9728['scheduledat'];this[_0x632c('0x6')]=_0xdf9728[_0x632c('0x6')];this[_0x632c('0x7')]=_0xdf9728[_0x632c('0x6')]===_0x632c('0x8')?_0x632c('0x9'):_0xdf9728[_0x632c('0x6')];this['amd']=_0xdf9728[_0x632c('0xa')]||![];this['countbusyretry']=_0xdf9728[_0x632c('0xb')];this['countcongestionretry']=_0xdf9728[_0x632c('0xc')];this[_0x632c('0xd')]=_0xdf9728[_0x632c('0xd')];this['countglobal']=_0xdf9728[_0x632c('0xb')]+_0xdf9728[_0x632c('0xc')]+_0xdf9728['countnoanswerretry']+_0xdf9728[_0x632c('0xe')]+_0xdf9728[_0x632c('0xf')]+_0xdf9728[_0x632c('0x10')]+_0xdf9728['countmachineretry']+_0xdf9728[_0x632c('0x11')];this[_0x632c('0xe')]=_0xdf9728[_0x632c('0xe')];this[_0x632c('0xf')]=_0xdf9728[_0x632c('0xf')];this['countabandonedretry']=_0xdf9728[_0x632c('0x10')];this[_0x632c('0x12')]=_0xdf9728['countmachineretry'];this['countagentrejectretry']=_0xdf9728[_0x632c('0x11')];this[_0x632c('0x13')]=_0xe1d8af[_0x632c('0x13')];this[_0x632c('0x14')]=_0xdf9728[_0x632c('0x15')];this[_0x632c('0x16')]=_0xdf9728[_0x632c('0x17')];this[_0x632c('0x18')]=_0xdf9728[_0x632c('0x18')];this['responsetime']=_0xdf9728[_0x632c('0x19')];this[_0x632c('0x1a')]=moment()[_0x632c('0x1b')]('YYYY-MM-DD\x20HH:mm:ss');this[_0x632c('0x1c')]=utils[_0x632c('0x1d')](_0xdf9728[_0x632c('0x19')],_0xdf9728['starttime']);this[_0x632c('0x1e')]=0x0;this[_0x632c('0x1f')]=utils[_0x632c('0x1d')](this[_0x632c('0x1a')],_0xdf9728[_0x632c('0x19')]);this[_0x632c('0x9')]=_0xdf9728[_0x632c('0x9')];this[_0x632c('0x20')]=_0x632c('0x21');this['reason']=_0xe1d8af[_0x632c('0x22')];this['callback']=_0xdf9728[_0x632c('0x23')];this[_0x632c('0x24')]=_0xdf9728[_0x632c('0x24')];this['callbackat']=_0xdf9728[_0x632c('0x25')];this[_0x632c('0x26')]=_0xdf9728['recallme'];this['ContactId']=_0xdf9728[_0x632c('0x27')];this[_0x632c('0x28')]=_0xdf9728[_0x632c('0x28')];this[_0x632c('0x29')]=_0xdf9728['UserId'];this['VoiceQueueId']=_0xdf9728['VoiceQueueId'];this[_0x632c('0x2a')]=_0xdf9728[_0x632c('0x2a')];}module[_0x632c('0x2b')]=Hangup;
\ No newline at end of file