From 616365784550d0ded5f10785ee50d86a2726d0e5 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Sun, 3 Apr 2022 18:44:27 -0400 Subject: [PATCH] bugfix: another tracing fix on rest outdial --- lib/http-routes/api/create-call.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/http-routes/api/create-call.js b/lib/http-routes/api/create-call.js index 7f93b162..26e44e23 100644 --- a/lib/http-routes/api/create-call.js +++ b/lib/http-routes/api/create-call.js @@ -147,6 +147,11 @@ router.post('/', async(req, res) => { return; } inviteReq.srf = srf; + inviteReq.locals = { + ...(inviteReq || {}), + callSid, + application_sid: app.application_sid + }; /* ok our outbound INVITE is in flight */ const tasks = [restDial];