mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 00:58:34 +00:00
bugfix: include custom jambonz headers on rest outdial
This commit is contained in:
@@ -35,6 +35,8 @@ router.post('/', async(req, res) => {
|
|||||||
|
|
||||||
opts.headers = {
|
opts.headers = {
|
||||||
...opts.headers,
|
...opts.headers,
|
||||||
|
'X-Jambonz-Routing': target.type,
|
||||||
|
'X-Jambonz-FS-UUID': srf.locals.fsUUID,
|
||||||
'X-Call-Sid': callSid,
|
'X-Call-Sid': callSid,
|
||||||
'X-Account-Sid': req.body.account_sid
|
'X-Account-Sid': req.body.account_sid
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user