initial changes to support siprec recording

This commit is contained in:
Dave Horton
2022-06-22 09:11:45 -04:00
parent 627c38899f
commit 16284b58a3
4 changed files with 164 additions and 3 deletions

View File

@@ -9,7 +9,8 @@ class TaskConfig extends Task {
[
'synthesizer',
'recognizer',
'bargeIn'
'bargeIn',
'record'
].forEach((k) => this[k] = this.data[k] || {});
if (this.bargeIn.enable) {
@@ -100,6 +101,7 @@ class TaskConfig extends Task {
cs.disableBotMode();
}
}
if (this.record) cs.notifyRecordOptions(this.record);
}
async kill(cs) {