Built motion from commit 37e1ed56.|2.6.29
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index b4f5cfe..e549a4c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8678=['countnosuchnumberretry','countdropretry','countagentrejectretry','countabandonedretry','countmachineretry','uniqueid','calleridname','calleridnum','number','starttime','responsetime','droptime','dropreason','endtime','ringtime','holdtime','getSeconds','talktime','membername','connectedlinename','reason','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','../utils','scheduledat','type','campaigntype','outbound','countcongestionretry','countnoanswerretry','countglobal','countbusyretry'];(function(_0x2b75db,_0x52925b){var _0x237286=function(_0x5e45f2){while(--_0x5e45f2){_0x2b75db['push'](_0x2b75db['shift']());}};_0x237286(++_0x52925b);}(_0x8678,0x124));var _0x8867=function(_0x565577,_0x3c2195){_0x565577=_0x565577-0x0;var _0x2259c1=_0x8678[_0x565577];return _0x2259c1;};'use strict';var utils=require(_0x8867('0x0'));function QueueCallerAbandon(_0x4617e4,_0x1ccf71){this[_0x8867('0x1')]=_0x4617e4[_0x8867('0x1')];this[_0x8867('0x2')]=_0x4617e4[_0x8867('0x2')];this[_0x8867('0x3')]=_0x4617e4[_0x8867('0x2')]===_0x8867('0x4')?'queue':_0x4617e4[_0x8867('0x2')];this['countbusyretry']=_0x4617e4['countbusyretry'];this[_0x8867('0x5')]=_0x4617e4[_0x8867('0x5')];this[_0x8867('0x6')]=_0x4617e4['countnoanswerretry'];this[_0x8867('0x7')]=_0x4617e4[_0x8867('0x8')]+_0x4617e4[_0x8867('0x5')]+_0x4617e4['countnoanswerretry']+_0x4617e4[_0x8867('0x9')]+_0x4617e4[_0x8867('0xa')]+_0x4617e4['countabandonedretry']+_0x4617e4['countmachineretry']+_0x4617e4[_0x8867('0xb')];this['countnosuchnumberretry']=_0x4617e4[_0x8867('0x9')];this[_0x8867('0xa')]=_0x4617e4['countdropretry'];this['countabandonedretry']=_0x4617e4[_0x8867('0xc')];this[_0x8867('0xd')]=_0x4617e4[_0x8867('0xd')];this[_0x8867('0xb')]=_0x4617e4[_0x8867('0xb')];this[_0x8867('0xe')]=_0x1ccf71[_0x8867('0xe')];this[_0x8867('0xf')]=_0x4617e4['name'];this[_0x8867('0x10')]=_0x4617e4[_0x8867('0x11')];this[_0x8867('0x12')]=_0x4617e4['starttime'];this[_0x8867('0x13')]=_0x4617e4[_0x8867('0x13')];this[_0x8867('0x14')]=_0x4617e4[_0x8867('0x14')];this[_0x8867('0x15')]=_0x4617e4[_0x8867('0x15')];this[_0x8867('0x16')]=this['droptime'];this[_0x8867('0x17')]=utils['getSeconds'](_0x4617e4['responsetime'],_0x4617e4[_0x8867('0x12')]);this[_0x8867('0x18')]=utils[_0x8867('0x19')](this[_0x8867('0x14')],_0x4617e4[_0x8867('0x13')]);this[_0x8867('0x1a')]=0x0;this['queue']=_0x1ccf71['queue'];this[_0x8867('0x1b')]=_0x1ccf71[_0x8867('0x1c')];this['reason']=_0x1ccf71[_0x8867('0x1d')];this['callback']=_0x4617e4['callback'];this['callbackuniqueid']=_0x4617e4[_0x8867('0x1e')];this[_0x8867('0x1f')]=_0x4617e4[_0x8867('0x1f')];this[_0x8867('0x20')]=_0x4617e4[_0x8867('0x20')];this[_0x8867('0x21')]=_0x4617e4[_0x8867('0x21')];this[_0x8867('0x22')]=_0x4617e4[_0x8867('0x22')];this[_0x8867('0x23')]=_0x4617e4[_0x8867('0x23')];this[_0x8867('0x24')]=_0x4617e4['VoiceQueueId'];this[_0x8867('0x25')]=_0x4617e4[_0x8867('0x25')];this[_0x8867('0x26')]=_0x4617e4[_0x8867('0x26')]||'';this[_0x8867('0x27')]=_0x4617e4[_0x8867('0x27')]||'';this[_0x8867('0x28')]=_0x4617e4[_0x8867('0x28')];this['state']=_0x4617e4[_0x8867('0x29')];this[_0x8867('0x2a')]=_0x4617e4[_0x8867('0x2a')];}module['exports']=QueueCallerAbandon;
\ No newline at end of file
+var _0xa262=['outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countagentrejectretry','countabandonedretry','countmachineretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','droptime','dropreason','endtime','ringtime','getSeconds','holdtime','talktime','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','scheduledat','type'];(function(_0x94eb4c,_0x3be3f9){var _0x441310=function(_0x4ad94c){while(--_0x4ad94c){_0x94eb4c['push'](_0x94eb4c['shift']());}};_0x441310(++_0x3be3f9);}(_0xa262,0xa6));var _0x2a26=function(_0x121195,_0x2cd8b8){_0x121195=_0x121195-0x0;var _0x363aea=_0xa262[_0x121195];return _0x363aea;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x3c57fa,_0x148ce0){this['scheduledat']=_0x3c57fa[_0x2a26('0x0')];this[_0x2a26('0x1')]=_0x3c57fa[_0x2a26('0x1')];this['campaigntype']=_0x3c57fa[_0x2a26('0x1')]===_0x2a26('0x2')?_0x2a26('0x3'):_0x3c57fa[_0x2a26('0x1')];this[_0x2a26('0x4')]=_0x3c57fa[_0x2a26('0x4')];this[_0x2a26('0x5')]=_0x3c57fa[_0x2a26('0x5')];this[_0x2a26('0x6')]=_0x3c57fa[_0x2a26('0x6')];this[_0x2a26('0x7')]=_0x3c57fa[_0x2a26('0x4')]+_0x3c57fa['countcongestionretry']+_0x3c57fa[_0x2a26('0x6')]+_0x3c57fa[_0x2a26('0x8')]+_0x3c57fa[_0x2a26('0x9')]+_0x3c57fa['countabandonedretry']+_0x3c57fa['countmachineretry']+_0x3c57fa[_0x2a26('0xa')];this['countnosuchnumberretry']=_0x3c57fa[_0x2a26('0x8')];this[_0x2a26('0x9')]=_0x3c57fa[_0x2a26('0x9')];this[_0x2a26('0xb')]=_0x3c57fa[_0x2a26('0xb')];this[_0x2a26('0xc')]=_0x3c57fa[_0x2a26('0xc')];this['countagentrejectretry']=_0x3c57fa[_0x2a26('0xa')];this[_0x2a26('0xd')]=_0x148ce0[_0x2a26('0xd')];this[_0x2a26('0xe')]=_0x3c57fa[_0x2a26('0xf')];this[_0x2a26('0x10')]=_0x3c57fa[_0x2a26('0x11')];this[_0x2a26('0x12')]=_0x3c57fa[_0x2a26('0x12')];this[_0x2a26('0x13')]=_0x3c57fa[_0x2a26('0x13')];this[_0x2a26('0x14')]=_0x3c57fa[_0x2a26('0x14')];this['dropreason']=_0x3c57fa[_0x2a26('0x15')];this[_0x2a26('0x16')]=this['droptime'];this[_0x2a26('0x17')]=utils[_0x2a26('0x18')](_0x3c57fa[_0x2a26('0x13')],_0x3c57fa[_0x2a26('0x12')]);this[_0x2a26('0x19')]=utils[_0x2a26('0x18')](this[_0x2a26('0x14')],_0x3c57fa[_0x2a26('0x13')]);this[_0x2a26('0x1a')]=0x0;this[_0x2a26('0x3')]=_0x148ce0[_0x2a26('0x3')];this['membername']=_0x148ce0[_0x2a26('0x1b')];this['reason']=_0x148ce0[_0x2a26('0x1c')];this[_0x2a26('0x1d')]=_0x3c57fa['callback'];this['callbackuniqueid']=_0x3c57fa[_0x2a26('0x1e')];this[_0x2a26('0x1f')]=_0x3c57fa[_0x2a26('0x1f')];this[_0x2a26('0x20')]=_0x3c57fa['recallme'];this['ContactId']=_0x3c57fa[_0x2a26('0x21')];this[_0x2a26('0x22')]=_0x3c57fa[_0x2a26('0x22')];this[_0x2a26('0x23')]=_0x3c57fa['UserId'];this[_0x2a26('0x24')]=_0x3c57fa['VoiceQueueId'];this['CampaignId']=_0x3c57fa['CampaignId'];this['originatecalleridnum']=_0x3c57fa[_0x2a26('0x25')]||'';this[_0x2a26('0x26')]=_0x3c57fa[_0x2a26('0x26')]||'';this[_0x2a26('0x27')]=_0x3c57fa['agiafterat'];this['state']=_0x3c57fa[_0x2a26('0x28')];this[_0x2a26('0x29')]=_0x3c57fa['statedesc'];}module['exports']=QueueCallerAbandon;
\ No newline at end of file