Built motion from commit 6f14c8ba.|2.6.29
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index 1495a94..27cbea2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf2d0=['starttime','responsetime','droptime','dropreason','ringtime','getSeconds','holdtime','talktime','queue','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','VoiceQueueId','CampaignId','originatecalleridnum','agiafterat','state','statedesc','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','calleridnum','number'];(function(_0x2c93e5,_0x1c20c3){var _0x1f4fea=function(_0x33b7d6){while(--_0x33b7d6){_0x2c93e5['push'](_0x2c93e5['shift']());}};_0x1f4fea(++_0x1c20c3);}(_0xf2d0,0x137));var _0x0f2d=function(_0x211d64,_0x1cbbe3){_0x211d64=_0x211d64-0x0;var _0x56d5cd=_0xf2d0[_0x211d64];return _0x56d5cd;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x118153,_0x28a869){this[_0x0f2d('0x0')]=_0x118153[_0x0f2d('0x0')];this[_0x0f2d('0x1')]=_0x118153[_0x0f2d('0x1')];this[_0x0f2d('0x2')]=_0x118153[_0x0f2d('0x1')]===_0x0f2d('0x3')?'queue':_0x118153[_0x0f2d('0x1')];this[_0x0f2d('0x4')]=_0x118153[_0x0f2d('0x4')];this[_0x0f2d('0x5')]=_0x118153[_0x0f2d('0x5')];this[_0x0f2d('0x6')]=_0x118153[_0x0f2d('0x6')];this[_0x0f2d('0x7')]=_0x118153[_0x0f2d('0x4')]+_0x118153['countcongestionretry']+_0x118153[_0x0f2d('0x6')]+_0x118153[_0x0f2d('0x8')]+_0x118153[_0x0f2d('0x9')]+_0x118153['countabandonedretry']+_0x118153['countmachineretry']+_0x118153['countagentrejectretry'];this[_0x0f2d('0x8')]=_0x118153[_0x0f2d('0x8')];this[_0x0f2d('0x9')]=_0x118153[_0x0f2d('0x9')];this[_0x0f2d('0xa')]=_0x118153[_0x0f2d('0xa')];this[_0x0f2d('0xb')]=_0x118153[_0x0f2d('0xb')];this[_0x0f2d('0xc')]=_0x118153[_0x0f2d('0xc')];this[_0x0f2d('0xd')]=_0x28a869[_0x0f2d('0xd')];this[_0x0f2d('0xe')]=_0x118153['name'];this[_0x0f2d('0xf')]=_0x118153[_0x0f2d('0x10')];this[_0x0f2d('0x11')]=_0x118153[_0x0f2d('0x11')];this['responsetime']=_0x118153[_0x0f2d('0x12')];this[_0x0f2d('0x13')]=_0x118153[_0x0f2d('0x13')];this['dropreason']=_0x118153[_0x0f2d('0x14')];this['endtime']=this[_0x0f2d('0x13')];this[_0x0f2d('0x15')]=utils[_0x0f2d('0x16')](_0x118153[_0x0f2d('0x12')],_0x118153[_0x0f2d('0x11')]);this[_0x0f2d('0x17')]=utils[_0x0f2d('0x16')](this['droptime'],_0x118153[_0x0f2d('0x12')]);this[_0x0f2d('0x18')]=0x0;this[_0x0f2d('0x19')]=_0x28a869['queue'];this[_0x0f2d('0x1a')]=_0x28a869[_0x0f2d('0x1b')];this['reason']=_0x28a869[_0x0f2d('0x1c')];this[_0x0f2d('0x1d')]=_0x118153[_0x0f2d('0x1d')];this[_0x0f2d('0x1e')]=_0x118153[_0x0f2d('0x1e')];this[_0x0f2d('0x1f')]=_0x118153['callbackat'];this['recallme']=_0x118153[_0x0f2d('0x20')];this[_0x0f2d('0x21')]=_0x118153[_0x0f2d('0x21')];this['ListId']=_0x118153[_0x0f2d('0x22')];this['UserId']=_0x118153['UserId'];this[_0x0f2d('0x23')]=_0x118153['VoiceQueueId'];this[_0x0f2d('0x24')]=_0x118153[_0x0f2d('0x24')];this[_0x0f2d('0x25')]=_0x118153['originatecalleridnum']||'';this['originatecalleridname']=_0x118153['originatecalleridname']||'';this[_0x0f2d('0x26')]=_0x118153['agiafterat'];this[_0x0f2d('0x27')]=_0x118153[_0x0f2d('0x27')];this[_0x0f2d('0x28')]=_0x118153['statedesc'];}module['exports']=QueueCallerAbandon;
\ No newline at end of file
+var _0x4ea4=['UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countagentrejectretry','countnosuchnumberretry','countabandonedretry','countmachineretry','calleridname','name','calleridnum','starttime','responsetime','droptime','dropreason','endtime','ringtime','getSeconds','holdtime','talktime','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId'];(function(_0x2b9c4f,_0x429085){var _0x19968c=function(_0x45a33e){while(--_0x45a33e){_0x2b9c4f['push'](_0x2b9c4f['shift']());}};_0x19968c(++_0x429085);}(_0x4ea4,0xb4));var _0x44ea=function(_0x2f07c6,_0x5c6b20){_0x2f07c6=_0x2f07c6-0x0;var _0x29db6b=_0x4ea4[_0x2f07c6];return _0x29db6b;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x1dabb5,_0x411ae7){this[_0x44ea('0x0')]=_0x1dabb5[_0x44ea('0x0')];this[_0x44ea('0x1')]=_0x1dabb5[_0x44ea('0x1')];this[_0x44ea('0x2')]=_0x1dabb5['type']===_0x44ea('0x3')?_0x44ea('0x4'):_0x1dabb5['type'];this[_0x44ea('0x5')]=_0x1dabb5['countbusyretry'];this[_0x44ea('0x6')]=_0x1dabb5[_0x44ea('0x6')];this[_0x44ea('0x7')]=_0x1dabb5[_0x44ea('0x7')];this[_0x44ea('0x8')]=_0x1dabb5['countbusyretry']+_0x1dabb5[_0x44ea('0x6')]+_0x1dabb5[_0x44ea('0x7')]+_0x1dabb5['countnosuchnumberretry']+_0x1dabb5[_0x44ea('0x9')]+_0x1dabb5['countabandonedretry']+_0x1dabb5['countmachineretry']+_0x1dabb5[_0x44ea('0xa')];this[_0x44ea('0xb')]=_0x1dabb5['countnosuchnumberretry'];this[_0x44ea('0x9')]=_0x1dabb5[_0x44ea('0x9')];this[_0x44ea('0xc')]=_0x1dabb5[_0x44ea('0xc')];this[_0x44ea('0xd')]=_0x1dabb5[_0x44ea('0xd')];this[_0x44ea('0xa')]=_0x1dabb5[_0x44ea('0xa')];this['uniqueid']=_0x411ae7['uniqueid'];this[_0x44ea('0xe')]=_0x1dabb5[_0x44ea('0xf')];this[_0x44ea('0x10')]=_0x1dabb5['number'];this[_0x44ea('0x11')]=_0x1dabb5[_0x44ea('0x11')];this[_0x44ea('0x12')]=_0x1dabb5[_0x44ea('0x12')];this[_0x44ea('0x13')]=_0x1dabb5['droptime'];this['dropreason']=_0x1dabb5[_0x44ea('0x14')];this[_0x44ea('0x15')]=this[_0x44ea('0x13')];this[_0x44ea('0x16')]=utils[_0x44ea('0x17')](_0x1dabb5[_0x44ea('0x12')],_0x1dabb5[_0x44ea('0x11')]);this[_0x44ea('0x18')]=utils[_0x44ea('0x17')](this[_0x44ea('0x13')],_0x1dabb5[_0x44ea('0x12')]);this[_0x44ea('0x19')]=0x0;this[_0x44ea('0x4')]=_0x411ae7[_0x44ea('0x4')];this[_0x44ea('0x1a')]=_0x411ae7[_0x44ea('0x1b')];this[_0x44ea('0x1c')]=_0x411ae7[_0x44ea('0x1c')];this[_0x44ea('0x1d')]=_0x1dabb5[_0x44ea('0x1d')];this[_0x44ea('0x1e')]=_0x1dabb5[_0x44ea('0x1e')];this[_0x44ea('0x1f')]=_0x1dabb5[_0x44ea('0x1f')];this[_0x44ea('0x20')]=_0x1dabb5['recallme'];this[_0x44ea('0x21')]=_0x1dabb5[_0x44ea('0x21')];this[_0x44ea('0x22')]=_0x1dabb5[_0x44ea('0x22')];this[_0x44ea('0x23')]=_0x1dabb5['UserId'];this[_0x44ea('0x24')]=_0x1dabb5[_0x44ea('0x24')];this[_0x44ea('0x25')]=_0x1dabb5[_0x44ea('0x25')];this[_0x44ea('0x26')]=_0x1dabb5['originatecalleridnum']||'';this[_0x44ea('0x27')]=_0x1dabb5[_0x44ea('0x27')]||'';this[_0x44ea('0x28')]=_0x1dabb5['agiafterat'];this[_0x44ea('0x29')]=_0x1dabb5[_0x44ea('0x29')];this[_0x44ea('0x2a')]=_0x1dabb5[_0x44ea('0x2a')];}module['exports']=QueueCallerAbandon;
\ No newline at end of file