From f9990da46839f2ede82a52dbc35738ab152c7ab2 Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Thu, 14 Nov 2024 19:20:10 +0700 Subject: [PATCH] allow dub as http updateCall request (#363) --- lib/routes/api/accounts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/routes/api/accounts.js b/lib/routes/api/accounts.js index 0b73da5a..a0806b56 100644 --- a/lib/routes/api/accounts.js +++ b/lib/routes/api/accounts.js @@ -266,7 +266,8 @@ function validateUpdateCall(opts) { 'record', 'tag', 'dtmf', - 'conferenceParticipantAction' + 'conferenceParticipantAction', + 'dub' ] .reduce((acc, prop) => (opts[prop] ? ++acc : acc), 0);