Built motion from commit 0bd120ac.|2.6.25
[motion2.git] / server / services / ami / dialer / models / hangup.js
index 8408dd8..e56a3e5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5f19=['recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','moment','../utils','state','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','amd','countbusyretry','countnoanswerretry','countglobal','countcongestionretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','starttime','responsetime','format','YYYY-MM-DD\x20HH:mm:ss','ringtime','getSeconds','holdtime','talktime','endtime','IVR','reason','cause-txt','callback','callbackat'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5f19,0x87));var _0x95f1=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x5f19[_0x465a0c];return _0x1e202e;};'use strict';var moment=require(_0x95f1('0x0'));var utils=require(_0x95f1('0x1'));function Hangup(_0xf15562,_0xd6c96a){this[_0x95f1('0x2')]=0x4;this[_0x95f1('0x3')]=_0x95f1('0x4');this[_0x95f1('0x5')]=_0xf15562['scheduledat'];this[_0x95f1('0x6')]=_0xf15562[_0x95f1('0x6')];this[_0x95f1('0x7')]=_0xf15562[_0x95f1('0x6')]===_0x95f1('0x8')?_0x95f1('0x9'):_0xf15562['type'];this[_0x95f1('0xa')]=_0xf15562[_0x95f1('0xa')]||![];this['countbusyretry']=_0xf15562[_0x95f1('0xb')];this['countcongestionretry']=_0xf15562['countcongestionretry'];this[_0x95f1('0xc')]=_0xf15562[_0x95f1('0xc')];this[_0x95f1('0xd')]=_0xf15562['countbusyretry']+_0xf15562[_0x95f1('0xe')]+_0xf15562[_0x95f1('0xc')]+_0xf15562[_0x95f1('0xf')]+_0xf15562[_0x95f1('0x10')]+_0xf15562[_0x95f1('0x11')]+_0xf15562[_0x95f1('0x12')]+_0xf15562['countagentrejectretry'];this[_0x95f1('0xf')]=_0xf15562[_0x95f1('0xf')];this[_0x95f1('0x10')]=_0xf15562[_0x95f1('0x10')];this['countabandonedretry']=_0xf15562[_0x95f1('0x11')];this[_0x95f1('0x12')]=_0xf15562[_0x95f1('0x12')];this[_0x95f1('0x13')]=_0xf15562[_0x95f1('0x13')];this[_0x95f1('0x14')]=_0xd6c96a[_0x95f1('0x14')];this[_0x95f1('0x15')]=_0xf15562[_0x95f1('0x16')];this['calleridnum']=_0xf15562['number'];this[_0x95f1('0x17')]=_0xf15562[_0x95f1('0x17')];this[_0x95f1('0x18')]=_0xf15562['responsetime'];this['endtime']=moment()[_0x95f1('0x19')](_0x95f1('0x1a'));this[_0x95f1('0x1b')]=utils[_0x95f1('0x1c')](_0xf15562['responsetime'],_0xf15562[_0x95f1('0x17')]);this[_0x95f1('0x1d')]=0x0;this[_0x95f1('0x1e')]=utils[_0x95f1('0x1c')](this[_0x95f1('0x1f')],_0xf15562[_0x95f1('0x18')]);this['queue']=_0xf15562[_0x95f1('0x9')];this['membername']=_0x95f1('0x20');this[_0x95f1('0x21')]=_0xd6c96a[_0x95f1('0x22')];this['callback']=_0xf15562[_0x95f1('0x23')];this['callbackuniqueid']=_0xf15562['callbackuniqueid'];this[_0x95f1('0x24')]=_0xf15562[_0x95f1('0x24')];this['recallme']=_0xf15562[_0x95f1('0x25')];this[_0x95f1('0x26')]=_0xf15562['ContactId'];this[_0x95f1('0x27')]=_0xf15562[_0x95f1('0x27')];this[_0x95f1('0x28')]=_0xf15562['UserId'];this['VoiceQueueId']=_0xf15562[_0x95f1('0x29')];this['CampaignId']=_0xf15562[_0x95f1('0x2a')];}module['exports']=Hangup;
\ No newline at end of file
+var _0x5f30=['name','calleridnum','starttime','responsetime','format','YYYY-MM-DD\x20HH:mm:ss','ringtime','getSeconds','holdtime','talktime','endtime','membername','reason','cause-txt','callback','callbackuniqueid','callbackat','recallme','ContactId','UserId','VoiceQueueId','CampaignId','exports','moment','Answer','scheduledat','type','campaigntype','outbound','queue','amd','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','countdropretry','uniqueid','calleridname'];(function(_0x40632f,_0x38ba11){var _0x399524=function(_0x1eae59){while(--_0x1eae59){_0x40632f['push'](_0x40632f['shift']());}};_0x399524(++_0x38ba11);}(_0x5f30,0xe9));var _0x05f3=function(_0x528990,_0x281472){_0x528990=_0x528990-0x0;var _0x5d7bb2=_0x5f30[_0x528990];return _0x5d7bb2;};'use strict';var moment=require(_0x05f3('0x0'));var utils=require('../utils');function Hangup(_0x56dc4f,_0x229bfb){this['state']=0x4;this['statedesc']=_0x05f3('0x1');this[_0x05f3('0x2')]=_0x56dc4f[_0x05f3('0x2')];this['type']=_0x56dc4f[_0x05f3('0x3')];this[_0x05f3('0x4')]=_0x56dc4f[_0x05f3('0x3')]===_0x05f3('0x5')?_0x05f3('0x6'):_0x56dc4f[_0x05f3('0x3')];this[_0x05f3('0x7')]=_0x56dc4f[_0x05f3('0x7')]||![];this[_0x05f3('0x8')]=_0x56dc4f[_0x05f3('0x8')];this[_0x05f3('0x9')]=_0x56dc4f[_0x05f3('0x9')];this[_0x05f3('0xa')]=_0x56dc4f[_0x05f3('0xa')];this[_0x05f3('0xb')]=_0x56dc4f['countbusyretry']+_0x56dc4f[_0x05f3('0x9')]+_0x56dc4f['countnoanswerretry']+_0x56dc4f[_0x05f3('0xc')]+_0x56dc4f['countdropretry']+_0x56dc4f[_0x05f3('0xd')]+_0x56dc4f[_0x05f3('0xe')]+_0x56dc4f[_0x05f3('0xf')];this[_0x05f3('0xc')]=_0x56dc4f[_0x05f3('0xc')];this[_0x05f3('0x10')]=_0x56dc4f[_0x05f3('0x10')];this[_0x05f3('0xd')]=_0x56dc4f[_0x05f3('0xd')];this[_0x05f3('0xe')]=_0x56dc4f[_0x05f3('0xe')];this[_0x05f3('0xf')]=_0x56dc4f[_0x05f3('0xf')];this[_0x05f3('0x11')]=_0x229bfb[_0x05f3('0x11')];this[_0x05f3('0x12')]=_0x56dc4f[_0x05f3('0x13')];this[_0x05f3('0x14')]=_0x56dc4f['number'];this[_0x05f3('0x15')]=_0x56dc4f[_0x05f3('0x15')];this[_0x05f3('0x16')]=_0x56dc4f['responsetime'];this['endtime']=moment()[_0x05f3('0x17')](_0x05f3('0x18'));this[_0x05f3('0x19')]=utils[_0x05f3('0x1a')](_0x56dc4f[_0x05f3('0x16')],_0x56dc4f['starttime']);this[_0x05f3('0x1b')]=0x0;this[_0x05f3('0x1c')]=utils[_0x05f3('0x1a')](this[_0x05f3('0x1d')],_0x56dc4f[_0x05f3('0x16')]);this[_0x05f3('0x6')]=_0x56dc4f[_0x05f3('0x6')];this[_0x05f3('0x1e')]='IVR';this[_0x05f3('0x1f')]=_0x229bfb[_0x05f3('0x20')];this[_0x05f3('0x21')]=_0x56dc4f[_0x05f3('0x21')];this[_0x05f3('0x22')]=_0x56dc4f[_0x05f3('0x22')];this[_0x05f3('0x23')]=_0x56dc4f[_0x05f3('0x23')];this['recallme']=_0x56dc4f[_0x05f3('0x24')];this[_0x05f3('0x25')]=_0x56dc4f[_0x05f3('0x25')];this['ListId']=_0x56dc4f['ListId'];this[_0x05f3('0x26')]=_0x56dc4f[_0x05f3('0x26')];this[_0x05f3('0x27')]=_0x56dc4f[_0x05f3('0x27')];this[_0x05f3('0x28')]=_0x56dc4f[_0x05f3('0x28')];}module[_0x05f3('0x29')]=Hangup;
\ No newline at end of file