Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / services / ami / dialer / models / hangup.js
index 05a8938..8d46e40 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9fde=['../utils','state','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','amd','countbusyretry','countcongestionretry','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','getSeconds','holdtime','talktime','membername','IVR','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','moment'];(function(_0x804071,_0x1c5f98){var _0x43a063=function(_0x4dbab3){while(--_0x4dbab3){_0x804071['push'](_0x804071['shift']());}};_0x43a063(++_0x1c5f98);}(_0x9fde,0x125));var _0xe9fd=function(_0xee5d2a,_0x534134){_0xee5d2a=_0xee5d2a-0x0;var _0x346948=_0x9fde[_0xee5d2a];return _0x346948;};'use strict';var moment=require(_0xe9fd('0x0'));var utils=require(_0xe9fd('0x1'));function Hangup(_0x16ca26,_0x577107){this[_0xe9fd('0x2')]=0x4;this[_0xe9fd('0x3')]=_0xe9fd('0x4');this[_0xe9fd('0x5')]=_0x16ca26[_0xe9fd('0x5')];this['type']=_0x16ca26[_0xe9fd('0x6')];this[_0xe9fd('0x7')]=_0x16ca26[_0xe9fd('0x6')]===_0xe9fd('0x8')?_0xe9fd('0x9'):_0x16ca26[_0xe9fd('0x6')];this[_0xe9fd('0xa')]=_0x16ca26['amd']||![];this[_0xe9fd('0xb')]=_0x16ca26[_0xe9fd('0xb')];this[_0xe9fd('0xc')]=_0x16ca26[_0xe9fd('0xc')];this['countnoanswerretry']=_0x16ca26['countnoanswerretry'];this['countglobal']=_0x16ca26[_0xe9fd('0xb')]+_0x16ca26[_0xe9fd('0xc')]+_0x16ca26['countnoanswerretry']+_0x16ca26[_0xe9fd('0xd')]+_0x16ca26[_0xe9fd('0xe')]+_0x16ca26[_0xe9fd('0xf')]+_0x16ca26['countmachineretry']+_0x16ca26[_0xe9fd('0x10')];this[_0xe9fd('0xd')]=_0x16ca26['countnosuchnumberretry'];this[_0xe9fd('0xe')]=_0x16ca26[_0xe9fd('0xe')];this[_0xe9fd('0xf')]=_0x16ca26['countabandonedretry'];this['countmachineretry']=_0x16ca26['countmachineretry'];this[_0xe9fd('0x10')]=_0x16ca26[_0xe9fd('0x10')];this['uniqueid']=_0x577107[_0xe9fd('0x11')];this[_0xe9fd('0x12')]=_0x16ca26[_0xe9fd('0x13')];this[_0xe9fd('0x14')]=_0x16ca26[_0xe9fd('0x15')];this[_0xe9fd('0x16')]=_0x16ca26[_0xe9fd('0x16')];this['responsetime']=_0x16ca26[_0xe9fd('0x17')];this[_0xe9fd('0x18')]=moment()[_0xe9fd('0x19')](_0xe9fd('0x1a'));this['ringtime']=utils[_0xe9fd('0x1b')](_0x16ca26[_0xe9fd('0x17')],_0x16ca26[_0xe9fd('0x16')]);this[_0xe9fd('0x1c')]=0x0;this[_0xe9fd('0x1d')]=utils[_0xe9fd('0x1b')](this[_0xe9fd('0x18')],_0x16ca26[_0xe9fd('0x17')]);this[_0xe9fd('0x9')]=_0x16ca26['queue'];this[_0xe9fd('0x1e')]=_0xe9fd('0x1f');this[_0xe9fd('0x20')]=_0x577107['cause-txt'];this[_0xe9fd('0x21')]=_0x16ca26['callback'];this[_0xe9fd('0x22')]=_0x16ca26[_0xe9fd('0x22')];this[_0xe9fd('0x23')]=_0x16ca26[_0xe9fd('0x23')];this[_0xe9fd('0x24')]=_0x16ca26[_0xe9fd('0x24')];this[_0xe9fd('0x25')]=_0x16ca26[_0xe9fd('0x25')];this[_0xe9fd('0x26')]=_0x16ca26[_0xe9fd('0x26')];this[_0xe9fd('0x27')]=_0x16ca26[_0xe9fd('0x27')];this[_0xe9fd('0x28')]=_0x16ca26[_0xe9fd('0x28')];this[_0xe9fd('0x29')]=_0x16ca26[_0xe9fd('0x29')];}module['exports']=Hangup;
\ No newline at end of file
+var _0xd91a=['countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countabandonedretry','countagentrejectretry','countdropretry','countmachineretry','uniqueid','calleridname','calleridnum','starttime','responsetime','endtime','format','ringtime','getSeconds','talktime','IVR','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','exports','../utils','state','Answer','scheduledat','type','queue','amd'];(function(_0x53374a,_0x2e18cf){var _0x1a86c1=function(_0x4fc2b3){while(--_0x4fc2b3){_0x53374a['push'](_0x53374a['shift']());}};_0x1a86c1(++_0x2e18cf);}(_0xd91a,0x8d));var _0xad91=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd91a[_0x20a584];return _0x4b41a8;};'use strict';var moment=require('moment');var utils=require(_0xad91('0x0'));function Hangup(_0x719644,_0x4341ba){this[_0xad91('0x1')]=0x4;this['statedesc']=_0xad91('0x2');this[_0xad91('0x3')]=_0x719644['scheduledat'];this[_0xad91('0x4')]=_0x719644[_0xad91('0x4')];this['campaigntype']=_0x719644[_0xad91('0x4')]==='outbound'?_0xad91('0x5'):_0x719644[_0xad91('0x4')];this[_0xad91('0x6')]=_0x719644['amd']||![];this[_0xad91('0x7')]=_0x719644[_0xad91('0x7')];this[_0xad91('0x8')]=_0x719644[_0xad91('0x8')];this[_0xad91('0x9')]=_0x719644[_0xad91('0x9')];this['countglobal']=_0x719644[_0xad91('0x7')]+_0x719644['countcongestionretry']+_0x719644[_0xad91('0x9')]+_0x719644[_0xad91('0xa')]+_0x719644['countdropretry']+_0x719644[_0xad91('0xb')]+_0x719644['countmachineretry']+_0x719644[_0xad91('0xc')];this['countnosuchnumberretry']=_0x719644[_0xad91('0xa')];this[_0xad91('0xd')]=_0x719644[_0xad91('0xd')];this[_0xad91('0xb')]=_0x719644[_0xad91('0xb')];this[_0xad91('0xe')]=_0x719644[_0xad91('0xe')];this['countagentrejectretry']=_0x719644[_0xad91('0xc')];this[_0xad91('0xf')]=_0x4341ba[_0xad91('0xf')];this[_0xad91('0x10')]=_0x719644['name'];this[_0xad91('0x11')]=_0x719644['number'];this[_0xad91('0x12')]=_0x719644[_0xad91('0x12')];this['responsetime']=_0x719644[_0xad91('0x13')];this[_0xad91('0x14')]=moment()[_0xad91('0x15')]('YYYY-MM-DD\x20HH:mm:ss');this[_0xad91('0x16')]=utils[_0xad91('0x17')](_0x719644[_0xad91('0x13')],_0x719644[_0xad91('0x12')]);this['holdtime']=0x0;this[_0xad91('0x18')]=utils[_0xad91('0x17')](this[_0xad91('0x14')],_0x719644[_0xad91('0x13')]);this[_0xad91('0x5')]=_0x719644[_0xad91('0x5')];this['membername']=_0xad91('0x19');this[_0xad91('0x1a')]=_0x4341ba['cause-txt'];this[_0xad91('0x1b')]=_0x719644[_0xad91('0x1b')];this[_0xad91('0x1c')]=_0x719644[_0xad91('0x1c')];this[_0xad91('0x1d')]=_0x719644[_0xad91('0x1d')];this[_0xad91('0x1e')]=_0x719644[_0xad91('0x1e')];this[_0xad91('0x1f')]=_0x719644[_0xad91('0x1f')];this[_0xad91('0x20')]=_0x719644[_0xad91('0x20')];this[_0xad91('0x21')]=_0x719644[_0xad91('0x21')];this[_0xad91('0x22')]=_0x719644['VoiceQueueId'];this[_0xad91('0x23')]=_0x719644[_0xad91('0x23')];}module[_0xad91('0x24')]=Hangup;
\ No newline at end of file