Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / services / ami / report / voiceDialReport.js
index f783628..b43a8eb 100644 (file)
@@ -1 +1 @@
-const a1096_0x47bd=['variables','syncHangup','rtpaudioqoslossbridged','[syncHangup][VoiceDialReport]','../ami','[DEBUG]\x20Emit\x20voice_outbound_channel:remove\x20event','../../../rediscache','addVariable','../../../config/logger','emit','connectedlinename','seconds','inspect','lastIndexOf','channel','voice_outbound_channel:save','YYYY-MM-DD\x20HH:mm:ss','connectedlinenum','voice:outbound','substring','isUndefined','channels','includes','endtime','merge','total','membercalls','rtpaudioqos','varset','isNil','bind','uniqueid','membername','answertime','voice_outbound_channel:remove','stringify','syncDialEnd','lodash','rtpaudioqosjitter','format','outbound','lastevent','[syncDialEnd][VoiceDialReport]','keys','syncVarSet','custom:voiceDialReport','custom:dialbegin','sumDuration','memberpenalty','connect','holdtime','rtpaudioqosbridged','outboundChannels','answered','rtpaudioqosjitterbridged','syncDialBegin','[syncVarSet][VoiceDialReport]','complete','dialstatus','custom:dialconnect','rtpaudioqosloss','event','billableseconds','error','diff','[syncDialBegin][VoiceDialReport]','bridgepeer','omit','variable','custom:dialend','prototype','util','rtpaudioqosrtt','dialend','isNotNull','starttime','duration','sumBillable','value','rtpaudioqosrttbridged','privilege'];(function(_0x1ebd17,_0x47bd3b){const _0x1c3e6d=function(_0x19ae7c){while(--_0x19ae7c){_0x1ebd17['push'](_0x1ebd17['shift']());}};_0x1c3e6d(++_0x47bd3b);}(a1096_0x47bd,0x15b));const a1096_0x1c3e=function(_0x1ebd17,_0x47bd3b){_0x1ebd17=_0x1ebd17-0x0;let _0x1c3e6d=a1096_0x47bd[_0x1ebd17];return _0x1c3e6d;};const _0x634d1d=a1096_0x1c3e;'use strict';const _=require(_0x634d1d('0xe')),moment=require('moment'),util=require(_0x634d1d('0x30')),logger=require(_0x634d1d('0x42'))('ami'),ami=require(_0x634d1d('0x3e')),{getSocket}=require(_0x634d1d('0x40')),io=getSocket();function VoiceDialReport(_0x19ae7c){const _0x3fc252=_0x634d1d;this[_0x3fc252('0x4f')]=_0x19ae7c[_0x3fc252('0x1d')],this[_0x3fc252('0x11')]=_0x19ae7c[_0x3fc252('0x11')],this['variables']={},ami['on']('dialbegin',this[_0x3fc252('0x20')][_0x3fc252('0x7')](this)),ami['on'](_0x3fc252('0x32'),this[_0x3fc252('0xd')][_0x3fc252('0x7')](this)),ami['on'](_0x3fc252('0x5'),this[_0x3fc252('0x15')][_0x3fc252('0x7')](this)),ami['on']('hangup',this[_0x3fc252('0x3b')]['bind'](this));}VoiceDialReport[_0x634d1d('0x2f')][_0x634d1d('0x33')]=function(_0x25ea45){const _0x3ffa03=_0x634d1d;return _0x25ea45!==null&&!_[_0x3ffa03('0x4e')](_0x25ea45);},VoiceDialReport[_0x634d1d('0x2f')]['emit']=function(_0x298819,_0x2e9a81,_0x23b4d0){const _0x242ccc=_0x634d1d;io['to'](_0x298819)[_0x242ccc('0x43')](_0x2e9a81,_0x23b4d0);},VoiceDialReport[_0x634d1d('0x2f')]['syncDialBegin']=function(_0x333fe8){const _0x2eaf1d=_0x634d1d;try{this[_0x2eaf1d('0x33')](_0x333fe8)&&(this[_0x2eaf1d('0x4f')][_0x333fe8[_0x2eaf1d('0x8')]]&&(_[_0x2eaf1d('0x1')](this[_0x2eaf1d('0x4f')][_0x333fe8[_0x2eaf1d('0x8')]],{'starttime':moment()[_0x2eaf1d('0x10')]('YYYY-MM-DD\x20HH:mm:ss'),'lastevent':'called','interface':_0x333fe8[_0x2eaf1d('0x48')][_0x2eaf1d('0x4d')](0x0,_0x333fe8[_0x2eaf1d('0x48')][_0x2eaf1d('0x47')]('-')),'membername':_0x333fe8[_0x2eaf1d('0x48')]['substring'](_0x333fe8[_0x2eaf1d('0x48')][_0x2eaf1d('0x47')]('/')+0x1,_0x333fe8[_0x2eaf1d('0x48')][_0x2eaf1d('0x47')]('-'))},_[_0x2eaf1d('0x2c')](_0x333fe8,[_0x2eaf1d('0x26'),_0x2eaf1d('0x39')])),this[_0x2eaf1d('0x43')](_0x2eaf1d('0x4c'),_0x2eaf1d('0x49'),this['channels'][_0x333fe8[_0x2eaf1d('0x8')]]),ami[_0x2eaf1d('0x43')](_0x2eaf1d('0x17'),this['channels'][_0x333fe8['uniqueid']])));}catch(_0x5e4311){logger[_0x2eaf1d('0x28')](_0x2eaf1d('0x2a'),util['inspect'](_0x5e4311,{'showHidden':![],'depth':null}));}},VoiceDialReport['prototype'][_0x634d1d('0xd')]=function(_0x1a3a94){const _0x1b4a47=_0x634d1d;try{this['isNotNull'](_0x1a3a94)&&(this['channels'][_0x1a3a94['uniqueid']]&&(this[_0x1b4a47('0x4f')][_0x1a3a94[_0x1b4a47('0x8')]][_0x1b4a47('0x23')]=_0x1a3a94[_0x1b4a47('0x23')],_0x1a3a94[_0x1b4a47('0x23')]==='ANSWER'&&(this[_0x1b4a47('0x4f')][_0x1a3a94[_0x1b4a47('0x8')]][_0x1b4a47('0x4b')]=_0x1a3a94[_0x1b4a47('0x4b')],this[_0x1b4a47('0x4f')][_0x1a3a94['uniqueid']][_0x1b4a47('0x44')]=_0x1a3a94[_0x1b4a47('0x44')],this['channels'][_0x1a3a94['uniqueid']][_0x1b4a47('0xa')]=moment()[_0x1b4a47('0x10')](_0x1b4a47('0x4a')),this['channels'][_0x1a3a94[_0x1b4a47('0x8')]][_0x1b4a47('0x12')]=_0x1b4a47('0x1a'),ami[_0x1b4a47('0x43')](_0x1b4a47('0x24'),this[_0x1b4a47('0x4f')][_0x1a3a94[_0x1b4a47('0x8')]])),this['emit'](_0x1b4a47('0x4c'),'voice_outbound_channel:save',this[_0x1b4a47('0x4f')][_0x1a3a94['uniqueid']])));}catch(_0x1adbb5){logger['error'](_0x1b4a47('0x13'),util[_0x1b4a47('0x46')](_0x1adbb5,{'showHidden':![],'depth':null}));}},VoiceDialReport[_0x634d1d('0x2f')][_0x634d1d('0x15')]=function(_0x250353){const _0x271fdb=_0x634d1d;try{this[_0x271fdb('0x33')](_0x250353)&&(this[_0x271fdb('0x41')](_0x250353[_0x271fdb('0x8')],_[_0x271fdb('0x14')](_0x250353[_0x271fdb('0x2d')])[0x0],_0x250353[_0x271fdb('0x37')]),this[_0x271fdb('0x33')](_0x250353['variable'])&&this[_0x271fdb('0x33')](_0x250353[_0x271fdb('0x2d')]['outboundrouteid'])&&(_[_0x271fdb('0x4e')](this[_0x271fdb('0x4f')][_0x250353[_0x271fdb('0x8')]])&&(this['channels'][_0x250353['uniqueid']]={'routeId':_0x250353['value'],'variables':this[_0x271fdb('0x3a')][_0x250353[_0x271fdb('0x8')]]},this[_0x271fdb('0x43')](_0x271fdb('0x4c'),_0x271fdb('0x49'),this[_0x271fdb('0x4f')][_0x250353[_0x271fdb('0x8')]]))));}catch(_0x4ddbc4){logger[_0x271fdb('0x28')](_0x271fdb('0x21'),util[_0x271fdb('0x46')](_0x4ddbc4,{'showHidden':![],'depth':null}));}},VoiceDialReport['prototype'][_0x634d1d('0x41')]=function(_0xc48ce1,_0x7574e3,_0x40c8ae){const _0x71ff0a=_0x634d1d,_0x3123e7=[_0x71ff0a('0x4'),_0x71ff0a('0x1c'),_0x71ff0a('0xf'),_0x71ff0a('0x1f'),_0x71ff0a('0x25'),_0x71ff0a('0x3c'),_0x71ff0a('0x31'),_0x71ff0a('0x38'),'sipcallid','sipuri',_0x71ff0a('0x2b'),'bridgepvtcallid',_0x71ff0a('0x3'),'memberdynamic','memberinterface','memberlastcall',_0x71ff0a('0x9'),_0x71ff0a('0x19'),'memberrealtime'];!_[_0x71ff0a('0x6')](_0x7574e3)&&!_[_0x71ff0a('0x50')](_0x3123e7,_0x7574e3)&&(_[_0x71ff0a('0x4e')](this[_0x71ff0a('0x3a')][_0xc48ce1])&&(this['variables'][_0xc48ce1]={}),this[_0x71ff0a('0x3a')][_0xc48ce1][_0x7574e3]=_0x40c8ae);},VoiceDialReport[_0x634d1d('0x2f')][_0x634d1d('0x3b')]=function(_0xc9b21c){const _0x305395=_0x634d1d;try{this['isNotNull'](_0xc9b21c)&&(this['channels'][_0xc9b21c['uniqueid']]&&(this['channels'][_0xc9b21c['uniqueid']]['endtime']=moment()[_0x305395('0x10')](_0x305395('0x4a')),this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0x35')]=moment(this['channels'][_0xc9b21c['uniqueid']]['endtime'])[_0x305395('0x29')](this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0x34')],_0x305395('0x45')),this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0x12')]=_0x305395('0x22'),this[_0x305395('0x11')][_0x305395('0x2')]+=0x1,this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0xa')]&&(this[_0x305395('0x11')][_0x305395('0x1e')]+=0x1,this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0x1b')]=moment(this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0xa')])[_0x305395('0x29')](this[_0x305395('0x4f')][_0xc9b21c['uniqueid']]['starttime'],_0x305395('0x45')),this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]]['billableseconds']=moment(this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0x0')])[_0x305395('0x29')](this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0xa')],_0x305395('0x45')),this['outbound']['sumHoldTime']+=this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0x1b')]||0x0,this[_0x305395('0x11')][_0x305395('0x36')]+=this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]][_0x305395('0x27')]),this[_0x305395('0x11')][_0x305395('0x18')]+=this['channels'][_0xc9b21c['uniqueid']][_0x305395('0x35')],ami[_0x305395('0x43')](_0x305395('0x16'),this['channels'][_0xc9b21c['uniqueid']]),ami['emit'](_0x305395('0x2e'),this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]]),this[_0x305395('0x43')](_0x305395('0x4c'),'voice_outbound:save',this[_0x305395('0x11')]),logger['info'](_0x305395('0x3f'),JSON[_0x305395('0xc')](this['channels'][_0xc9b21c[_0x305395('0x8')]])),this[_0x305395('0x43')](_0x305395('0x4c'),_0x305395('0xb'),this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]]),delete this[_0x305395('0x4f')][_0xc9b21c[_0x305395('0x8')]]),this[_0x305395('0x3a')][_0xc9b21c['uniqueid']]&&delete this['variables'][_0xc9b21c[_0x305395('0x8')]]);}catch(_0x195089){logger[_0x305395('0x28')](_0x305395('0x3d'),util['inspect'](_0x195089,{'showHidden':![],'depth':null}));}},module['exports']=VoiceDialReport;
\ No newline at end of file
+const a1096_0x11e3=['duration','addVariable','channels','lastevent','syncDialEnd','hangup','dialbegin','voice_outbound_channel:remove','rtpaudioqosloss','bind','varset','sipuri','variable','billableseconds','[syncVarSet][VoiceDialReport]','custom:dialconnect','connectedlinename','[syncDialEnd][VoiceDialReport]','memberinterface','custom:dialend','custom:dialbegin','voice:outbound','bridgepvtcallid','syncDialBegin','error','outboundrouteid','voice_outbound:save','outboundChannels','custom:voiceDialReport','endtime','rtpaudioqoslossbridged','rtpaudioqosrtt','lastIndexOf','channel','rtpaudioqos','rtpaudioqosjitter','total','ami','syncHangup','memberpenalty','voice_outbound_channel:save','dialstatus','merge','seconds','util','isNotNull','info','rtpaudioqosbridged','holdtime','variables','diff','format','../../../config/logger','answered','bridgepeer','../../../rediscache','keys','value','answertime','connect','exports','called','rtpaudioqosrttbridged','emit','sipcallid','prototype','starttime','sumDuration','connectedlinenum','YYYY-MM-DD\x20HH:mm:ss','outbound','isUndefined','[syncDialBegin][VoiceDialReport]','[DEBUG]\x20Emit\x20voice_outbound_channel:remove\x20event','ANSWER','includes','membername','memberlastcall','sumHoldTime','lodash','syncVarSet','uniqueid','inspect','memberdynamic'];(function(_0x137220,_0x11e311){const _0x3f95ae=function(_0x4966ba){while(--_0x4966ba){_0x137220['push'](_0x137220['shift']());}};_0x3f95ae(++_0x11e311);}(a1096_0x11e3,0x7f));const a1096_0x3f95=function(_0x137220,_0x11e311){_0x137220=_0x137220-0x0;let _0x3f95ae=a1096_0x11e3[_0x137220];return _0x3f95ae;};const _0xf07a66=a1096_0x3f95;'use strict';const _=require(_0xf07a66('0x24')),moment=require('moment'),util=require(_0xf07a66('0x1')),logger=require(_0xf07a66('0x9'))(_0xf07a66('0x4e')),ami=require('../ami'),{getSocket}=require(_0xf07a66('0xc')),io=getSocket();function VoiceDialReport(_0x4966ba){const _0x405b47=_0xf07a66;this[_0x405b47('0x2b')]=_0x4966ba[_0x405b47('0x44')],this[_0x405b47('0x1b')]=_0x4966ba['outbound'],this[_0x405b47('0x6')]={},ami['on'](_0x405b47('0x2f'),this[_0x405b47('0x40')][_0x405b47('0x32')](this)),ami['on']('dialend',this[_0x405b47('0x2d')][_0x405b47('0x32')](this)),ami['on'](_0x405b47('0x33'),this['syncVarSet'][_0x405b47('0x32')](this)),ami['on'](_0x405b47('0x2e'),this[_0x405b47('0x4f')][_0x405b47('0x32')](this));}VoiceDialReport[_0xf07a66('0x16')][_0xf07a66('0x2')]=function(_0x457f5f){const _0x44d69b=_0xf07a66;return _0x457f5f!==null&&!_[_0x44d69b('0x1c')](_0x457f5f);},VoiceDialReport[_0xf07a66('0x16')][_0xf07a66('0x14')]=function(_0x3a24fc,_0x53c997,_0x2c029b){const _0xccf118=_0xf07a66;io['to'](_0x3a24fc)[_0xccf118('0x14')](_0x53c997,_0x2c029b);},VoiceDialReport[_0xf07a66('0x16')][_0xf07a66('0x40')]=function(_0x4f53a0){const _0x47022f=_0xf07a66;try{this['isNotNull'](_0x4f53a0)&&(this[_0x47022f('0x2b')][_0x4f53a0[_0x47022f('0x26')]]&&(_[_0x47022f('0x53')](this[_0x47022f('0x2b')][_0x4f53a0[_0x47022f('0x26')]],{'starttime':moment()[_0x47022f('0x8')](_0x47022f('0x1a')),'lastevent':_0x47022f('0x12'),'interface':_0x4f53a0[_0x47022f('0x4a')]['substring'](0x0,_0x4f53a0[_0x47022f('0x4a')]['lastIndexOf']('-')),'membername':_0x4f53a0[_0x47022f('0x4a')]['substring'](_0x4f53a0[_0x47022f('0x4a')][_0x47022f('0x49')]('/')+0x1,_0x4f53a0[_0x47022f('0x4a')][_0x47022f('0x49')]('-'))},_['omit'](_0x4f53a0,['event','privilege'])),this[_0x47022f('0x14')](_0x47022f('0x3e'),_0x47022f('0x51'),this['channels'][_0x4f53a0['uniqueid']]),ami[_0x47022f('0x14')](_0x47022f('0x3d'),this['channels'][_0x4f53a0['uniqueid']])));}catch(_0x4f35cc){logger['error'](_0x47022f('0x1d'),util[_0x47022f('0x27')](_0x4f35cc,{'showHidden':![],'depth':null}));}},VoiceDialReport[_0xf07a66('0x16')][_0xf07a66('0x2d')]=function(_0x3c75c9){const _0x5dbef8=_0xf07a66;try{this[_0x5dbef8('0x2')](_0x3c75c9)&&(this[_0x5dbef8('0x2b')][_0x3c75c9[_0x5dbef8('0x26')]]&&(this[_0x5dbef8('0x2b')][_0x3c75c9[_0x5dbef8('0x26')]][_0x5dbef8('0x52')]=_0x3c75c9['dialstatus'],_0x3c75c9[_0x5dbef8('0x52')]===_0x5dbef8('0x1f')&&(this[_0x5dbef8('0x2b')][_0x3c75c9['uniqueid']]['connectedlinenum']=_0x3c75c9[_0x5dbef8('0x19')],this[_0x5dbef8('0x2b')][_0x3c75c9[_0x5dbef8('0x26')]][_0x5dbef8('0x39')]=_0x3c75c9[_0x5dbef8('0x39')],this[_0x5dbef8('0x2b')][_0x3c75c9[_0x5dbef8('0x26')]]['answertime']=moment()[_0x5dbef8('0x8')](_0x5dbef8('0x1a')),this[_0x5dbef8('0x2b')][_0x3c75c9[_0x5dbef8('0x26')]]['lastevent']=_0x5dbef8('0x10'),ami[_0x5dbef8('0x14')](_0x5dbef8('0x38'),this[_0x5dbef8('0x2b')][_0x3c75c9[_0x5dbef8('0x26')]])),this['emit'](_0x5dbef8('0x3e'),'voice_outbound_channel:save',this[_0x5dbef8('0x2b')][_0x3c75c9[_0x5dbef8('0x26')]])));}catch(_0x297c39){logger[_0x5dbef8('0x41')](_0x5dbef8('0x3a'),util[_0x5dbef8('0x27')](_0x297c39,{'showHidden':![],'depth':null}));}},VoiceDialReport[_0xf07a66('0x16')][_0xf07a66('0x25')]=function(_0x5e5437){const _0x1f8582=_0xf07a66;try{this[_0x1f8582('0x2')](_0x5e5437)&&(this[_0x1f8582('0x2a')](_0x5e5437[_0x1f8582('0x26')],_[_0x1f8582('0xd')](_0x5e5437[_0x1f8582('0x35')])[0x0],_0x5e5437['value']),this[_0x1f8582('0x2')](_0x5e5437['variable'])&&this[_0x1f8582('0x2')](_0x5e5437['variable'][_0x1f8582('0x42')])&&(_['isUndefined'](this[_0x1f8582('0x2b')][_0x5e5437[_0x1f8582('0x26')]])&&(this[_0x1f8582('0x2b')][_0x5e5437[_0x1f8582('0x26')]]={'routeId':_0x5e5437[_0x1f8582('0xe')],'variables':this[_0x1f8582('0x6')][_0x5e5437[_0x1f8582('0x26')]]},this['emit'](_0x1f8582('0x3e'),_0x1f8582('0x51'),this[_0x1f8582('0x2b')][_0x5e5437[_0x1f8582('0x26')]]))));}catch(_0x2a705d){logger[_0x1f8582('0x41')](_0x1f8582('0x37'),util['inspect'](_0x2a705d,{'showHidden':![],'depth':null}));}},VoiceDialReport[_0xf07a66('0x16')][_0xf07a66('0x2a')]=function(_0x6efe16,_0x32a00e,_0x446002){const _0x4a3575=_0xf07a66,_0x491407=[_0x4a3575('0x4b'),_0x4a3575('0x4'),_0x4a3575('0x4c'),'rtpaudioqosjitterbridged',_0x4a3575('0x31'),_0x4a3575('0x47'),_0x4a3575('0x48'),_0x4a3575('0x13'),_0x4a3575('0x15'),_0x4a3575('0x34'),_0x4a3575('0xb'),_0x4a3575('0x3f'),'membercalls',_0x4a3575('0x28'),_0x4a3575('0x3b'),_0x4a3575('0x22'),_0x4a3575('0x21'),_0x4a3575('0x50'),'memberrealtime'];!_['isNil'](_0x32a00e)&&!_[_0x4a3575('0x20')](_0x491407,_0x32a00e)&&(_[_0x4a3575('0x1c')](this[_0x4a3575('0x6')][_0x6efe16])&&(this['variables'][_0x6efe16]={}),this[_0x4a3575('0x6')][_0x6efe16][_0x32a00e]=_0x446002);},VoiceDialReport[_0xf07a66('0x16')][_0xf07a66('0x4f')]=function(_0x4c43d9){const _0x263cea=_0xf07a66;try{this[_0x263cea('0x2')](_0x4c43d9)&&(this['channels'][_0x4c43d9[_0x263cea('0x26')]]&&(this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x46')]=moment()[_0x263cea('0x8')](_0x263cea('0x1a')),this[_0x263cea('0x2b')][_0x4c43d9['uniqueid']][_0x263cea('0x29')]=moment(this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x46')])[_0x263cea('0x7')](this['channels'][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x17')],'seconds'),this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x2c')]='complete',this[_0x263cea('0x1b')][_0x263cea('0x4d')]+=0x1,this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0xf')]&&(this['outbound'][_0x263cea('0xa')]+=0x1,this[_0x263cea('0x2b')][_0x4c43d9['uniqueid']][_0x263cea('0x5')]=moment(this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0xf')])['diff'](this['channels'][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x17')],'seconds'),this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]]['billableseconds']=moment(this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x46')])['diff'](this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0xf')],_0x263cea('0x0')),this[_0x263cea('0x1b')][_0x263cea('0x23')]+=this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]]['holdtime']||0x0,this[_0x263cea('0x1b')]['sumBillable']+=this['channels'][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x36')]),this[_0x263cea('0x1b')][_0x263cea('0x18')]+=this['channels'][_0x4c43d9[_0x263cea('0x26')]][_0x263cea('0x29')],ami[_0x263cea('0x14')](_0x263cea('0x45'),this[_0x263cea('0x2b')][_0x4c43d9['uniqueid']]),ami[_0x263cea('0x14')](_0x263cea('0x3c'),this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]]),this[_0x263cea('0x14')](_0x263cea('0x3e'),_0x263cea('0x43'),this[_0x263cea('0x1b')]),logger[_0x263cea('0x3')](_0x263cea('0x1e'),JSON['stringify'](this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]])),this['emit'](_0x263cea('0x3e'),_0x263cea('0x30'),this[_0x263cea('0x2b')][_0x4c43d9['uniqueid']]),delete this[_0x263cea('0x2b')][_0x4c43d9[_0x263cea('0x26')]]),this[_0x263cea('0x6')][_0x4c43d9[_0x263cea('0x26')]]&&delete this['variables'][_0x4c43d9[_0x263cea('0x26')]]);}catch(_0x104a8d){logger[_0x263cea('0x41')]('[syncHangup][VoiceDialReport]',util['inspect'](_0x104a8d,{'showHidden':![],'depth':null}));}},module[_0xf07a66('0x11')]=VoiceDialReport;
\ No newline at end of file