Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / ami / dialer / additionalPhone.js
index b56a8a2..56fec63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa90f=['queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','calleridname','name','calleridnum','starttime','responsetime','endtime','ringtime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds','diff','uniqueid','scheduledat','type','campaigntype','outbound'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0xa90f,0x17c));var _0xfa90=function(_0x5a69ab,_0x610049){_0x5a69ab=_0x5a69ab-0x0;var _0x27f2f7=_0xa90f[_0x5a69ab];return _0x27f2f7;};'use strict';var util=require(_0xfa90('0x0'));var _=require(_0xfa90('0x1'));var moment=require(_0xfa90('0x2'));function getSeconds(_0x576575,_0x540d9a){var _0x3943c4=moment(_0x576575)[_0xfa90('0x3')](0x0);var _0x4565fe=moment(_0x540d9a)['milliseconds'](0x0);return _0x3943c4[_0xfa90('0x4')](_0x4565fe,'seconds');}function AdditionalPhone(_0x262519){this[_0xfa90('0x5')]=_0x262519['uniqueid'];this[_0xfa90('0x6')]=_0x262519['scheduledat']||undefined;this[_0xfa90('0x7')]=_0x262519[_0xfa90('0x7')];this[_0xfa90('0x8')]=_0x262519[_0xfa90('0x7')]===_0xfa90('0x9')?_0xfa90('0xa'):_0x262519[_0xfa90('0x7')];this[_0xfa90('0xb')]=_0x262519[_0xfa90('0xb')];this['countcongestionretry']=_0x262519[_0xfa90('0xc')];this['countnoanswerretry']=_0x262519[_0xfa90('0xd')];this[_0xfa90('0xe')]=_0x262519[_0xfa90('0xb')]+_0x262519['countcongestionretry']+_0x262519[_0xfa90('0xd')]+_0x262519['countnosuchnumberretry']+_0x262519[_0xfa90('0xf')]+_0x262519[_0xfa90('0x10')]+_0x262519[_0xfa90('0x11')]+_0x262519[_0xfa90('0x12')];this[_0xfa90('0x13')]=_0x262519[_0xfa90('0x13')];this['countdropretry']=_0x262519[_0xfa90('0xf')];this[_0xfa90('0x10')]=_0x262519[_0xfa90('0x10')];this[_0xfa90('0x11')]=_0x262519[_0xfa90('0x11')];this[_0xfa90('0x12')]=_0x262519[_0xfa90('0x12')];this[_0xfa90('0xa')]=_0x262519[_0xfa90('0xa')];this[_0xfa90('0x14')]=_0x262519[_0xfa90('0x15')];this[_0xfa90('0x16')]=_0x262519['number'];this['starttime']=_0x262519[_0xfa90('0x17')];this[_0xfa90('0x18')]=_0x262519[_0xfa90('0x18')];this[_0xfa90('0x19')]=_0x262519[_0xfa90('0x18')];this[_0xfa90('0x1a')]=getSeconds(_0x262519[_0xfa90('0x18')],_0x262519[_0xfa90('0x17')]);this['holdtime']=0x0;this['talktime']=0x0;this[_0xfa90('0x1b')]=_0x262519[_0xfa90('0x1b')];this['callbackuniqueid']=_0x262519[_0xfa90('0x1c')];this[_0xfa90('0x1d')]=_0x262519[_0xfa90('0x1d')];this[_0xfa90('0x1e')]=_0x262519[_0xfa90('0x1e')];this[_0xfa90('0x1f')]=_0x262519[_0xfa90('0x1f')];this[_0xfa90('0x20')]=_0x262519[_0xfa90('0x20')];this[_0xfa90('0x21')]=_0x262519[_0xfa90('0x21')];this[_0xfa90('0x22')]=_0x262519[_0xfa90('0x22')];this['CampaignId']=_0x262519[_0xfa90('0x23')];this[_0xfa90('0x24')]=_0x262519['originatecalleridnum']||'';this['originatecalleridname']=_0x262519[_0xfa90('0x25')]||'';}module[_0xfa90('0x26')]=History;
\ No newline at end of file
+var _0x8f9e=['callbackat','recallme','ContactId','UserId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','milliseconds','diff','seconds','uniqueid','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countglobal','countdropretry','countabandonedretry','countmachineretry','calleridname','name','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid'];(function(_0x322d30,_0x1c20f5){var _0x129079=function(_0x2a98f1){while(--_0x2a98f1){_0x322d30['push'](_0x322d30['shift']());}};_0x129079(++_0x1c20f5);}(_0x8f9e,0xb7));var _0xe8f9=function(_0x26297c,_0x25e593){_0x26297c=_0x26297c-0x0;var _0x47c4c1=_0x8f9e[_0x26297c];return _0x47c4c1;};'use strict';var util=require(_0xe8f9('0x0'));var _=require(_0xe8f9('0x1'));var moment=require('moment');function getSeconds(_0x54d39c,_0x314e63){var _0x5bf3aa=moment(_0x54d39c)['milliseconds'](0x0);var _0x3b3688=moment(_0x314e63)[_0xe8f9('0x2')](0x0);return _0x5bf3aa[_0xe8f9('0x3')](_0x3b3688,_0xe8f9('0x4'));}function AdditionalPhone(_0x231a5f){this[_0xe8f9('0x5')]=_0x231a5f[_0xe8f9('0x5')];this[_0xe8f9('0x6')]=_0x231a5f[_0xe8f9('0x6')]||undefined;this[_0xe8f9('0x7')]=_0x231a5f[_0xe8f9('0x7')];this['campaigntype']=_0x231a5f[_0xe8f9('0x7')]===_0xe8f9('0x8')?_0xe8f9('0x9'):_0x231a5f['type'];this[_0xe8f9('0xa')]=_0x231a5f[_0xe8f9('0xa')];this[_0xe8f9('0xb')]=_0x231a5f[_0xe8f9('0xb')];this['countnoanswerretry']=_0x231a5f['countnoanswerretry'];this[_0xe8f9('0xc')]=_0x231a5f[_0xe8f9('0xa')]+_0x231a5f[_0xe8f9('0xb')]+_0x231a5f['countnoanswerretry']+_0x231a5f['countnosuchnumberretry']+_0x231a5f[_0xe8f9('0xd')]+_0x231a5f[_0xe8f9('0xe')]+_0x231a5f[_0xe8f9('0xf')]+_0x231a5f['countagentrejectretry'];this['countnosuchnumberretry']=_0x231a5f['countnosuchnumberretry'];this[_0xe8f9('0xd')]=_0x231a5f[_0xe8f9('0xd')];this[_0xe8f9('0xe')]=_0x231a5f[_0xe8f9('0xe')];this[_0xe8f9('0xf')]=_0x231a5f[_0xe8f9('0xf')];this['countagentrejectretry']=_0x231a5f['countagentrejectretry'];this[_0xe8f9('0x9')]=_0x231a5f[_0xe8f9('0x9')];this[_0xe8f9('0x10')]=_0x231a5f[_0xe8f9('0x11')];this[_0xe8f9('0x12')]=_0x231a5f['number'];this[_0xe8f9('0x13')]=_0x231a5f['starttime'];this['responsetime']=_0x231a5f[_0xe8f9('0x14')];this[_0xe8f9('0x15')]=_0x231a5f[_0xe8f9('0x14')];this[_0xe8f9('0x16')]=getSeconds(_0x231a5f['responsetime'],_0x231a5f[_0xe8f9('0x13')]);this[_0xe8f9('0x17')]=0x0;this[_0xe8f9('0x18')]=0x0;this[_0xe8f9('0x19')]=_0x231a5f['callback'];this[_0xe8f9('0x1a')]=_0x231a5f[_0xe8f9('0x1a')];this[_0xe8f9('0x1b')]=_0x231a5f[_0xe8f9('0x1b')];this['recallme']=_0x231a5f[_0xe8f9('0x1c')];this[_0xe8f9('0x1d')]=_0x231a5f['ContactId'];this['ListId']=_0x231a5f['ListId'];this[_0xe8f9('0x1e')]=_0x231a5f['UserId'];this['VoiceQueueId']=_0x231a5f['VoiceQueueId'];this[_0xe8f9('0x1f')]=_0x231a5f[_0xe8f9('0x1f')];this[_0xe8f9('0x20')]=_0x231a5f['originatecalleridnum']||'';this['originatecalleridname']=_0x231a5f[_0xe8f9('0x21')]||'';}module[_0xe8f9('0x22')]=History;
\ No newline at end of file