mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-03-21 18:57:53 +00:00
anchor media on dial if we are recording (#1520)
This commit is contained in:
@@ -200,6 +200,10 @@ class CallSession extends Emitter {
|
||||
return this.backgroundTaskManager.isTaskRunning('listen');
|
||||
}
|
||||
|
||||
get isBackGroundRecord() {
|
||||
return this.backgroundTaskManager.isTaskRunning('record');
|
||||
}
|
||||
|
||||
/**
|
||||
* SIP call-id for the call
|
||||
*/
|
||||
|
||||
@@ -160,6 +160,7 @@ class TaskDial extends Task {
|
||||
const keepAnchor = this.data.anchorMedia ||
|
||||
this.isTranscoding ||
|
||||
this.cs.isBackGroundListen ||
|
||||
this.cs.isBackGroundRecord ||
|
||||
this.cs.onHoldMusic ||
|
||||
ANCHOR_MEDIA_ALWAYS ||
|
||||
this.listenTask ||
|
||||
|
||||
Reference in New Issue
Block a user