Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index 24830ef..03d3164 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9cdb=['talktime','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','../utils','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','calleridname','name','calleridnum','number','starttime','responsetime','droptime','endtime','ringtime','getSeconds'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0x9cdb,0x94));var _0xb9cd=function(_0x2f57b2,_0xa8e91a){_0x2f57b2=_0x2f57b2-0x0;var _0x5ace77=_0x9cdb[_0x2f57b2];return _0x5ace77;};'use strict';var utils=require(_0xb9cd('0x0'));function QueueCallerAbandon(_0x32830b,_0x21d456){this[_0xb9cd('0x1')]=_0x32830b[_0xb9cd('0x1')];this[_0xb9cd('0x2')]=_0x32830b[_0xb9cd('0x2')];this['campaigntype']=_0x32830b[_0xb9cd('0x2')]===_0xb9cd('0x3')?_0xb9cd('0x4'):_0x32830b[_0xb9cd('0x2')];this[_0xb9cd('0x5')]=_0x32830b[_0xb9cd('0x5')];this[_0xb9cd('0x6')]=_0x32830b[_0xb9cd('0x6')];this[_0xb9cd('0x7')]=_0x32830b[_0xb9cd('0x7')];this[_0xb9cd('0x8')]=_0x32830b[_0xb9cd('0x5')]+_0x32830b[_0xb9cd('0x6')]+_0x32830b[_0xb9cd('0x7')]+_0x32830b[_0xb9cd('0x9')]+_0x32830b[_0xb9cd('0xa')]+_0x32830b[_0xb9cd('0xb')]+_0x32830b['countmachineretry']+_0x32830b[_0xb9cd('0xc')];this[_0xb9cd('0x9')]=_0x32830b[_0xb9cd('0x9')];this[_0xb9cd('0xa')]=_0x32830b[_0xb9cd('0xa')];this[_0xb9cd('0xb')]=_0x32830b[_0xb9cd('0xb')];this[_0xb9cd('0xd')]=_0x32830b[_0xb9cd('0xd')];this[_0xb9cd('0xc')]=_0x32830b[_0xb9cd('0xc')];this['uniqueid']=_0x21d456['uniqueid'];this[_0xb9cd('0xe')]=_0x32830b[_0xb9cd('0xf')];this[_0xb9cd('0x10')]=_0x32830b[_0xb9cd('0x11')];this[_0xb9cd('0x12')]=_0x32830b[_0xb9cd('0x12')];this[_0xb9cd('0x13')]=_0x32830b[_0xb9cd('0x13')];this[_0xb9cd('0x14')]=_0x32830b[_0xb9cd('0x14')];this['dropreason']=_0x32830b['dropreason'];this[_0xb9cd('0x15')]=this[_0xb9cd('0x14')];this[_0xb9cd('0x16')]=utils[_0xb9cd('0x17')](_0x32830b[_0xb9cd('0x13')],_0x32830b[_0xb9cd('0x12')]);this['holdtime']=utils[_0xb9cd('0x17')](this[_0xb9cd('0x14')],_0x32830b[_0xb9cd('0x13')]);this[_0xb9cd('0x18')]=0x0;this[_0xb9cd('0x4')]=_0x21d456[_0xb9cd('0x4')];this[_0xb9cd('0x19')]=_0x21d456[_0xb9cd('0x1a')];this['reason']=_0x21d456[_0xb9cd('0x1b')];this['callback']=_0x32830b[_0xb9cd('0x1c')];this['callbackuniqueid']=_0x32830b[_0xb9cd('0x1d')];this['callbackat']=_0x32830b[_0xb9cd('0x1e')];this[_0xb9cd('0x1f')]=_0x32830b[_0xb9cd('0x1f')];this[_0xb9cd('0x20')]=_0x32830b[_0xb9cd('0x20')];this['ListId']=_0x32830b[_0xb9cd('0x21')];this[_0xb9cd('0x22')]=_0x32830b[_0xb9cd('0x22')];this[_0xb9cd('0x23')]=_0x32830b[_0xb9cd('0x23')];this[_0xb9cd('0x24')]=_0x32830b[_0xb9cd('0x24')];this[_0xb9cd('0x25')]=_0x32830b['originatecalleridnum']||'';this[_0xb9cd('0x26')]=_0x32830b[_0xb9cd('0x26')]||'';this['agiafterat']=_0x32830b[_0xb9cd('0x27')];this[_0xb9cd('0x28')]=_0x32830b[_0xb9cd('0x28')];this[_0xb9cd('0x29')]=_0x32830b['statedesc'];}module[_0xb9cd('0x2a')]=QueueCallerAbandon;
\ No newline at end of file
+var _0x770c=['statedesc','exports','../utils','scheduledat','type','campaigntype','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countagentrejectretry','countabandonedretry','countmachineretry','uniqueid','calleridname','calleridnum','number','starttime','droptime','dropreason','ringtime','responsetime','talktime','membername','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state'];(function(_0x3af5b0,_0x283199){var _0x5681db=function(_0x5c366a){while(--_0x5c366a){_0x3af5b0['push'](_0x3af5b0['shift']());}};_0x5681db(++_0x283199);}(_0x770c,0xf8));var _0xc770=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x770c[_0x19e35c];return _0x3e1fe8;};'use strict';var utils=require(_0xc770('0x0'));function QueueCallerAbandon(_0x323119,_0x4b2367){this['scheduledat']=_0x323119[_0xc770('0x1')];this[_0xc770('0x2')]=_0x323119['type'];this[_0xc770('0x3')]=_0x323119[_0xc770('0x2')]==='outbound'?_0xc770('0x4'):_0x323119['type'];this[_0xc770('0x5')]=_0x323119['countbusyretry'];this[_0xc770('0x6')]=_0x323119['countcongestionretry'];this['countnoanswerretry']=_0x323119[_0xc770('0x7')];this[_0xc770('0x8')]=_0x323119['countbusyretry']+_0x323119['countcongestionretry']+_0x323119[_0xc770('0x7')]+_0x323119[_0xc770('0x9')]+_0x323119[_0xc770('0xa')]+_0x323119['countabandonedretry']+_0x323119['countmachineretry']+_0x323119[_0xc770('0xb')];this['countnosuchnumberretry']=_0x323119[_0xc770('0x9')];this['countdropretry']=_0x323119['countdropretry'];this[_0xc770('0xc')]=_0x323119[_0xc770('0xc')];this[_0xc770('0xd')]=_0x323119[_0xc770('0xd')];this[_0xc770('0xb')]=_0x323119[_0xc770('0xb')];this[_0xc770('0xe')]=_0x4b2367[_0xc770('0xe')];this[_0xc770('0xf')]=_0x323119['name'];this[_0xc770('0x10')]=_0x323119[_0xc770('0x11')];this[_0xc770('0x12')]=_0x323119[_0xc770('0x12')];this['responsetime']=_0x323119['responsetime'];this[_0xc770('0x13')]=_0x323119[_0xc770('0x13')];this['dropreason']=_0x323119[_0xc770('0x14')];this['endtime']=this[_0xc770('0x13')];this[_0xc770('0x15')]=utils['getSeconds'](_0x323119['responsetime'],_0x323119[_0xc770('0x12')]);this['holdtime']=utils['getSeconds'](this['droptime'],_0x323119[_0xc770('0x16')]);this[_0xc770('0x17')]=0x0;this[_0xc770('0x4')]=_0x4b2367[_0xc770('0x4')];this[_0xc770('0x18')]=_0x4b2367[_0xc770('0x19')];this[_0xc770('0x1a')]=_0x4b2367['reason'];this['callback']=_0x323119[_0xc770('0x1b')];this[_0xc770('0x1c')]=_0x323119[_0xc770('0x1c')];this[_0xc770('0x1d')]=_0x323119[_0xc770('0x1d')];this[_0xc770('0x1e')]=_0x323119[_0xc770('0x1e')];this[_0xc770('0x1f')]=_0x323119[_0xc770('0x1f')];this[_0xc770('0x20')]=_0x323119[_0xc770('0x20')];this[_0xc770('0x21')]=_0x323119[_0xc770('0x21')];this[_0xc770('0x22')]=_0x323119[_0xc770('0x22')];this['CampaignId']=_0x323119[_0xc770('0x23')];this[_0xc770('0x24')]=_0x323119[_0xc770('0x24')]||'';this[_0xc770('0x25')]=_0x323119[_0xc770('0x25')]||'';this['agiafterat']=_0x323119['agiafterat'];this[_0xc770('0x26')]=_0x323119[_0xc770('0x26')];this[_0xc770('0x27')]=_0x323119[_0xc770('0x27')];}module[_0xc770('0x28')]=QueueCallerAbandon;
\ No newline at end of file