add bargein support to gather

This commit is contained in:
Dave Horton
2022-02-26 14:41:21 -05:00
parent 3c5d392407
commit c5d392af6a
3 changed files with 45 additions and 9 deletions

View File

@@ -80,7 +80,11 @@ class TaskSay extends Task {
const {memberId, confName, confUuid} = cs;
await this.playToConfMember(this.ep, memberId, confName, confUuid, filepath[segment]);
}
else await ep.play(filepath[segment]);
else {
this.logger.debug(`Say:exec sending command to play file ${filepath[segment]}`);
await ep.play(filepath[segment]);
this.logger.debug(`Say:exec completed play file ${filepath[segment]}`);
}
} while (!this.killed && ++segment < filepath.length);
}
} catch (err) {