Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / dialer / models / hangup.js
index 964883b..97edba0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa049=['countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','uniqueid','calleridname','name','number','starttime','responsetime','format','getSeconds','holdtime','talktime','endtime','membername','IVR','callback','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','exports','../utils','state','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','amd'];(function(_0x2ff4bd,_0x4780a6){var _0x28edc6=function(_0x792380){while(--_0x792380){_0x2ff4bd['push'](_0x2ff4bd['shift']());}};_0x28edc6(++_0x4780a6);}(_0xa049,0x136));var _0x9a04=function(_0x153da6,_0xc9bfde){_0x153da6=_0x153da6-0x0;var _0xf01a0d=_0xa049[_0x153da6];return _0xf01a0d;};'use strict';var moment=require('moment');var utils=require(_0x9a04('0x0'));function Hangup(_0x3edd16,_0x371981){this[_0x9a04('0x1')]=0x4;this[_0x9a04('0x2')]=_0x9a04('0x3');this['scheduledat']=_0x3edd16[_0x9a04('0x4')];this[_0x9a04('0x5')]=_0x3edd16[_0x9a04('0x5')];this[_0x9a04('0x6')]=_0x3edd16[_0x9a04('0x5')]===_0x9a04('0x7')?_0x9a04('0x8'):_0x3edd16[_0x9a04('0x5')];this[_0x9a04('0x9')]=_0x3edd16[_0x9a04('0x9')]||![];this['countbusyretry']=_0x3edd16[_0x9a04('0xa')];this[_0x9a04('0xb')]=_0x3edd16[_0x9a04('0xb')];this[_0x9a04('0xc')]=_0x3edd16[_0x9a04('0xc')];this[_0x9a04('0xd')]=_0x3edd16[_0x9a04('0xa')]+_0x3edd16[_0x9a04('0xb')]+_0x3edd16[_0x9a04('0xc')]+_0x3edd16[_0x9a04('0xe')]+_0x3edd16[_0x9a04('0xf')]+_0x3edd16[_0x9a04('0x10')]+_0x3edd16['countmachineretry']+_0x3edd16[_0x9a04('0x11')];this[_0x9a04('0xe')]=_0x3edd16[_0x9a04('0xe')];this['countdropretry']=_0x3edd16[_0x9a04('0xf')];this[_0x9a04('0x10')]=_0x3edd16[_0x9a04('0x10')];this[_0x9a04('0x12')]=_0x3edd16[_0x9a04('0x12')];this['countagentrejectretry']=_0x3edd16[_0x9a04('0x11')];this[_0x9a04('0x13')]=_0x371981[_0x9a04('0x13')];this[_0x9a04('0x14')]=_0x3edd16[_0x9a04('0x15')];this['calleridnum']=_0x3edd16[_0x9a04('0x16')];this['starttime']=_0x3edd16[_0x9a04('0x17')];this['responsetime']=_0x3edd16[_0x9a04('0x18')];this['endtime']=moment()[_0x9a04('0x19')]('YYYY-MM-DD\x20HH:mm:ss');this['ringtime']=utils[_0x9a04('0x1a')](_0x3edd16[_0x9a04('0x18')],_0x3edd16[_0x9a04('0x17')]);this[_0x9a04('0x1b')]=0x0;this[_0x9a04('0x1c')]=utils['getSeconds'](this[_0x9a04('0x1d')],_0x3edd16[_0x9a04('0x18')]);this[_0x9a04('0x8')]=_0x3edd16[_0x9a04('0x8')];this[_0x9a04('0x1e')]=_0x9a04('0x1f');this['reason']=_0x371981['cause-txt'];this[_0x9a04('0x20')]=_0x3edd16[_0x9a04('0x20')];this['callbackuniqueid']=_0x3edd16['callbackuniqueid'];this['callbackat']=_0x3edd16['callbackat'];this['recallme']=_0x3edd16[_0x9a04('0x21')];this[_0x9a04('0x22')]=_0x3edd16['ContactId'];this[_0x9a04('0x23')]=_0x3edd16[_0x9a04('0x23')];this['UserId']=_0x3edd16[_0x9a04('0x24')];this[_0x9a04('0x25')]=_0x3edd16[_0x9a04('0x25')];this[_0x9a04('0x26')]=_0x3edd16[_0x9a04('0x26')];}module[_0x9a04('0x27')]=Hangup;
\ No newline at end of file
+var _0xec6a=['membername','IVR','reason','cause-txt','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','exports','moment','../utils','state','scheduledat','type','campaigntype','outbound','amd','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','uniqueid','name','calleridnum','number','starttime','responsetime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','ringtime','getSeconds','holdtime','talktime','queue'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xec6a,0x1c6));var _0xaec6=function(_0x348007,_0x8ecd4a){_0x348007=_0x348007-0x0;var _0x2082e3=_0xec6a[_0x348007];return _0x2082e3;};'use strict';var moment=require(_0xaec6('0x0'));var utils=require(_0xaec6('0x1'));function Hangup(_0x56695a,_0x197b1d){this[_0xaec6('0x2')]=0x4;this['statedesc']='Answer';this[_0xaec6('0x3')]=_0x56695a[_0xaec6('0x3')];this[_0xaec6('0x4')]=_0x56695a[_0xaec6('0x4')];this[_0xaec6('0x5')]=_0x56695a[_0xaec6('0x4')]===_0xaec6('0x6')?'queue':_0x56695a['type'];this[_0xaec6('0x7')]=_0x56695a[_0xaec6('0x7')]||![];this[_0xaec6('0x8')]=_0x56695a[_0xaec6('0x8')];this['countcongestionretry']=_0x56695a[_0xaec6('0x9')];this['countnoanswerretry']=_0x56695a[_0xaec6('0xa')];this['countglobal']=_0x56695a[_0xaec6('0x8')]+_0x56695a[_0xaec6('0x9')]+_0x56695a[_0xaec6('0xa')]+_0x56695a[_0xaec6('0xb')]+_0x56695a['countdropretry']+_0x56695a[_0xaec6('0xc')]+_0x56695a[_0xaec6('0xd')]+_0x56695a[_0xaec6('0xe')];this[_0xaec6('0xb')]=_0x56695a[_0xaec6('0xb')];this[_0xaec6('0xf')]=_0x56695a[_0xaec6('0xf')];this[_0xaec6('0xc')]=_0x56695a[_0xaec6('0xc')];this['countmachineretry']=_0x56695a[_0xaec6('0xd')];this[_0xaec6('0xe')]=_0x56695a[_0xaec6('0xe')];this[_0xaec6('0x10')]=_0x197b1d[_0xaec6('0x10')];this['calleridname']=_0x56695a[_0xaec6('0x11')];this[_0xaec6('0x12')]=_0x56695a[_0xaec6('0x13')];this[_0xaec6('0x14')]=_0x56695a[_0xaec6('0x14')];this[_0xaec6('0x15')]=_0x56695a['responsetime'];this[_0xaec6('0x16')]=moment()[_0xaec6('0x17')](_0xaec6('0x18'));this[_0xaec6('0x19')]=utils[_0xaec6('0x1a')](_0x56695a[_0xaec6('0x15')],_0x56695a[_0xaec6('0x14')]);this[_0xaec6('0x1b')]=0x0;this[_0xaec6('0x1c')]=utils[_0xaec6('0x1a')](this[_0xaec6('0x16')],_0x56695a[_0xaec6('0x15')]);this[_0xaec6('0x1d')]=_0x56695a[_0xaec6('0x1d')];this[_0xaec6('0x1e')]=_0xaec6('0x1f');this[_0xaec6('0x20')]=_0x197b1d[_0xaec6('0x21')];this[_0xaec6('0x22')]=_0x56695a[_0xaec6('0x22')];this['callbackuniqueid']=_0x56695a[_0xaec6('0x23')];this[_0xaec6('0x24')]=_0x56695a[_0xaec6('0x24')];this['recallme']=_0x56695a[_0xaec6('0x25')];this[_0xaec6('0x26')]=_0x56695a[_0xaec6('0x26')];this['ListId']=_0x56695a[_0xaec6('0x27')];this[_0xaec6('0x28')]=_0x56695a[_0xaec6('0x28')];this['VoiceQueueId']=_0x56695a[_0xaec6('0x29')];this[_0xaec6('0x2a')]=_0x56695a[_0xaec6('0x2a')];}module[_0xaec6('0x2b')]=Hangup;
\ No newline at end of file