From 314d9100c054544a74e663cd410d8a61776e9f84 Mon Sep 17 00:00:00 2001 From: Alex Brown Date: Fri, 14 Nov 2025 09:54:23 +0000 Subject: [PATCH] MT#55283 Fix Issue with pcap based recording getting overwritten Closes #2025 Closes #2026 Change-Id: I9f49127725b867b5fc9e9a852e6688e2c1d10b49 (cherry picked from commit 2639d9c0d1cebe27ea555a1bc3d40b16169a4a6c) --- daemon/recording.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/recording.c b/daemon/recording.c index 30aec8682..b0277169a 100644 --- a/daemon/recording.c +++ b/daemon/recording.c @@ -781,6 +781,10 @@ void recording_finish(call_t *call, bool discard) { g_slice_free1(sizeof(*(recording)), recording); call->recording = NULL; + + // clear the meta prefix to esure that pcaps for subsequent + // start recordings dont overwrite previous ones + call->recording_meta_prefix = STR_NULL; }