Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / services / ami / dialer / models / hangup.js
index 34c1381..a4467d6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdbd7=['recallme','ListId','UserId','VoiceQueueId','CampaignId','exports','../utils','state','Answer','scheduledat','type','outbound','queue','amd','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countmachineretry','countagentrejectretry','countabandonedretry','uniqueid','calleridname','name','calleridnum','number','starttime','responsetime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','ringtime','getSeconds','IVR','cause-txt','callback','callbackuniqueid','callbackat'];(function(_0x5f51d6,_0x4a1d66){var _0x460bd8=function(_0x9ad823){while(--_0x9ad823){_0x5f51d6['push'](_0x5f51d6['shift']());}};_0x460bd8(++_0x4a1d66);}(_0xdbd7,0x11e));var _0x7dbd=function(_0x396c72,_0x4e1ee3){_0x396c72=_0x396c72-0x0;var _0x38a51a=_0xdbd7[_0x396c72];return _0x38a51a;};'use strict';var moment=require('moment');var utils=require(_0x7dbd('0x0'));function Hangup(_0x1476e9,_0x1d86f6){this[_0x7dbd('0x1')]=0x4;this['statedesc']=_0x7dbd('0x2');this[_0x7dbd('0x3')]=_0x1476e9[_0x7dbd('0x3')];this['type']=_0x1476e9[_0x7dbd('0x4')];this['campaigntype']=_0x1476e9[_0x7dbd('0x4')]===_0x7dbd('0x5')?_0x7dbd('0x6'):_0x1476e9[_0x7dbd('0x4')];this[_0x7dbd('0x7')]=_0x1476e9['amd']||![];this['countbusyretry']=_0x1476e9[_0x7dbd('0x8')];this[_0x7dbd('0x9')]=_0x1476e9[_0x7dbd('0x9')];this[_0x7dbd('0xa')]=_0x1476e9[_0x7dbd('0xa')];this[_0x7dbd('0xb')]=_0x1476e9[_0x7dbd('0x8')]+_0x1476e9[_0x7dbd('0x9')]+_0x1476e9[_0x7dbd('0xa')]+_0x1476e9[_0x7dbd('0xc')]+_0x1476e9[_0x7dbd('0xd')]+_0x1476e9['countabandonedretry']+_0x1476e9[_0x7dbd('0xe')]+_0x1476e9[_0x7dbd('0xf')];this['countnosuchnumberretry']=_0x1476e9[_0x7dbd('0xc')];this[_0x7dbd('0xd')]=_0x1476e9['countdropretry'];this[_0x7dbd('0x10')]=_0x1476e9['countabandonedretry'];this['countmachineretry']=_0x1476e9[_0x7dbd('0xe')];this[_0x7dbd('0xf')]=_0x1476e9['countagentrejectretry'];this[_0x7dbd('0x11')]=_0x1d86f6[_0x7dbd('0x11')];this[_0x7dbd('0x12')]=_0x1476e9[_0x7dbd('0x13')];this[_0x7dbd('0x14')]=_0x1476e9[_0x7dbd('0x15')];this[_0x7dbd('0x16')]=_0x1476e9['starttime'];this[_0x7dbd('0x17')]=_0x1476e9['responsetime'];this[_0x7dbd('0x18')]=moment()[_0x7dbd('0x19')](_0x7dbd('0x1a'));this[_0x7dbd('0x1b')]=utils[_0x7dbd('0x1c')](_0x1476e9[_0x7dbd('0x17')],_0x1476e9[_0x7dbd('0x16')]);this['holdtime']=0x0;this['talktime']=utils[_0x7dbd('0x1c')](this[_0x7dbd('0x18')],_0x1476e9['responsetime']);this[_0x7dbd('0x6')]=_0x1476e9[_0x7dbd('0x6')];this['membername']=_0x7dbd('0x1d');this['reason']=_0x1d86f6[_0x7dbd('0x1e')];this[_0x7dbd('0x1f')]=_0x1476e9['callback'];this[_0x7dbd('0x20')]=_0x1476e9[_0x7dbd('0x20')];this['callbackat']=_0x1476e9[_0x7dbd('0x21')];this[_0x7dbd('0x22')]=_0x1476e9[_0x7dbd('0x22')];this['ContactId']=_0x1476e9['ContactId'];this[_0x7dbd('0x23')]=_0x1476e9[_0x7dbd('0x23')];this[_0x7dbd('0x24')]=_0x1476e9[_0x7dbd('0x24')];this[_0x7dbd('0x25')]=_0x1476e9[_0x7dbd('0x25')];this[_0x7dbd('0x26')]=_0x1476e9['CampaignId'];}module[_0x7dbd('0x27')]=Hangup;
\ No newline at end of file
+var _0x93eb=['Answer','scheduledat','type','outbound','amd','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','uniqueid','calleridname','calleridnum','number','starttime','responsetime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','getSeconds','holdtime','queue','membername','IVR','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','VoiceQueueId','CampaignId','../utils','state','statedesc'];(function(_0x128a73,_0x26c676){var _0x210caa=function(_0x47ac0f){while(--_0x47ac0f){_0x128a73['push'](_0x128a73['shift']());}};_0x210caa(++_0x26c676);}(_0x93eb,0x1b5));var _0xb93e=function(_0x413feb,_0x10477f){_0x413feb=_0x413feb-0x0;var _0x40ee88=_0x93eb[_0x413feb];return _0x40ee88;};'use strict';var moment=require('moment');var utils=require(_0xb93e('0x0'));function Hangup(_0x9ae2c6,_0x3b955f){this[_0xb93e('0x1')]=0x4;this[_0xb93e('0x2')]=_0xb93e('0x3');this[_0xb93e('0x4')]=_0x9ae2c6[_0xb93e('0x4')];this[_0xb93e('0x5')]=_0x9ae2c6[_0xb93e('0x5')];this['campaigntype']=_0x9ae2c6[_0xb93e('0x5')]===_0xb93e('0x6')?'queue':_0x9ae2c6[_0xb93e('0x5')];this[_0xb93e('0x7')]=_0x9ae2c6[_0xb93e('0x7')]||![];this['countbusyretry']=_0x9ae2c6[_0xb93e('0x8')];this[_0xb93e('0x9')]=_0x9ae2c6['countcongestionretry'];this[_0xb93e('0xa')]=_0x9ae2c6[_0xb93e('0xa')];this[_0xb93e('0xb')]=_0x9ae2c6[_0xb93e('0x8')]+_0x9ae2c6[_0xb93e('0x9')]+_0x9ae2c6[_0xb93e('0xa')]+_0x9ae2c6['countnosuchnumberretry']+_0x9ae2c6[_0xb93e('0xc')]+_0x9ae2c6[_0xb93e('0xd')]+_0x9ae2c6[_0xb93e('0xe')]+_0x9ae2c6[_0xb93e('0xf')];this[_0xb93e('0x10')]=_0x9ae2c6[_0xb93e('0x10')];this['countdropretry']=_0x9ae2c6['countdropretry'];this[_0xb93e('0xd')]=_0x9ae2c6[_0xb93e('0xd')];this[_0xb93e('0xe')]=_0x9ae2c6['countmachineretry'];this[_0xb93e('0xf')]=_0x9ae2c6[_0xb93e('0xf')];this[_0xb93e('0x11')]=_0x3b955f['uniqueid'];this[_0xb93e('0x12')]=_0x9ae2c6['name'];this[_0xb93e('0x13')]=_0x9ae2c6[_0xb93e('0x14')];this[_0xb93e('0x15')]=_0x9ae2c6[_0xb93e('0x15')];this[_0xb93e('0x16')]=_0x9ae2c6[_0xb93e('0x16')];this[_0xb93e('0x17')]=moment()[_0xb93e('0x18')](_0xb93e('0x19'));this['ringtime']=utils[_0xb93e('0x1a')](_0x9ae2c6['responsetime'],_0x9ae2c6[_0xb93e('0x15')]);this[_0xb93e('0x1b')]=0x0;this['talktime']=utils['getSeconds'](this[_0xb93e('0x17')],_0x9ae2c6['responsetime']);this[_0xb93e('0x1c')]=_0x9ae2c6[_0xb93e('0x1c')];this[_0xb93e('0x1d')]=_0xb93e('0x1e');this[_0xb93e('0x1f')]=_0x3b955f['cause-txt'];this['callback']=_0x9ae2c6[_0xb93e('0x20')];this[_0xb93e('0x21')]=_0x9ae2c6[_0xb93e('0x21')];this[_0xb93e('0x22')]=_0x9ae2c6[_0xb93e('0x22')];this['recallme']=_0x9ae2c6[_0xb93e('0x23')];this[_0xb93e('0x24')]=_0x9ae2c6[_0xb93e('0x24')];this[_0xb93e('0x25')]=_0x9ae2c6['ListId'];this['UserId']=_0x9ae2c6['UserId'];this[_0xb93e('0x26')]=_0x9ae2c6[_0xb93e('0x26')];this[_0xb93e('0x27')]=_0x9ae2c6['CampaignId'];}module['exports']=Hangup;
\ No newline at end of file