1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x4343=['state','statedesc','exports','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','starttime','dropreason','endtime','droptime','ringtime','getSeconds','responsetime','holdtime','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat'];(function(_0x4953da,_0x5adaca){var _0x2d3780=function(_0x458f36){while(--_0x458f36){_0x4953da['push'](_0x4953da['shift']());}};_0x2d3780(++_0x5adaca);}(_0x4343,0x15b));var _0x3434=function(_0x4f0260,_0x119185){_0x4f0260=_0x4f0260-0x0;var _0xc9d6f0=_0x4343[_0x4f0260];return _0xc9d6f0;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x1738fc,_0x523794){this[_0x3434('0x0')]=_0x1738fc['scheduledat'];this[_0x3434('0x1')]=_0x1738fc['type'];this['campaigntype']=_0x1738fc[_0x3434('0x1')]===_0x3434('0x2')?_0x3434('0x3'):_0x1738fc[_0x3434('0x1')];this[_0x3434('0x4')]=_0x1738fc[_0x3434('0x4')];this[_0x3434('0x5')]=_0x1738fc[_0x3434('0x5')];this[_0x3434('0x6')]=_0x1738fc['countnoanswerretry'];this[_0x3434('0x7')]=_0x1738fc['countbusyretry']+_0x1738fc[_0x3434('0x5')]+_0x1738fc[_0x3434('0x6')]+_0x1738fc[_0x3434('0x8')]+_0x1738fc[_0x3434('0x9')]+_0x1738fc[_0x3434('0xa')]+_0x1738fc[_0x3434('0xb')]+_0x1738fc[_0x3434('0xc')];this[_0x3434('0x8')]=_0x1738fc['countnosuchnumberretry'];this[_0x3434('0x9')]=_0x1738fc[_0x3434('0x9')];this[_0x3434('0xa')]=_0x1738fc[_0x3434('0xa')];this[_0x3434('0xb')]=_0x1738fc['countmachineretry'];this[_0x3434('0xc')]=_0x1738fc[_0x3434('0xc')];this['uniqueid']=_0x523794[_0x3434('0xd')];this[_0x3434('0xe')]=_0x1738fc[_0x3434('0xf')];this[_0x3434('0x10')]=_0x1738fc['number'];this[_0x3434('0x11')]=_0x1738fc[_0x3434('0x11')];this['responsetime']=_0x1738fc['responsetime'];this['droptime']=_0x1738fc['droptime'];this[_0x3434('0x12')]=_0x1738fc[_0x3434('0x12')];this[_0x3434('0x13')]=this[_0x3434('0x14')];this[_0x3434('0x15')]=utils[_0x3434('0x16')](_0x1738fc[_0x3434('0x17')],_0x1738fc[_0x3434('0x11')]);this[_0x3434('0x18')]=utils[_0x3434('0x16')](this[_0x3434('0x14')],_0x1738fc[_0x3434('0x17')]);this['talktime']=0x0;this[_0x3434('0x3')]=_0x523794['queue'];this[_0x3434('0x19')]=_0x523794[_0x3434('0x1a')];this[_0x3434('0x1b')]=_0x523794['reason'];this[_0x3434('0x1c')]=_0x1738fc[_0x3434('0x1c')];this[_0x3434('0x1d')]=_0x1738fc[_0x3434('0x1d')];this[_0x3434('0x1e')]=_0x1738fc[_0x3434('0x1e')];this[_0x3434('0x1f')]=_0x1738fc['recallme'];this[_0x3434('0x20')]=_0x1738fc[_0x3434('0x20')];this[_0x3434('0x21')]=_0x1738fc[_0x3434('0x21')];this[_0x3434('0x22')]=_0x1738fc[_0x3434('0x22')];this[_0x3434('0x23')]=_0x1738fc[_0x3434('0x23')];this[_0x3434('0x24')]=_0x1738fc[_0x3434('0x24')];this[_0x3434('0x25')]=_0x1738fc[_0x3434('0x25')]||'';this['originatecalleridname']=_0x1738fc[_0x3434('0x26')]||'';this[_0x3434('0x27')]=_0x1738fc[_0x3434('0x27')];this['state']=_0x1738fc[_0x3434('0x28')];this[_0x3434('0x29')]=_0x1738fc[_0x3434('0x29')];}module[_0x3434('0x2a')]=QueueCallerAbandon;