Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index c307acc..7265efc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x487b=['originatecalleridnum','agiafterat','state','statedesc','exports','scheduledat','type','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countagentrejectretry','countabandonedretry','countmachineretry','uniqueid','calleridnum','number','responsetime','droptime','dropreason','ringtime','getSeconds','starttime','holdtime','talktime','membername','connectedlinename','reason','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId'];(function(_0x20796b,_0x5c6ae1){var _0xd161e2=function(_0xf4c5ad){while(--_0xf4c5ad){_0x20796b['push'](_0x20796b['shift']());}};_0xd161e2(++_0x5c6ae1);}(_0x487b,0x1b2));var _0xb487=function(_0x53e905,_0x584360){_0x53e905=_0x53e905-0x0;var _0x115231=_0x487b[_0x53e905];return _0x115231;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x16b8c3,_0x3dd754){this['scheduledat']=_0x16b8c3[_0xb487('0x0')];this[_0xb487('0x1')]=_0x16b8c3[_0xb487('0x1')];this['campaigntype']=_0x16b8c3[_0xb487('0x1')]==='outbound'?_0xb487('0x2'):_0x16b8c3[_0xb487('0x1')];this[_0xb487('0x3')]=_0x16b8c3['countbusyretry'];this[_0xb487('0x4')]=_0x16b8c3[_0xb487('0x4')];this[_0xb487('0x5')]=_0x16b8c3[_0xb487('0x5')];this[_0xb487('0x6')]=_0x16b8c3[_0xb487('0x3')]+_0x16b8c3[_0xb487('0x4')]+_0x16b8c3['countnoanswerretry']+_0x16b8c3[_0xb487('0x7')]+_0x16b8c3[_0xb487('0x8')]+_0x16b8c3['countabandonedretry']+_0x16b8c3['countmachineretry']+_0x16b8c3[_0xb487('0x9')];this[_0xb487('0x7')]=_0x16b8c3[_0xb487('0x7')];this[_0xb487('0x8')]=_0x16b8c3['countdropretry'];this['countabandonedretry']=_0x16b8c3[_0xb487('0xa')];this[_0xb487('0xb')]=_0x16b8c3[_0xb487('0xb')];this[_0xb487('0x9')]=_0x16b8c3['countagentrejectretry'];this[_0xb487('0xc')]=_0x3dd754['uniqueid'];this['calleridname']=_0x16b8c3['name'];this[_0xb487('0xd')]=_0x16b8c3[_0xb487('0xe')];this['starttime']=_0x16b8c3['starttime'];this[_0xb487('0xf')]=_0x16b8c3[_0xb487('0xf')];this[_0xb487('0x10')]=_0x16b8c3[_0xb487('0x10')];this[_0xb487('0x11')]=_0x16b8c3[_0xb487('0x11')];this['endtime']=this[_0xb487('0x10')];this[_0xb487('0x12')]=utils[_0xb487('0x13')](_0x16b8c3[_0xb487('0xf')],_0x16b8c3[_0xb487('0x14')]);this[_0xb487('0x15')]=utils[_0xb487('0x13')](this['droptime'],_0x16b8c3[_0xb487('0xf')]);this[_0xb487('0x16')]=0x0;this[_0xb487('0x2')]=_0x3dd754['queue'];this[_0xb487('0x17')]=_0x3dd754[_0xb487('0x18')];this[_0xb487('0x19')]=_0x3dd754[_0xb487('0x19')];this['callback']=_0x16b8c3['callback'];this[_0xb487('0x1a')]=_0x16b8c3[_0xb487('0x1a')];this[_0xb487('0x1b')]=_0x16b8c3[_0xb487('0x1b')];this[_0xb487('0x1c')]=_0x16b8c3[_0xb487('0x1c')];this[_0xb487('0x1d')]=_0x16b8c3[_0xb487('0x1d')];this[_0xb487('0x1e')]=_0x16b8c3['ListId'];this['UserId']=_0x16b8c3[_0xb487('0x1f')];this[_0xb487('0x20')]=_0x16b8c3[_0xb487('0x20')];this[_0xb487('0x21')]=_0x16b8c3[_0xb487('0x21')];this[_0xb487('0x22')]=_0x16b8c3[_0xb487('0x22')]||'';this['originatecalleridname']=_0x16b8c3['originatecalleridname']||'';this[_0xb487('0x23')]=_0x16b8c3[_0xb487('0x23')];this[_0xb487('0x24')]=_0x16b8c3[_0xb487('0x24')];this[_0xb487('0x25')]=_0x16b8c3[_0xb487('0x25')];}module[_0xb487('0x26')]=QueueCallerAbandon;
\ No newline at end of file
+var _0x982b=['callbackuniqueid','recallme','ContactId','ListId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','../utils','scheduledat','type','campaigntype','outbound','queue','countcongestionretry','countnoanswerretry','countglobal','countbusyretry','countabandonedretry','countagentrejectretry','countnosuchnumberretry','countdropretry','countmachineretry','uniqueid','calleridname','calleridnum','number','starttime','droptime','dropreason','endtime','getSeconds','holdtime','responsetime','talktime','reason','callback'];(function(_0x92c01,_0x59dfca){var _0x2a35d7=function(_0x4ef91b){while(--_0x4ef91b){_0x92c01['push'](_0x92c01['shift']());}};_0x2a35d7(++_0x59dfca);}(_0x982b,0x1a6));var _0xb982=function(_0x3add96,_0x1e76f8){_0x3add96=_0x3add96-0x0;var _0x2f43fb=_0x982b[_0x3add96];return _0x2f43fb;};'use strict';var utils=require(_0xb982('0x0'));function QueueCallerAbandon(_0x40201a,_0x23e161){this[_0xb982('0x1')]=_0x40201a[_0xb982('0x1')];this['type']=_0x40201a[_0xb982('0x2')];this[_0xb982('0x3')]=_0x40201a[_0xb982('0x2')]===_0xb982('0x4')?_0xb982('0x5'):_0x40201a[_0xb982('0x2')];this['countbusyretry']=_0x40201a['countbusyretry'];this['countcongestionretry']=_0x40201a[_0xb982('0x6')];this[_0xb982('0x7')]=_0x40201a[_0xb982('0x7')];this[_0xb982('0x8')]=_0x40201a[_0xb982('0x9')]+_0x40201a['countcongestionretry']+_0x40201a[_0xb982('0x7')]+_0x40201a['countnosuchnumberretry']+_0x40201a['countdropretry']+_0x40201a[_0xb982('0xa')]+_0x40201a['countmachineretry']+_0x40201a[_0xb982('0xb')];this[_0xb982('0xc')]=_0x40201a[_0xb982('0xc')];this[_0xb982('0xd')]=_0x40201a[_0xb982('0xd')];this['countabandonedretry']=_0x40201a['countabandonedretry'];this[_0xb982('0xe')]=_0x40201a[_0xb982('0xe')];this[_0xb982('0xb')]=_0x40201a[_0xb982('0xb')];this[_0xb982('0xf')]=_0x23e161[_0xb982('0xf')];this[_0xb982('0x10')]=_0x40201a['name'];this[_0xb982('0x11')]=_0x40201a[_0xb982('0x12')];this[_0xb982('0x13')]=_0x40201a[_0xb982('0x13')];this['responsetime']=_0x40201a['responsetime'];this[_0xb982('0x14')]=_0x40201a['droptime'];this[_0xb982('0x15')]=_0x40201a[_0xb982('0x15')];this[_0xb982('0x16')]=this[_0xb982('0x14')];this['ringtime']=utils[_0xb982('0x17')](_0x40201a['responsetime'],_0x40201a[_0xb982('0x13')]);this[_0xb982('0x18')]=utils[_0xb982('0x17')](this['droptime'],_0x40201a[_0xb982('0x19')]);this[_0xb982('0x1a')]=0x0;this[_0xb982('0x5')]=_0x23e161['queue'];this['membername']=_0x23e161['connectedlinename'];this[_0xb982('0x1b')]=_0x23e161[_0xb982('0x1b')];this['callback']=_0x40201a[_0xb982('0x1c')];this['callbackuniqueid']=_0x40201a[_0xb982('0x1d')];this['callbackat']=_0x40201a['callbackat'];this['recallme']=_0x40201a[_0xb982('0x1e')];this[_0xb982('0x1f')]=_0x40201a[_0xb982('0x1f')];this[_0xb982('0x20')]=_0x40201a[_0xb982('0x20')];this['UserId']=_0x40201a['UserId'];this[_0xb982('0x21')]=_0x40201a[_0xb982('0x21')];this[_0xb982('0x22')]=_0x40201a[_0xb982('0x22')];this[_0xb982('0x23')]=_0x40201a[_0xb982('0x23')]||'';this[_0xb982('0x24')]=_0x40201a['originatecalleridname']||'';this[_0xb982('0x25')]=_0x40201a[_0xb982('0x25')];this[_0xb982('0x26')]=_0x40201a[_0xb982('0x26')];this['statedesc']=_0x40201a[_0xb982('0x27')];}module[_0xb982('0x28')]=QueueCallerAbandon;
\ No newline at end of file