mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-07-23 20:42:16 +00:00
bugfix for REST outdial to teams
This commit is contained in:
@@ -332,7 +332,7 @@ router.post('/:sid/Calls', async(req, res) => {
|
||||
url: serviceUrl,
|
||||
method: 'POST',
|
||||
json: true,
|
||||
body: req.body
|
||||
body: Object.assign(req.body, {account_sid: sid})
|
||||
}, (err, response, body) => {
|
||||
if (err) {
|
||||
logger.error(err, `Error sending createCall POST to ${ip}`);
|
||||
|
||||
Reference in New Issue
Block a user