mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
stop bot promt on bargein
This commit is contained in:
@@ -384,6 +384,7 @@ class Cognigy extends Task {
|
||||
|
||||
if (this.config.bargeInEnabled && this.config.skipToBotOutputEnd !== false) {
|
||||
// clear task queue, resolve the last promise and cleanup;
|
||||
this._killSayTasks();
|
||||
this.taskQueue.lastPromise.resolve();
|
||||
this.taskQueue.end();
|
||||
while(this.changeConfigTasks.length > 0){
|
||||
|
||||
Reference in New Issue
Block a user