diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index a4def295..33c1c394 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -409,8 +409,8 @@ class TaskDial extends Task { this.span.setAttributes({'dial.target': JSON.stringify(this.target)}); this.target.forEach(async(t) => { try { - t.url = t.url || this.confirmUrl; - t.method = t.method || this.confirmMethod || 'POST'; + t.confirmHook = t.confirmHook || this.confirmUrl; + //t.method = t.method || this.confirmMethod || 'POST'; if (t.type === 'teams') t.teamsInfo = teamsInfo; if (t.type === 'user' && !t.name.includes('@') && !fqdn) { const user = t.name;