From 3d3e634f4bb1d71b1089ce792a8c48a1290527e3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 18 Feb 2011 15:20:52 -0600 Subject: [PATCH] beat ray up for this one --- src/mod/applications/mod_voicemail/mod_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 2d98b752b0..5515f76b72 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1899,7 +1899,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p cbt.type = play_msg_type; cbt.move = VM_MOVE_NEXT; vm_execute_sql_callback(profile, profile->mutex, sql, listen_callback, &cbt); - if (strcmp(cbt.uuid, uuid_in)) { + if (!zstr(uuid_in) && strcmp(cbt.uuid, uuid_in)) { continue; } status = listen_file(session, profile, &cbt);