Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index 4a2b8c9..6e2221b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x57ef=['ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridnum','number','starttime','responsetime','droptime','dropreason','endtime','ringtime','getSeconds','talktime','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId'];(function(_0x284bc3,_0x22dffe){var _0x41ac81=function(_0x47031f){while(--_0x47031f){_0x284bc3['push'](_0x284bc3['shift']());}};_0x41ac81(++_0x22dffe);}(_0x57ef,0x106));var _0xf57e=function(_0x24d2ba,_0x1e74ca){_0x24d2ba=_0x24d2ba-0x0;var _0x5b9085=_0x57ef[_0x24d2ba];return _0x5b9085;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x37144a,_0x330421){this[_0xf57e('0x0')]=_0x37144a[_0xf57e('0x0')];this[_0xf57e('0x1')]=_0x37144a[_0xf57e('0x1')];this[_0xf57e('0x2')]=_0x37144a[_0xf57e('0x1')]===_0xf57e('0x3')?_0xf57e('0x4'):_0x37144a[_0xf57e('0x1')];this[_0xf57e('0x5')]=_0x37144a[_0xf57e('0x5')];this['countcongestionretry']=_0x37144a[_0xf57e('0x6')];this[_0xf57e('0x7')]=_0x37144a[_0xf57e('0x7')];this['countglobal']=_0x37144a[_0xf57e('0x5')]+_0x37144a['countcongestionretry']+_0x37144a[_0xf57e('0x7')]+_0x37144a['countnosuchnumberretry']+_0x37144a['countdropretry']+_0x37144a['countabandonedretry']+_0x37144a['countmachineretry']+_0x37144a['countagentrejectretry'];this['countnosuchnumberretry']=_0x37144a[_0xf57e('0x8')];this[_0xf57e('0x9')]=_0x37144a['countdropretry'];this[_0xf57e('0xa')]=_0x37144a['countabandonedretry'];this[_0xf57e('0xb')]=_0x37144a['countmachineretry'];this['countagentrejectretry']=_0x37144a[_0xf57e('0xc')];this[_0xf57e('0xd')]=_0x330421[_0xf57e('0xd')];this['calleridname']=_0x37144a['name'];this[_0xf57e('0xe')]=_0x37144a[_0xf57e('0xf')];this['starttime']=_0x37144a[_0xf57e('0x10')];this[_0xf57e('0x11')]=_0x37144a[_0xf57e('0x11')];this[_0xf57e('0x12')]=_0x37144a[_0xf57e('0x12')];this[_0xf57e('0x13')]=_0x37144a[_0xf57e('0x13')];this[_0xf57e('0x14')]=this[_0xf57e('0x12')];this[_0xf57e('0x15')]=utils[_0xf57e('0x16')](_0x37144a[_0xf57e('0x11')],_0x37144a['starttime']);this['holdtime']=utils[_0xf57e('0x16')](this[_0xf57e('0x12')],_0x37144a[_0xf57e('0x11')]);this[_0xf57e('0x17')]=0x0;this[_0xf57e('0x4')]=_0x330421[_0xf57e('0x4')];this[_0xf57e('0x18')]=_0x330421[_0xf57e('0x19')];this[_0xf57e('0x1a')]=_0x330421[_0xf57e('0x1a')];this[_0xf57e('0x1b')]=_0x37144a['callback'];this[_0xf57e('0x1c')]=_0x37144a['callbackuniqueid'];this[_0xf57e('0x1d')]=_0x37144a['callbackat'];this['recallme']=_0x37144a[_0xf57e('0x1e')];this[_0xf57e('0x1f')]=_0x37144a[_0xf57e('0x1f')];this[_0xf57e('0x20')]=_0x37144a['ListId'];this[_0xf57e('0x21')]=_0x37144a[_0xf57e('0x21')];this[_0xf57e('0x22')]=_0x37144a['VoiceQueueId'];this['CampaignId']=_0x37144a[_0xf57e('0x23')];this[_0xf57e('0x24')]=_0x37144a[_0xf57e('0x24')]||'';this[_0xf57e('0x25')]=_0x37144a[_0xf57e('0x25')]||'';this[_0xf57e('0x26')]=_0x37144a['agiafterat'];this[_0xf57e('0x27')]=_0x37144a[_0xf57e('0x27')];this[_0xf57e('0x28')]=_0x37144a['statedesc'];}module[_0xf57e('0x29')]=QueueCallerAbandon;
\ No newline at end of file
+var _0xc869=['../utils','type','campaigntype','outbound','countbusyretry','countcongestionretry','countglobal','countnoanswerretry','countnosuchnumberretry','countdropretry','countmachineretry','countagentrejectretry','countabandonedretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','droptime','dropreason','getSeconds','holdtime','talktime','queue','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','statedesc','exports'];(function(_0xa57b21,_0x417e10){var _0x424aaa=function(_0x2022ab){while(--_0x2022ab){_0xa57b21['push'](_0xa57b21['shift']());}};_0x424aaa(++_0x417e10);}(_0xc869,0x17a));var _0x9c86=function(_0x19ce05,_0x15cccb){_0x19ce05=_0x19ce05-0x0;var _0xfb5110=_0xc869[_0x19ce05];return _0xfb5110;};'use strict';var utils=require(_0x9c86('0x0'));function QueueCallerAbandon(_0x3794da,_0x4543cb){this['scheduledat']=_0x3794da['scheduledat'];this['type']=_0x3794da[_0x9c86('0x1')];this[_0x9c86('0x2')]=_0x3794da['type']===_0x9c86('0x3')?'queue':_0x3794da[_0x9c86('0x1')];this[_0x9c86('0x4')]=_0x3794da[_0x9c86('0x4')];this['countcongestionretry']=_0x3794da[_0x9c86('0x5')];this['countnoanswerretry']=_0x3794da['countnoanswerretry'];this[_0x9c86('0x6')]=_0x3794da[_0x9c86('0x4')]+_0x3794da[_0x9c86('0x5')]+_0x3794da[_0x9c86('0x7')]+_0x3794da[_0x9c86('0x8')]+_0x3794da[_0x9c86('0x9')]+_0x3794da['countabandonedretry']+_0x3794da[_0x9c86('0xa')]+_0x3794da[_0x9c86('0xb')];this[_0x9c86('0x8')]=_0x3794da[_0x9c86('0x8')];this[_0x9c86('0x9')]=_0x3794da[_0x9c86('0x9')];this['countabandonedretry']=_0x3794da[_0x9c86('0xc')];this[_0x9c86('0xa')]=_0x3794da[_0x9c86('0xa')];this[_0x9c86('0xb')]=_0x3794da[_0x9c86('0xb')];this['uniqueid']=_0x4543cb[_0x9c86('0xd')];this[_0x9c86('0xe')]=_0x3794da[_0x9c86('0xf')];this[_0x9c86('0x10')]=_0x3794da[_0x9c86('0x11')];this['starttime']=_0x3794da[_0x9c86('0x12')];this['responsetime']=_0x3794da[_0x9c86('0x13')];this[_0x9c86('0x14')]=_0x3794da[_0x9c86('0x14')];this['dropreason']=_0x3794da[_0x9c86('0x15')];this['endtime']=this[_0x9c86('0x14')];this['ringtime']=utils[_0x9c86('0x16')](_0x3794da[_0x9c86('0x13')],_0x3794da[_0x9c86('0x12')]);this[_0x9c86('0x17')]=utils['getSeconds'](this[_0x9c86('0x14')],_0x3794da[_0x9c86('0x13')]);this[_0x9c86('0x18')]=0x0;this[_0x9c86('0x19')]=_0x4543cb[_0x9c86('0x19')];this[_0x9c86('0x1a')]=_0x4543cb[_0x9c86('0x1b')];this[_0x9c86('0x1c')]=_0x4543cb[_0x9c86('0x1c')];this[_0x9c86('0x1d')]=_0x3794da[_0x9c86('0x1d')];this[_0x9c86('0x1e')]=_0x3794da[_0x9c86('0x1e')];this[_0x9c86('0x1f')]=_0x3794da['callbackat'];this[_0x9c86('0x20')]=_0x3794da[_0x9c86('0x20')];this[_0x9c86('0x21')]=_0x3794da[_0x9c86('0x21')];this['ListId']=_0x3794da['ListId'];this[_0x9c86('0x22')]=_0x3794da[_0x9c86('0x22')];this['VoiceQueueId']=_0x3794da[_0x9c86('0x23')];this['CampaignId']=_0x3794da[_0x9c86('0x24')];this[_0x9c86('0x25')]=_0x3794da[_0x9c86('0x25')]||'';this[_0x9c86('0x26')]=_0x3794da[_0x9c86('0x26')]||'';this[_0x9c86('0x27')]=_0x3794da[_0x9c86('0x27')];this['state']=_0x3794da['state'];this[_0x9c86('0x28')]=_0x3794da[_0x9c86('0x28')];}module[_0x9c86('0x29')]=QueueCallerAbandon;
\ No newline at end of file