Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index 46e5e44..eaef157 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfd28=['queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','number','starttime','responsetime','droptime','dropreason','ringtime','getSeconds','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','scheduledat','type','campaigntype','outbound'];(function(_0x9adcd6,_0x36278b){var _0xdf8ff2=function(_0x4f7087){while(--_0x4f7087){_0x9adcd6['push'](_0x9adcd6['shift']());}};_0xdf8ff2(++_0x36278b);}(_0xfd28,0x164));var _0x8fd2=function(_0x2272b5,_0x362458){_0x2272b5=_0x2272b5-0x0;var _0x110156=_0xfd28[_0x2272b5];return _0x110156;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x59bc53,_0x22a581){this['scheduledat']=_0x59bc53[_0x8fd2('0x0')];this[_0x8fd2('0x1')]=_0x59bc53['type'];this[_0x8fd2('0x2')]=_0x59bc53['type']===_0x8fd2('0x3')?_0x8fd2('0x4'):_0x59bc53[_0x8fd2('0x1')];this[_0x8fd2('0x5')]=_0x59bc53[_0x8fd2('0x5')];this[_0x8fd2('0x6')]=_0x59bc53[_0x8fd2('0x6')];this[_0x8fd2('0x7')]=_0x59bc53['countnoanswerretry'];this['countglobal']=_0x59bc53[_0x8fd2('0x5')]+_0x59bc53[_0x8fd2('0x6')]+_0x59bc53[_0x8fd2('0x7')]+_0x59bc53[_0x8fd2('0x8')]+_0x59bc53[_0x8fd2('0x9')]+_0x59bc53[_0x8fd2('0xa')]+_0x59bc53[_0x8fd2('0xb')]+_0x59bc53[_0x8fd2('0xc')];this[_0x8fd2('0x8')]=_0x59bc53[_0x8fd2('0x8')];this['countdropretry']=_0x59bc53[_0x8fd2('0x9')];this['countabandonedretry']=_0x59bc53[_0x8fd2('0xa')];this[_0x8fd2('0xb')]=_0x59bc53[_0x8fd2('0xb')];this[_0x8fd2('0xc')]=_0x59bc53['countagentrejectretry'];this['uniqueid']=_0x22a581[_0x8fd2('0xd')];this[_0x8fd2('0xe')]=_0x59bc53[_0x8fd2('0xf')];this['calleridnum']=_0x59bc53[_0x8fd2('0x10')];this[_0x8fd2('0x11')]=_0x59bc53[_0x8fd2('0x11')];this[_0x8fd2('0x12')]=_0x59bc53[_0x8fd2('0x12')];this[_0x8fd2('0x13')]=_0x59bc53['droptime'];this[_0x8fd2('0x14')]=_0x59bc53[_0x8fd2('0x14')];this['endtime']=this[_0x8fd2('0x13')];this[_0x8fd2('0x15')]=utils[_0x8fd2('0x16')](_0x59bc53[_0x8fd2('0x12')],_0x59bc53[_0x8fd2('0x11')]);this['holdtime']=utils['getSeconds'](this[_0x8fd2('0x13')],_0x59bc53[_0x8fd2('0x12')]);this['talktime']=0x0;this['queue']=_0x22a581[_0x8fd2('0x4')];this[_0x8fd2('0x17')]=_0x22a581[_0x8fd2('0x18')];this[_0x8fd2('0x19')]=_0x22a581[_0x8fd2('0x19')];this[_0x8fd2('0x1a')]=_0x59bc53[_0x8fd2('0x1a')];this[_0x8fd2('0x1b')]=_0x59bc53['callbackuniqueid'];this[_0x8fd2('0x1c')]=_0x59bc53[_0x8fd2('0x1c')];this[_0x8fd2('0x1d')]=_0x59bc53[_0x8fd2('0x1d')];this[_0x8fd2('0x1e')]=_0x59bc53[_0x8fd2('0x1e')];this[_0x8fd2('0x1f')]=_0x59bc53[_0x8fd2('0x1f')];this[_0x8fd2('0x20')]=_0x59bc53[_0x8fd2('0x20')];this[_0x8fd2('0x21')]=_0x59bc53[_0x8fd2('0x21')];this['CampaignId']=_0x59bc53['CampaignId'];this[_0x8fd2('0x22')]=_0x59bc53['originatecalleridnum']||'';this[_0x8fd2('0x23')]=_0x59bc53[_0x8fd2('0x23')]||'';this[_0x8fd2('0x24')]=_0x59bc53[_0x8fd2('0x24')];this[_0x8fd2('0x25')]=_0x59bc53[_0x8fd2('0x25')];this[_0x8fd2('0x26')]=_0x59bc53[_0x8fd2('0x26')];}module[_0x8fd2('0x27')]=QueueCallerAbandon;
\ No newline at end of file
+var _0x3ba7=['originatecalleridname','agiafterat','state','statedesc','../utils','scheduledat','type','campaigntype','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countmachineretry','countagentrejectretry','countabandonedretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','droptime','dropreason','ringtime','getSeconds','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ListId','UserId','VoiceQueueId','CampaignId'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x3ba7,0x16c));var _0x73ba=function(_0x293ac8,_0x50fd52){_0x293ac8=_0x293ac8-0x0;var _0x50aad6=_0x3ba7[_0x293ac8];return _0x50aad6;};'use strict';var utils=require(_0x73ba('0x0'));function QueueCallerAbandon(_0x30dbac,_0x5a8cd1){this[_0x73ba('0x1')]=_0x30dbac[_0x73ba('0x1')];this[_0x73ba('0x2')]=_0x30dbac[_0x73ba('0x2')];this[_0x73ba('0x3')]=_0x30dbac[_0x73ba('0x2')]==='outbound'?_0x73ba('0x4'):_0x30dbac[_0x73ba('0x2')];this[_0x73ba('0x5')]=_0x30dbac[_0x73ba('0x5')];this[_0x73ba('0x6')]=_0x30dbac[_0x73ba('0x6')];this[_0x73ba('0x7')]=_0x30dbac['countnoanswerretry'];this[_0x73ba('0x8')]=_0x30dbac[_0x73ba('0x5')]+_0x30dbac[_0x73ba('0x6')]+_0x30dbac[_0x73ba('0x7')]+_0x30dbac[_0x73ba('0x9')]+_0x30dbac[_0x73ba('0xa')]+_0x30dbac['countabandonedretry']+_0x30dbac[_0x73ba('0xb')]+_0x30dbac[_0x73ba('0xc')];this[_0x73ba('0x9')]=_0x30dbac[_0x73ba('0x9')];this[_0x73ba('0xa')]=_0x30dbac[_0x73ba('0xa')];this[_0x73ba('0xd')]=_0x30dbac[_0x73ba('0xd')];this['countmachineretry']=_0x30dbac['countmachineretry'];this[_0x73ba('0xc')]=_0x30dbac['countagentrejectretry'];this[_0x73ba('0xe')]=_0x5a8cd1[_0x73ba('0xe')];this[_0x73ba('0xf')]=_0x30dbac[_0x73ba('0x10')];this[_0x73ba('0x11')]=_0x30dbac[_0x73ba('0x12')];this[_0x73ba('0x13')]=_0x30dbac[_0x73ba('0x13')];this[_0x73ba('0x14')]=_0x30dbac['responsetime'];this[_0x73ba('0x15')]=_0x30dbac[_0x73ba('0x15')];this[_0x73ba('0x16')]=_0x30dbac[_0x73ba('0x16')];this['endtime']=this[_0x73ba('0x15')];this[_0x73ba('0x17')]=utils[_0x73ba('0x18')](_0x30dbac[_0x73ba('0x14')],_0x30dbac[_0x73ba('0x13')]);this['holdtime']=utils[_0x73ba('0x18')](this[_0x73ba('0x15')],_0x30dbac[_0x73ba('0x14')]);this['talktime']=0x0;this['queue']=_0x5a8cd1['queue'];this[_0x73ba('0x19')]=_0x5a8cd1[_0x73ba('0x1a')];this[_0x73ba('0x1b')]=_0x5a8cd1['reason'];this[_0x73ba('0x1c')]=_0x30dbac[_0x73ba('0x1c')];this[_0x73ba('0x1d')]=_0x30dbac[_0x73ba('0x1d')];this[_0x73ba('0x1e')]=_0x30dbac[_0x73ba('0x1e')];this[_0x73ba('0x1f')]=_0x30dbac['recallme'];this['ContactId']=_0x30dbac['ContactId'];this['ListId']=_0x30dbac[_0x73ba('0x20')];this[_0x73ba('0x21')]=_0x30dbac[_0x73ba('0x21')];this[_0x73ba('0x22')]=_0x30dbac[_0x73ba('0x22')];this[_0x73ba('0x23')]=_0x30dbac[_0x73ba('0x23')];this['originatecalleridnum']=_0x30dbac['originatecalleridnum']||'';this[_0x73ba('0x24')]=_0x30dbac[_0x73ba('0x24')]||'';this[_0x73ba('0x25')]=_0x30dbac['agiafterat'];this[_0x73ba('0x26')]=_0x30dbac[_0x73ba('0x26')];this[_0x73ba('0x27')]=_0x30dbac[_0x73ba('0x27')];}module['exports']=QueueCallerAbandon;
\ No newline at end of file