diff --git a/lib/routes/api/accounts.js b/lib/routes/api/accounts.js index 2642062..c27e369 100644 --- a/lib/routes/api/accounts.js +++ b/lib/routes/api/accounts.js @@ -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}`);