Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index 154d26a..c17a29b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf429=['CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','scheduledat','type','campaigntype','outbound','countbusyretry','countnoanswerretry','countglobal','countcongestionretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','name','number','starttime','responsetime','droptime','dropreason','getSeconds','holdtime','queue','membername','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId'];(function(_0x5d6456,_0x58ecc7){var _0x4d66c1=function(_0x4335e3){while(--_0x4335e3){_0x5d6456['push'](_0x5d6456['shift']());}};_0x4d66c1(++_0x58ecc7);}(_0xf429,0x1bf));var _0x9f42=function(_0x303064,_0x12f0c2){_0x303064=_0x303064-0x0;var _0x5a1d3d=_0xf429[_0x303064];return _0x5a1d3d;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x19ab7e,_0x54d352){this['scheduledat']=_0x19ab7e[_0x9f42('0x0')];this['type']=_0x19ab7e[_0x9f42('0x1')];this[_0x9f42('0x2')]=_0x19ab7e[_0x9f42('0x1')]===_0x9f42('0x3')?'queue':_0x19ab7e['type'];this['countbusyretry']=_0x19ab7e[_0x9f42('0x4')];this['countcongestionretry']=_0x19ab7e['countcongestionretry'];this[_0x9f42('0x5')]=_0x19ab7e[_0x9f42('0x5')];this[_0x9f42('0x6')]=_0x19ab7e['countbusyretry']+_0x19ab7e[_0x9f42('0x7')]+_0x19ab7e[_0x9f42('0x5')]+_0x19ab7e[_0x9f42('0x8')]+_0x19ab7e[_0x9f42('0x9')]+_0x19ab7e[_0x9f42('0xa')]+_0x19ab7e[_0x9f42('0xb')]+_0x19ab7e[_0x9f42('0xc')];this[_0x9f42('0x8')]=_0x19ab7e[_0x9f42('0x8')];this[_0x9f42('0x9')]=_0x19ab7e[_0x9f42('0x9')];this['countabandonedretry']=_0x19ab7e[_0x9f42('0xa')];this[_0x9f42('0xb')]=_0x19ab7e['countmachineretry'];this[_0x9f42('0xc')]=_0x19ab7e['countagentrejectretry'];this[_0x9f42('0xd')]=_0x54d352[_0x9f42('0xd')];this['calleridname']=_0x19ab7e[_0x9f42('0xe')];this['calleridnum']=_0x19ab7e[_0x9f42('0xf')];this[_0x9f42('0x10')]=_0x19ab7e[_0x9f42('0x10')];this['responsetime']=_0x19ab7e[_0x9f42('0x11')];this[_0x9f42('0x12')]=_0x19ab7e['droptime'];this[_0x9f42('0x13')]=_0x19ab7e[_0x9f42('0x13')];this['endtime']=this[_0x9f42('0x12')];this['ringtime']=utils[_0x9f42('0x14')](_0x19ab7e[_0x9f42('0x11')],_0x19ab7e[_0x9f42('0x10')]);this[_0x9f42('0x15')]=utils['getSeconds'](this['droptime'],_0x19ab7e['responsetime']);this['talktime']=0x0;this['queue']=_0x54d352[_0x9f42('0x16')];this[_0x9f42('0x17')]=_0x54d352['connectedlinename'];this['reason']=_0x54d352[_0x9f42('0x18')];this[_0x9f42('0x19')]=_0x19ab7e[_0x9f42('0x19')];this[_0x9f42('0x1a')]=_0x19ab7e[_0x9f42('0x1a')];this[_0x9f42('0x1b')]=_0x19ab7e['callbackat'];this[_0x9f42('0x1c')]=_0x19ab7e[_0x9f42('0x1c')];this['ContactId']=_0x19ab7e[_0x9f42('0x1d')];this['ListId']=_0x19ab7e[_0x9f42('0x1e')];this['UserId']=_0x19ab7e[_0x9f42('0x1f')];this['VoiceQueueId']=_0x19ab7e[_0x9f42('0x20')];this[_0x9f42('0x21')]=_0x19ab7e[_0x9f42('0x21')];this[_0x9f42('0x22')]=_0x19ab7e[_0x9f42('0x22')]||'';this[_0x9f42('0x23')]=_0x19ab7e['originatecalleridname']||'';this[_0x9f42('0x24')]=_0x19ab7e[_0x9f42('0x24')];this['state']=_0x19ab7e[_0x9f42('0x25')];this[_0x9f42('0x26')]=_0x19ab7e[_0x9f42('0x26')];}module[_0x9f42('0x27')]=QueueCallerAbandon;
\ No newline at end of file
+var _0xd9a7=['countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','starttime','responsetime','droptime','dropreason','endtime','ringtime','getSeconds','queue','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','scheduledat','type','outbound','countbusyretry'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0xd9a7,0x74));var _0x7d9a=function(_0x34afee,_0x2bb703){_0x34afee=_0x34afee-0x0;var _0x3c6041=_0xd9a7[_0x34afee];return _0x3c6041;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x53b2b8,_0x45cdf5){this[_0x7d9a('0x0')]=_0x53b2b8[_0x7d9a('0x0')];this[_0x7d9a('0x1')]=_0x53b2b8[_0x7d9a('0x1')];this['campaigntype']=_0x53b2b8[_0x7d9a('0x1')]===_0x7d9a('0x2')?'queue':_0x53b2b8[_0x7d9a('0x1')];this['countbusyretry']=_0x53b2b8[_0x7d9a('0x3')];this['countcongestionretry']=_0x53b2b8[_0x7d9a('0x4')];this[_0x7d9a('0x5')]=_0x53b2b8[_0x7d9a('0x5')];this[_0x7d9a('0x6')]=_0x53b2b8[_0x7d9a('0x3')]+_0x53b2b8[_0x7d9a('0x4')]+_0x53b2b8[_0x7d9a('0x5')]+_0x53b2b8[_0x7d9a('0x7')]+_0x53b2b8[_0x7d9a('0x8')]+_0x53b2b8[_0x7d9a('0x9')]+_0x53b2b8[_0x7d9a('0xa')]+_0x53b2b8[_0x7d9a('0xb')];this[_0x7d9a('0x7')]=_0x53b2b8[_0x7d9a('0x7')];this['countdropretry']=_0x53b2b8[_0x7d9a('0x8')];this['countabandonedretry']=_0x53b2b8[_0x7d9a('0x9')];this[_0x7d9a('0xa')]=_0x53b2b8[_0x7d9a('0xa')];this[_0x7d9a('0xb')]=_0x53b2b8[_0x7d9a('0xb')];this[_0x7d9a('0xc')]=_0x45cdf5[_0x7d9a('0xc')];this[_0x7d9a('0xd')]=_0x53b2b8[_0x7d9a('0xe')];this[_0x7d9a('0xf')]=_0x53b2b8['number'];this[_0x7d9a('0x10')]=_0x53b2b8[_0x7d9a('0x10')];this[_0x7d9a('0x11')]=_0x53b2b8[_0x7d9a('0x11')];this[_0x7d9a('0x12')]=_0x53b2b8[_0x7d9a('0x12')];this['dropreason']=_0x53b2b8[_0x7d9a('0x13')];this[_0x7d9a('0x14')]=this[_0x7d9a('0x12')];this[_0x7d9a('0x15')]=utils[_0x7d9a('0x16')](_0x53b2b8[_0x7d9a('0x11')],_0x53b2b8[_0x7d9a('0x10')]);this['holdtime']=utils[_0x7d9a('0x16')](this[_0x7d9a('0x12')],_0x53b2b8[_0x7d9a('0x11')]);this['talktime']=0x0;this[_0x7d9a('0x17')]=_0x45cdf5['queue'];this[_0x7d9a('0x18')]=_0x45cdf5[_0x7d9a('0x19')];this['reason']=_0x45cdf5[_0x7d9a('0x1a')];this[_0x7d9a('0x1b')]=_0x53b2b8['callback'];this[_0x7d9a('0x1c')]=_0x53b2b8[_0x7d9a('0x1c')];this[_0x7d9a('0x1d')]=_0x53b2b8[_0x7d9a('0x1d')];this[_0x7d9a('0x1e')]=_0x53b2b8[_0x7d9a('0x1e')];this['ContactId']=_0x53b2b8['ContactId'];this[_0x7d9a('0x1f')]=_0x53b2b8[_0x7d9a('0x1f')];this[_0x7d9a('0x20')]=_0x53b2b8['UserId'];this[_0x7d9a('0x21')]=_0x53b2b8[_0x7d9a('0x21')];this[_0x7d9a('0x22')]=_0x53b2b8[_0x7d9a('0x22')];this[_0x7d9a('0x23')]=_0x53b2b8[_0x7d9a('0x23')]||'';this[_0x7d9a('0x24')]=_0x53b2b8['originatecalleridname']||'';this[_0x7d9a('0x25')]=_0x53b2b8[_0x7d9a('0x25')];this[_0x7d9a('0x26')]=_0x53b2b8[_0x7d9a('0x26')];this[_0x7d9a('0x27')]=_0x53b2b8[_0x7d9a('0x27')];}module['exports']=QueueCallerAbandon;
\ No newline at end of file