From 693f2986886b4286f9bcc812b37b60d1e8e0db30 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 19 Jan 2012 20:42:28 -0500 Subject: [PATCH] vm_read should mark messages as read, but not saved --- src/mod/applications/mod_voicemail/mod_voicemail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index e63a8db201..b023979095 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -4495,9 +4495,9 @@ SWITCH_STANDARD_API(voicemail_read_api_function) if (mread) { if (uuid) { - sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld,flags='save' where uuid='%q'", (long) switch_epoch_time_now(NULL), uuid); + sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld where uuid='%q'", (long) switch_epoch_time_now(NULL), uuid); } else { - sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld,flags='save' where domain='%q'", (long) switch_epoch_time_now(NULL), domain); + sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld where domain='%q'", (long) switch_epoch_time_now(NULL), domain); } } else{ if (uuid) {