diff --git a/lib/call-session.js b/lib/call-session.js index 1c58047..39104ee 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -519,6 +519,11 @@ class CallSession extends Emitter { dlg.other = null; other.other = null; + if (this.srsClient) { + this.srsClient.stop(); + this.srsClient = null; + } + this.logger.info(`call ended with normal termination, there are ${this.activeCallIds.size} active`); this.srf.endSession(this.req);