From: Anthony Minessale Date: Fri, 18 Feb 2011 21:20:52 +0000 (-0600) Subject: beat ray up for this one X-Git-Tag: v1.2-rc1~187^2~1^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d3e634f4bb1d71b1089ce792a8c48a1290527e3;p=thirdparty%2Ffreeswitch.git beat ray up for this one --- 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);