Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / services / ami / dialer / models / hangup.js
index 6569c3e..f414b49 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x57cf=['YYYY-MM-DD\x20HH:mm:ss','ringtime','getSeconds','holdtime','talktime','queue','membername','IVR','reason','cause-txt','callback','callbackuniqueid','callbackat','ContactId','ListId','UserId','VoiceQueueId','CampaignId','exports','moment','../utils','state','statedesc','Answer','scheduledat','type','campaigntype','outbound','amd','countbusyretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countmachineretry','countabandonedretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','starttime','responsetime','format'];(function(_0x9df060,_0x253d33){var _0x338dfe=function(_0x17d9a5){while(--_0x17d9a5){_0x9df060['push'](_0x9df060['shift']());}};_0x338dfe(++_0x253d33);}(_0x57cf,0x11b));var _0xf57c=function(_0x3df93e,_0x5af13a){_0x3df93e=_0x3df93e-0x0;var _0x2d4f2a=_0x57cf[_0x3df93e];return _0x2d4f2a;};'use strict';var moment=require(_0xf57c('0x0'));var utils=require(_0xf57c('0x1'));function Hangup(_0x41b0b8,_0x182ad5){this[_0xf57c('0x2')]=0x4;this[_0xf57c('0x3')]=_0xf57c('0x4');this[_0xf57c('0x5')]=_0x41b0b8[_0xf57c('0x5')];this[_0xf57c('0x6')]=_0x41b0b8['type'];this[_0xf57c('0x7')]=_0x41b0b8['type']===_0xf57c('0x8')?'queue':_0x41b0b8['type'];this[_0xf57c('0x9')]=_0x41b0b8['amd']||![];this[_0xf57c('0xa')]=_0x41b0b8[_0xf57c('0xa')];this['countcongestionretry']=_0x41b0b8['countcongestionretry'];this[_0xf57c('0xb')]=_0x41b0b8[_0xf57c('0xb')];this[_0xf57c('0xc')]=_0x41b0b8[_0xf57c('0xa')]+_0x41b0b8['countcongestionretry']+_0x41b0b8[_0xf57c('0xb')]+_0x41b0b8[_0xf57c('0xd')]+_0x41b0b8[_0xf57c('0xe')]+_0x41b0b8['countabandonedretry']+_0x41b0b8[_0xf57c('0xf')]+_0x41b0b8['countagentrejectretry'];this[_0xf57c('0xd')]=_0x41b0b8[_0xf57c('0xd')];this['countdropretry']=_0x41b0b8[_0xf57c('0xe')];this['countabandonedretry']=_0x41b0b8[_0xf57c('0x10')];this['countmachineretry']=_0x41b0b8[_0xf57c('0xf')];this[_0xf57c('0x11')]=_0x41b0b8[_0xf57c('0x11')];this[_0xf57c('0x12')]=_0x182ad5[_0xf57c('0x12')];this[_0xf57c('0x13')]=_0x41b0b8[_0xf57c('0x14')];this[_0xf57c('0x15')]=_0x41b0b8['number'];this[_0xf57c('0x16')]=_0x41b0b8['starttime'];this[_0xf57c('0x17')]=_0x41b0b8[_0xf57c('0x17')];this['endtime']=moment()[_0xf57c('0x18')](_0xf57c('0x19'));this[_0xf57c('0x1a')]=utils[_0xf57c('0x1b')](_0x41b0b8[_0xf57c('0x17')],_0x41b0b8['starttime']);this[_0xf57c('0x1c')]=0x0;this[_0xf57c('0x1d')]=utils[_0xf57c('0x1b')](this['endtime'],_0x41b0b8['responsetime']);this[_0xf57c('0x1e')]=_0x41b0b8[_0xf57c('0x1e')];this[_0xf57c('0x1f')]=_0xf57c('0x20');this[_0xf57c('0x21')]=_0x182ad5[_0xf57c('0x22')];this[_0xf57c('0x23')]=_0x41b0b8[_0xf57c('0x23')];this[_0xf57c('0x24')]=_0x41b0b8['callbackuniqueid'];this[_0xf57c('0x25')]=_0x41b0b8[_0xf57c('0x25')];this['recallme']=_0x41b0b8['recallme'];this[_0xf57c('0x26')]=_0x41b0b8['ContactId'];this[_0xf57c('0x27')]=_0x41b0b8[_0xf57c('0x27')];this[_0xf57c('0x28')]=_0x41b0b8['UserId'];this[_0xf57c('0x29')]=_0x41b0b8[_0xf57c('0x29')];this['CampaignId']=_0x41b0b8[_0xf57c('0x2a')];}module[_0xf57c('0x2b')]=Hangup;
\ No newline at end of file
+var _0x158a=['ListId','UserId','VoiceQueueId','CampaignId','exports','moment','../utils','state','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','amd','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','uniqueid','calleridname','calleridnum','number','starttime','responsetime','format','YYYY-MM-DD\x20HH:mm:ss','ringtime','holdtime','getSeconds','endtime','membername','IVR','reason','callback','callbackat','recallme','ContactId'];(function(_0x44f724,_0x366e0e){var _0x4d4063=function(_0x35c6dc){while(--_0x35c6dc){_0x44f724['push'](_0x44f724['shift']());}};_0x4d4063(++_0x366e0e);}(_0x158a,0xe1));var _0xa158=function(_0x1cac0a,_0x38be46){_0x1cac0a=_0x1cac0a-0x0;var _0x49a72c=_0x158a[_0x1cac0a];return _0x49a72c;};'use strict';var moment=require(_0xa158('0x0'));var utils=require(_0xa158('0x1'));function Hangup(_0x5376bd,_0x564d82){this[_0xa158('0x2')]=0x4;this[_0xa158('0x3')]=_0xa158('0x4');this['scheduledat']=_0x5376bd[_0xa158('0x5')];this[_0xa158('0x6')]=_0x5376bd['type'];this[_0xa158('0x7')]=_0x5376bd[_0xa158('0x6')]===_0xa158('0x8')?_0xa158('0x9'):_0x5376bd[_0xa158('0x6')];this[_0xa158('0xa')]=_0x5376bd['amd']||![];this[_0xa158('0xb')]=_0x5376bd[_0xa158('0xb')];this['countcongestionretry']=_0x5376bd[_0xa158('0xc')];this[_0xa158('0xd')]=_0x5376bd['countnoanswerretry'];this[_0xa158('0xe')]=_0x5376bd[_0xa158('0xb')]+_0x5376bd[_0xa158('0xc')]+_0x5376bd[_0xa158('0xd')]+_0x5376bd[_0xa158('0xf')]+_0x5376bd['countdropretry']+_0x5376bd[_0xa158('0x10')]+_0x5376bd[_0xa158('0x11')]+_0x5376bd[_0xa158('0x12')];this[_0xa158('0xf')]=_0x5376bd[_0xa158('0xf')];this[_0xa158('0x13')]=_0x5376bd['countdropretry'];this[_0xa158('0x10')]=_0x5376bd['countabandonedretry'];this['countmachineretry']=_0x5376bd[_0xa158('0x11')];this[_0xa158('0x12')]=_0x5376bd[_0xa158('0x12')];this[_0xa158('0x14')]=_0x564d82[_0xa158('0x14')];this[_0xa158('0x15')]=_0x5376bd['name'];this[_0xa158('0x16')]=_0x5376bd[_0xa158('0x17')];this[_0xa158('0x18')]=_0x5376bd[_0xa158('0x18')];this[_0xa158('0x19')]=_0x5376bd[_0xa158('0x19')];this['endtime']=moment()[_0xa158('0x1a')](_0xa158('0x1b'));this[_0xa158('0x1c')]=utils['getSeconds'](_0x5376bd[_0xa158('0x19')],_0x5376bd[_0xa158('0x18')]);this[_0xa158('0x1d')]=0x0;this['talktime']=utils[_0xa158('0x1e')](this[_0xa158('0x1f')],_0x5376bd[_0xa158('0x19')]);this[_0xa158('0x9')]=_0x5376bd[_0xa158('0x9')];this[_0xa158('0x20')]=_0xa158('0x21');this[_0xa158('0x22')]=_0x564d82['cause-txt'];this[_0xa158('0x23')]=_0x5376bd['callback'];this['callbackuniqueid']=_0x5376bd['callbackuniqueid'];this['callbackat']=_0x5376bd[_0xa158('0x24')];this[_0xa158('0x25')]=_0x5376bd[_0xa158('0x25')];this[_0xa158('0x26')]=_0x5376bd[_0xa158('0x26')];this[_0xa158('0x27')]=_0x5376bd['ListId'];this[_0xa158('0x28')]=_0x5376bd['UserId'];this[_0xa158('0x29')]=_0x5376bd[_0xa158('0x29')];this[_0xa158('0x2a')]=_0x5376bd[_0xa158('0x2a')];}module[_0xa158('0x2b')]=Hangup;
\ No newline at end of file