Built motion from commit a8c4dd89.|2.6.33
[motion2.git] / server / services / ami / dialer / models / queueCallerAbandon.js
index c172704..7bf2b1d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7873=['reason','callback','callbackuniqueid','callbackat','recallme','UserId','VoiceQueueId','CampaignId','originatecalleridnum','agiafterat','state','statedesc','exports','../utils','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','number','starttime','responsetime','droptime','dropreason','endtime','holdtime','talktime','membername'];(function(_0x2692f1,_0xdfa6e){var _0x262a14=function(_0x4a3d58){while(--_0x4a3d58){_0x2692f1['push'](_0x2692f1['shift']());}};_0x262a14(++_0xdfa6e);}(_0x7873,0x163));var _0x3787=function(_0x25e514,_0x53bfc5){_0x25e514=_0x25e514-0x0;var _0x1a6492=_0x7873[_0x25e514];return _0x1a6492;};'use strict';var utils=require(_0x3787('0x0'));function QueueCallerAbandon(_0x4ff619,_0x476c88){this[_0x3787('0x1')]=_0x4ff619[_0x3787('0x1')];this[_0x3787('0x2')]=_0x4ff619[_0x3787('0x2')];this[_0x3787('0x3')]=_0x4ff619[_0x3787('0x2')]===_0x3787('0x4')?_0x3787('0x5'):_0x4ff619[_0x3787('0x2')];this[_0x3787('0x6')]=_0x4ff619['countbusyretry'];this[_0x3787('0x7')]=_0x4ff619[_0x3787('0x7')];this[_0x3787('0x8')]=_0x4ff619['countnoanswerretry'];this['countglobal']=_0x4ff619[_0x3787('0x6')]+_0x4ff619[_0x3787('0x7')]+_0x4ff619[_0x3787('0x8')]+_0x4ff619[_0x3787('0x9')]+_0x4ff619[_0x3787('0xa')]+_0x4ff619[_0x3787('0xb')]+_0x4ff619[_0x3787('0xc')]+_0x4ff619[_0x3787('0xd')];this[_0x3787('0x9')]=_0x4ff619[_0x3787('0x9')];this[_0x3787('0xa')]=_0x4ff619[_0x3787('0xa')];this[_0x3787('0xb')]=_0x4ff619[_0x3787('0xb')];this['countmachineretry']=_0x4ff619[_0x3787('0xc')];this['countagentrejectretry']=_0x4ff619[_0x3787('0xd')];this[_0x3787('0xe')]=_0x476c88[_0x3787('0xe')];this[_0x3787('0xf')]=_0x4ff619['name'];this['calleridnum']=_0x4ff619[_0x3787('0x10')];this[_0x3787('0x11')]=_0x4ff619['starttime'];this[_0x3787('0x12')]=_0x4ff619['responsetime'];this[_0x3787('0x13')]=_0x4ff619[_0x3787('0x13')];this[_0x3787('0x14')]=_0x4ff619['dropreason'];this[_0x3787('0x15')]=this[_0x3787('0x13')];this['ringtime']=utils['getSeconds'](_0x4ff619[_0x3787('0x12')],_0x4ff619[_0x3787('0x11')]);this[_0x3787('0x16')]=utils['getSeconds'](this[_0x3787('0x13')],_0x4ff619[_0x3787('0x12')]);this[_0x3787('0x17')]=0x0;this['queue']=_0x476c88['queue'];this[_0x3787('0x18')]=_0x476c88['connectedlinename'];this[_0x3787('0x19')]=_0x476c88[_0x3787('0x19')];this['callback']=_0x4ff619[_0x3787('0x1a')];this['callbackuniqueid']=_0x4ff619[_0x3787('0x1b')];this['callbackat']=_0x4ff619[_0x3787('0x1c')];this[_0x3787('0x1d')]=_0x4ff619['recallme'];this['ContactId']=_0x4ff619['ContactId'];this['ListId']=_0x4ff619['ListId'];this[_0x3787('0x1e')]=_0x4ff619['UserId'];this[_0x3787('0x1f')]=_0x4ff619['VoiceQueueId'];this[_0x3787('0x20')]=_0x4ff619[_0x3787('0x20')];this[_0x3787('0x21')]=_0x4ff619[_0x3787('0x21')]||'';this['originatecalleridname']=_0x4ff619['originatecalleridname']||'';this[_0x3787('0x22')]=_0x4ff619[_0x3787('0x22')];this[_0x3787('0x23')]=_0x4ff619['state'];this[_0x3787('0x24')]=_0x4ff619[_0x3787('0x24')];}module[_0x3787('0x25')]=QueueCallerAbandon;
\ No newline at end of file
+var _0x6ed2=['responsetime','droptime','dropreason','endtime','getSeconds','holdtime','talktime','membername','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','agiafterat','state','statedesc','../utils','scheduledat','type','outbound','queue','countbusyretry','countnoanswerretry','countcongestionretry','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','uniqueid','calleridname','name','number','starttime'];(function(_0x1e7935,_0x3bb652){var _0x3eb2aa=function(_0x665b78){while(--_0x665b78){_0x1e7935['push'](_0x1e7935['shift']());}};_0x3eb2aa(++_0x3bb652);}(_0x6ed2,0xde));var _0x26ed=function(_0x593752,_0xfc3827){_0x593752=_0x593752-0x0;var _0x4612be=_0x6ed2[_0x593752];return _0x4612be;};'use strict';var utils=require(_0x26ed('0x0'));function QueueCallerAbandon(_0x4224b4,_0x3e2903){this[_0x26ed('0x1')]=_0x4224b4['scheduledat'];this[_0x26ed('0x2')]=_0x4224b4[_0x26ed('0x2')];this['campaigntype']=_0x4224b4[_0x26ed('0x2')]===_0x26ed('0x3')?_0x26ed('0x4'):_0x4224b4[_0x26ed('0x2')];this['countbusyretry']=_0x4224b4[_0x26ed('0x5')];this['countcongestionretry']=_0x4224b4['countcongestionretry'];this[_0x26ed('0x6')]=_0x4224b4[_0x26ed('0x6')];this['countglobal']=_0x4224b4[_0x26ed('0x5')]+_0x4224b4[_0x26ed('0x7')]+_0x4224b4[_0x26ed('0x6')]+_0x4224b4[_0x26ed('0x8')]+_0x4224b4[_0x26ed('0x9')]+_0x4224b4[_0x26ed('0xa')]+_0x4224b4['countmachineretry']+_0x4224b4[_0x26ed('0xb')];this[_0x26ed('0x8')]=_0x4224b4[_0x26ed('0x8')];this[_0x26ed('0x9')]=_0x4224b4[_0x26ed('0x9')];this[_0x26ed('0xa')]=_0x4224b4[_0x26ed('0xa')];this[_0x26ed('0xc')]=_0x4224b4['countmachineretry'];this[_0x26ed('0xb')]=_0x4224b4[_0x26ed('0xb')];this[_0x26ed('0xd')]=_0x3e2903['uniqueid'];this[_0x26ed('0xe')]=_0x4224b4[_0x26ed('0xf')];this['calleridnum']=_0x4224b4[_0x26ed('0x10')];this[_0x26ed('0x11')]=_0x4224b4[_0x26ed('0x11')];this['responsetime']=_0x4224b4[_0x26ed('0x12')];this['droptime']=_0x4224b4[_0x26ed('0x13')];this['dropreason']=_0x4224b4[_0x26ed('0x14')];this[_0x26ed('0x15')]=this['droptime'];this['ringtime']=utils[_0x26ed('0x16')](_0x4224b4[_0x26ed('0x12')],_0x4224b4[_0x26ed('0x11')]);this[_0x26ed('0x17')]=utils['getSeconds'](this['droptime'],_0x4224b4['responsetime']);this[_0x26ed('0x18')]=0x0;this[_0x26ed('0x4')]=_0x3e2903[_0x26ed('0x4')];this[_0x26ed('0x19')]=_0x3e2903['connectedlinename'];this[_0x26ed('0x1a')]=_0x3e2903[_0x26ed('0x1a')];this['callback']=_0x4224b4[_0x26ed('0x1b')];this[_0x26ed('0x1c')]=_0x4224b4[_0x26ed('0x1c')];this[_0x26ed('0x1d')]=_0x4224b4['callbackat'];this[_0x26ed('0x1e')]=_0x4224b4['recallme'];this[_0x26ed('0x1f')]=_0x4224b4[_0x26ed('0x1f')];this[_0x26ed('0x20')]=_0x4224b4[_0x26ed('0x20')];this[_0x26ed('0x21')]=_0x4224b4['UserId'];this[_0x26ed('0x22')]=_0x4224b4[_0x26ed('0x22')];this[_0x26ed('0x23')]=_0x4224b4[_0x26ed('0x23')];this[_0x26ed('0x24')]=_0x4224b4[_0x26ed('0x24')]||'';this['originatecalleridname']=_0x4224b4['originatecalleridname']||'';this['agiafterat']=_0x4224b4[_0x26ed('0x25')];this[_0x26ed('0x26')]=_0x4224b4[_0x26ed('0x26')];this[_0x26ed('0x27')]=_0x4224b4[_0x26ed('0x27')];}module['exports']=QueueCallerAbandon;
\ No newline at end of file