diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index 4804dc8a..06c15f4b 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -351,7 +351,7 @@ class TaskDial extends Task { const b3 = this.getTracingPropagation(); const httpHeaders = b3 && {b3}; this.logger.info({callSid}, `Dial:_onInfo triggered dtmf match: ${match}`); - requestor.request('verb:hook', this.dtmfHook, {dtmf: match, ...callInfo.toJSON(), httpHeaders}) + requestor.request('verb:hook', this.dtmfHook, {dtmf: match, ...callInfo.toJSON()}, httpHeaders) .catch((err) => this.logger.info(err, 'Dial:_onDtmf - error')); } }