From d7affddd858e98710c44e934fe9f3d1f7f44fefc Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Thu, 14 Sep 2023 09:10:15 -0400 Subject: [PATCH] minor fix to create-call: pass cs param to restDial.kill task --- lib/http-routes/api/create-call.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http-routes/api/create-call.js b/lib/http-routes/api/create-call.js index 2a167918..b1801027 100644 --- a/lib/http-routes/api/create-call.js +++ b/lib/http-routes/api/create-call.js @@ -275,7 +275,7 @@ router.post('/', async(req, res) => { else console.error(err); } ep.destroy(); - setTimeout(restDial.kill.bind(restDial), 5000); + setTimeout(restDial.kill.bind(restDial, cs), 5000); } } catch (err) { sysError(logger, res, err);