mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
dial: include http b3 header
This commit is contained in:
@@ -351,7 +351,7 @@ class TaskDial extends Task {
|
|||||||
const b3 = this.getTracingPropagation();
|
const b3 = this.getTracingPropagation();
|
||||||
const httpHeaders = b3 && {b3};
|
const httpHeaders = b3 && {b3};
|
||||||
this.logger.info({callSid}, `Dial:_onInfo triggered dtmf match: ${match}`);
|
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'));
|
.catch((err) => this.logger.info(err, 'Dial:_onDtmf - error'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user