]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
beat ray up for this one
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Feb 2011 21:20:52 +0000 (15:20 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Feb 2011 21:21:02 +0000 (15:21 -0600)
src/mod/applications/mod_voicemail/mod_voicemail.c

index 2d98b752b073155a418c27e52db094ff6f3f5b1c..5515f76b723a73965e8ab92dd37846464b8333f0 100644 (file)
@@ -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);