From cf2100f925e550ad59a8a58d3d861e8ed2c0d4f3 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Sun, 3 Apr 2022 21:52:09 -0400 Subject: [PATCH] another fix for confirmHook --- lib/tasks/dial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index 33c1c394..4804dc8a 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -409,7 +409,7 @@ class TaskDial extends Task { this.span.setAttributes({'dial.target': JSON.stringify(this.target)}); this.target.forEach(async(t) => { try { - t.confirmHook = t.confirmHook || this.confirmUrl; + t.confirmHook = t.confirmHook || this.confirmHook; //t.method = t.method || this.confirmMethod || 'POST'; if (t.type === 'teams') t.teamsInfo = teamsInfo; if (t.type === 'user' && !t.name.includes('@') && !fqdn) {