add support for maniupulating recording via REST API

This commit is contained in:
Dave Horton
2022-06-22 15:55:52 -04:00
parent 72913560af
commit 86627e3b2f

View File

@@ -868,6 +868,9 @@ class CallSession extends Emitter {
const res = await this._lccSipRequest(opts, callSid);
return {status: res.status, reason: res.reason};
}
else if (opts.record) {
await this.notifyRecordOptions(opts.record);
}
// whisper may be the only thing we are asked to do, or it may that
// we are doing a whisper after having muted, paused reccording etc..