send_silence_when_idle only after call is answered or bridged

This commit is contained in:
Dave Horton
2025-01-09 20:26:14 -05:00
parent f3690ef5ce
commit 8613e65e23
2 changed files with 4 additions and 2 deletions

View File

@@ -496,7 +496,7 @@ class SingleDialer extends Emitter {
this.logger.debug('SingleDialer:reAnchorMedia: re-anchoring media after partial media');
this.ep = await this.ms.createEndpoint({remoteSdp: this.dlg.remote.sdp});
this._configMsEndpoint();
this._configMsEndpoint(false);
await this.dlg.modify(this.ep.local.sdp, {
headers: {
'X-Reason': 'anchor-media'