Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index 04490fd..275b80a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xef1c=['campaigntype','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','dropreason','endtime','droptime','getSeconds','holdtime','talktime','queue','membername','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','scheduledat','type'];(function(_0x5214fc,_0x24aab3){var _0x342b39=function(_0xb85446){while(--_0xb85446){_0x5214fc['push'](_0x5214fc['shift']());}};_0x342b39(++_0x24aab3);}(_0xef1c,0x1c1));var _0xcef1=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0xef1c[_0x1035c1];return _0x308d67;};'use strict';var utils=require('../utils');function QueueCallerAbandon(_0x3d9f2f,_0x58fcfb){this[_0xcef1('0x0')]=_0x3d9f2f[_0xcef1('0x0')];this['type']=_0x3d9f2f[_0xcef1('0x1')];this[_0xcef1('0x2')]=_0x3d9f2f[_0xcef1('0x1')]==='outbound'?'queue':_0x3d9f2f[_0xcef1('0x1')];this[_0xcef1('0x3')]=_0x3d9f2f[_0xcef1('0x3')];this[_0xcef1('0x4')]=_0x3d9f2f[_0xcef1('0x4')];this[_0xcef1('0x5')]=_0x3d9f2f[_0xcef1('0x5')];this['countglobal']=_0x3d9f2f['countbusyretry']+_0x3d9f2f[_0xcef1('0x4')]+_0x3d9f2f[_0xcef1('0x5')]+_0x3d9f2f[_0xcef1('0x6')]+_0x3d9f2f[_0xcef1('0x7')]+_0x3d9f2f[_0xcef1('0x8')]+_0x3d9f2f['countmachineretry']+_0x3d9f2f['countagentrejectretry'];this[_0xcef1('0x6')]=_0x3d9f2f[_0xcef1('0x6')];this['countdropretry']=_0x3d9f2f['countdropretry'];this['countabandonedretry']=_0x3d9f2f[_0xcef1('0x8')];this[_0xcef1('0x9')]=_0x3d9f2f[_0xcef1('0x9')];this[_0xcef1('0xa')]=_0x3d9f2f[_0xcef1('0xa')];this[_0xcef1('0xb')]=_0x58fcfb['uniqueid'];this[_0xcef1('0xc')]=_0x3d9f2f[_0xcef1('0xd')];this[_0xcef1('0xe')]=_0x3d9f2f[_0xcef1('0xf')];this[_0xcef1('0x10')]=_0x3d9f2f[_0xcef1('0x10')];this[_0xcef1('0x11')]=_0x3d9f2f[_0xcef1('0x11')];this['droptime']=_0x3d9f2f['droptime'];this[_0xcef1('0x12')]=_0x3d9f2f[_0xcef1('0x12')];this[_0xcef1('0x13')]=this[_0xcef1('0x14')];this['ringtime']=utils[_0xcef1('0x15')](_0x3d9f2f[_0xcef1('0x11')],_0x3d9f2f[_0xcef1('0x10')]);this[_0xcef1('0x16')]=utils['getSeconds'](this[_0xcef1('0x14')],_0x3d9f2f['responsetime']);this[_0xcef1('0x17')]=0x0;this[_0xcef1('0x18')]=_0x58fcfb[_0xcef1('0x18')];this[_0xcef1('0x19')]=_0x58fcfb['connectedlinename'];this['reason']=_0x58fcfb['reason'];this[_0xcef1('0x1a')]=_0x3d9f2f[_0xcef1('0x1a')];this['callbackuniqueid']=_0x3d9f2f[_0xcef1('0x1b')];this[_0xcef1('0x1c')]=_0x3d9f2f['callbackat'];this[_0xcef1('0x1d')]=_0x3d9f2f[_0xcef1('0x1d')];this[_0xcef1('0x1e')]=_0x3d9f2f[_0xcef1('0x1e')];this[_0xcef1('0x1f')]=_0x3d9f2f[_0xcef1('0x1f')];this['UserId']=_0x3d9f2f[_0xcef1('0x20')];this[_0xcef1('0x21')]=_0x3d9f2f['VoiceQueueId'];this['CampaignId']=_0x3d9f2f[_0xcef1('0x22')];this[_0xcef1('0x23')]=_0x3d9f2f[_0xcef1('0x23')]||'';this[_0xcef1('0x24')]=_0x3d9f2f[_0xcef1('0x24')]||'';this['agiafterat']=_0x3d9f2f[_0xcef1('0x25')];this[_0xcef1('0x26')]=_0x3d9f2f['state'];this[_0xcef1('0x27')]=_0x3d9f2f[_0xcef1('0x27')];}module[_0xcef1('0x28')]=QueueCallerAbandon;
\ No newline at end of file
+var _0xac79=['queue','countcongestionretry','countnoanswerretry','countglobal','countbusyretry','countnosuchnumberretry','countabandonedretry','countagentrejectretry','countdropretry','countmachineretry','uniqueid','name','calleridnum','number','starttime','responsetime','droptime','dropreason','endtime','ringtime','getSeconds','talktime','membername','connectedlinename','reason','callback','callbackat','recallme','ContactId','UserId','VoiceQueueId','originatecalleridnum','originatecalleridname','agiafterat','state','statedesc','exports','../utils','scheduledat','type','outbound'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xac79,0xc9));var _0x9ac7=function(_0x14412a,_0x5a6d8b){_0x14412a=_0x14412a-0x0;var _0x4c2d0f=_0xac79[_0x14412a];return _0x4c2d0f;};'use strict';var utils=require(_0x9ac7('0x0'));function QueueCallerAbandon(_0x385c77,_0x346758){this[_0x9ac7('0x1')]=_0x385c77[_0x9ac7('0x1')];this[_0x9ac7('0x2')]=_0x385c77['type'];this['campaigntype']=_0x385c77[_0x9ac7('0x2')]===_0x9ac7('0x3')?_0x9ac7('0x4'):_0x385c77[_0x9ac7('0x2')];this['countbusyretry']=_0x385c77['countbusyretry'];this[_0x9ac7('0x5')]=_0x385c77[_0x9ac7('0x5')];this[_0x9ac7('0x6')]=_0x385c77['countnoanswerretry'];this[_0x9ac7('0x7')]=_0x385c77[_0x9ac7('0x8')]+_0x385c77[_0x9ac7('0x5')]+_0x385c77[_0x9ac7('0x6')]+_0x385c77[_0x9ac7('0x9')]+_0x385c77['countdropretry']+_0x385c77[_0x9ac7('0xa')]+_0x385c77['countmachineretry']+_0x385c77[_0x9ac7('0xb')];this['countnosuchnumberretry']=_0x385c77[_0x9ac7('0x9')];this[_0x9ac7('0xc')]=_0x385c77[_0x9ac7('0xc')];this[_0x9ac7('0xa')]=_0x385c77[_0x9ac7('0xa')];this[_0x9ac7('0xd')]=_0x385c77[_0x9ac7('0xd')];this[_0x9ac7('0xb')]=_0x385c77['countagentrejectretry'];this[_0x9ac7('0xe')]=_0x346758[_0x9ac7('0xe')];this['calleridname']=_0x385c77[_0x9ac7('0xf')];this[_0x9ac7('0x10')]=_0x385c77[_0x9ac7('0x11')];this[_0x9ac7('0x12')]=_0x385c77[_0x9ac7('0x12')];this[_0x9ac7('0x13')]=_0x385c77['responsetime'];this[_0x9ac7('0x14')]=_0x385c77[_0x9ac7('0x14')];this[_0x9ac7('0x15')]=_0x385c77['dropreason'];this[_0x9ac7('0x16')]=this[_0x9ac7('0x14')];this[_0x9ac7('0x17')]=utils[_0x9ac7('0x18')](_0x385c77['responsetime'],_0x385c77[_0x9ac7('0x12')]);this['holdtime']=utils[_0x9ac7('0x18')](this[_0x9ac7('0x14')],_0x385c77[_0x9ac7('0x13')]);this[_0x9ac7('0x19')]=0x0;this[_0x9ac7('0x4')]=_0x346758[_0x9ac7('0x4')];this[_0x9ac7('0x1a')]=_0x346758[_0x9ac7('0x1b')];this[_0x9ac7('0x1c')]=_0x346758[_0x9ac7('0x1c')];this['callback']=_0x385c77[_0x9ac7('0x1d')];this['callbackuniqueid']=_0x385c77['callbackuniqueid'];this[_0x9ac7('0x1e')]=_0x385c77[_0x9ac7('0x1e')];this['recallme']=_0x385c77[_0x9ac7('0x1f')];this[_0x9ac7('0x20')]=_0x385c77[_0x9ac7('0x20')];this['ListId']=_0x385c77['ListId'];this[_0x9ac7('0x21')]=_0x385c77['UserId'];this[_0x9ac7('0x22')]=_0x385c77[_0x9ac7('0x22')];this['CampaignId']=_0x385c77['CampaignId'];this[_0x9ac7('0x23')]=_0x385c77[_0x9ac7('0x23')]||'';this['originatecalleridname']=_0x385c77[_0x9ac7('0x24')]||'';this[_0x9ac7('0x25')]=_0x385c77[_0x9ac7('0x25')];this['state']=_0x385c77[_0x9ac7('0x26')];this[_0x9ac7('0x27')]=_0x385c77[_0x9ac7('0x27')];}module[_0x9ac7('0x28')]=QueueCallerAbandon;
\ No newline at end of file