From 4f87cf9b38e680aa3887b2e62dd9707e7263b558 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Mon, 4 Apr 2022 13:07:29 -0400 Subject: [PATCH] dial: include http b3 header --- lib/tasks/dial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } }