mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
Feature/gather enhancements (#73)
* add bargein support to gather * bugfix: gather handles interim results from azure * gather: support for min/max digits and interdigit timeout * add task summary to some log messages * logging improvements
This commit is contained in:
@@ -135,6 +135,11 @@ class TaskDial extends Task {
|
||||
return !process.env.ANCHOR_MEDIA_ALWAYS && !this.listenTask && !this.transcribeTask;
|
||||
}
|
||||
|
||||
get summary() {
|
||||
if (this.target.length === 1) return `${this.name}{type=${this.target[0].type}}`;
|
||||
else return `${this.name}{${this.target.length} targets}`;
|
||||
}
|
||||
|
||||
async exec(cs) {
|
||||
await super.exec(cs);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user