Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index e549a4c..7317e8d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x578c=['callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','../utils','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','starttime','responsetime','dropreason','endtime','droptime','ringtime','getSeconds','talktime','connectedlinename','reason'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x578c,0x1e8));var _0xc578=function(_0x38e03c,_0x41ef59){_0x38e03c=_0x38e03c-0x0;var _0x9fad3f=_0x578c[_0x38e03c];return _0x9fad3f;};'use strict';var utils=require(_0xc578('0x0'));function QueueCallerAbandon(_0xfb2fef,_0x1d9ca0){this[_0xc578('0x1')]=_0xfb2fef[_0xc578('0x1')];this[_0xc578('0x2')]=_0xfb2fef['type'];this[_0xc578('0x3')]=_0xfb2fef[_0xc578('0x2')]===_0xc578('0x4')?_0xc578('0x5'):_0xfb2fef[_0xc578('0x2')];this[_0xc578('0x6')]=_0xfb2fef['countbusyretry'];this[_0xc578('0x7')]=_0xfb2fef[_0xc578('0x7')];this[_0xc578('0x8')]=_0xfb2fef[_0xc578('0x8')];this['countglobal']=_0xfb2fef[_0xc578('0x6')]+_0xfb2fef[_0xc578('0x7')]+_0xfb2fef[_0xc578('0x8')]+_0xfb2fef[_0xc578('0x9')]+_0xfb2fef[_0xc578('0xa')]+_0xfb2fef[_0xc578('0xb')]+_0xfb2fef[_0xc578('0xc')]+_0xfb2fef['countagentrejectretry'];this[_0xc578('0x9')]=_0xfb2fef[_0xc578('0x9')];this['countdropretry']=_0xfb2fef['countdropretry'];this[_0xc578('0xb')]=_0xfb2fef['countabandonedretry'];this[_0xc578('0xc')]=_0xfb2fef['countmachineretry'];this['countagentrejectretry']=_0xfb2fef[_0xc578('0xd')];this[_0xc578('0xe')]=_0x1d9ca0[_0xc578('0xe')];this[_0xc578('0xf')]=_0xfb2fef[_0xc578('0x10')];this[_0xc578('0x11')]=_0xfb2fef['number'];this[_0xc578('0x12')]=_0xfb2fef[_0xc578('0x12')];this[_0xc578('0x13')]=_0xfb2fef[_0xc578('0x13')];this['droptime']=_0xfb2fef['droptime'];this['dropreason']=_0xfb2fef[_0xc578('0x14')];this[_0xc578('0x15')]=this[_0xc578('0x16')];this[_0xc578('0x17')]=utils[_0xc578('0x18')](_0xfb2fef[_0xc578('0x13')],_0xfb2fef[_0xc578('0x12')]);this['holdtime']=utils[_0xc578('0x18')](this[_0xc578('0x16')],_0xfb2fef[_0xc578('0x13')]);this[_0xc578('0x19')]=0x0;this['queue']=_0x1d9ca0[_0xc578('0x5')];this['membername']=_0x1d9ca0[_0xc578('0x1a')];this['reason']=_0x1d9ca0[_0xc578('0x1b')];this[_0xc578('0x1c')]=_0xfb2fef[_0xc578('0x1c')];this[_0xc578('0x1d')]=_0xfb2fef['callbackuniqueid'];this[_0xc578('0x1e')]=_0xfb2fef[_0xc578('0x1e')];this[_0xc578('0x1f')]=_0xfb2fef['recallme'];this[_0xc578('0x20')]=_0xfb2fef[_0xc578('0x20')];this['ListId']=_0xfb2fef[_0xc578('0x21')];this[_0xc578('0x22')]=_0xfb2fef[_0xc578('0x22')];this[_0xc578('0x23')]=_0xfb2fef['VoiceQueueId'];this[_0xc578('0x24')]=_0xfb2fef[_0xc578('0x24')];this[_0xc578('0x25')]=_0xfb2fef[_0xc578('0x25')]||'';this[_0xc578('0x26')]=_0xfb2fef[_0xc578('0x26')]||'';this[_0xc578('0x27')]=_0xfb2fef[_0xc578('0x27')];this['state']=_0xfb2fef[_0xc578('0x28')];this[_0xc578('0x29')]=_0xfb2fef[_0xc578('0x29')];}module[_0xc578('0x2a')]=QueueCallerAbandon;
\ No newline at end of file