diff --git a/lib/call-session.js b/lib/call-session.js index 07bc8a3..6e0397f 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -1109,6 +1109,7 @@ Duration=${payload.duration} ` this.rtpEngineResource.destroy(); this.activeCallIds.delete(this.req.get('Call-ID')); uac.other.destroy(); + this._stopRecording(); this.srf.endSession(this.req); });