mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
fix say task
This commit is contained in:
@@ -253,9 +253,6 @@ class Cognigy extends Task {
|
||||
|
||||
/* if we need to interrupt the currently-running say task(s), call this */
|
||||
_killSayTasks(ep) {
|
||||
// this will also remove all other upcoming tasks after the say task
|
||||
// maybe we need a flow to kill only one say tasks and keep others executitng need to discuss this further
|
||||
// this.taskQueue.end();
|
||||
if (ep && ep.connected) {
|
||||
ep.api('uuid_break', this.ep.uuid)
|
||||
.catch((err) => this.logger.info({err}, 'Cognigy:_killSayTasks - error killing audio for current say task'));
|
||||
|
||||
Reference in New Issue
Block a user