slight delay when releasing media after call answer, to allow A leg ACK transaction to complete on SBC

This commit is contained in:
Dave Horton
2022-08-24 14:25:14 +02:00
parent 9c188736f9
commit 4f0439dad9

View File

@@ -641,7 +641,7 @@ class TaskDial extends Task {
} }
/* if we can release the media back to the SBC, do so now */ /* if we can release the media back to the SBC, do so now */
if (this.canReleaseMedia) this._releaseMedia(cs, sd); if (this.canReleaseMedia) setTimeout(this._releaseMedia.bind(this, cs, sd), 200);
} }
_bridgeEarlyMedia(sd) { _bridgeEarlyMedia(sd) {