initial changes to support siprec recording (#120)

* initial changes to support siprec recording

* include additional params on SIP INFO to start recording

* add support for maniupulating recording via REST API

* fixes from testing pause/resume recording
This commit is contained in:
Dave Horton
2022-06-23 16:21:35 -04:00
committed by GitHub
parent 627c38899f
commit 9aa0df256d
4 changed files with 190 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) {