add new type dial:confirm

This commit is contained in:
Dave Horton
2022-04-03 22:12:14 -04:00
parent f72e8e654c
commit 4f2fc70383
2 changed files with 2 additions and 1 deletions

View File

@@ -309,7 +309,7 @@ class SingleDialer extends Emitter {
async _executeApp(confirmHook) {
try {
// retrieve set of tasks
const tasks = await this.requestor.request('confirmHook', confirmHook, this.callInfo.toJSON());
const tasks = await this.requestor.request('dial:confirm', confirmHook, this.callInfo.toJSON());
// verify it contains only allowed verbs
const allowedTasks = tasks.filter((task) => {