mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
another fix for confirmHook
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user