]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak on last commit
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 2 Nov 2011 16:32:02 +0000 (11:32 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 2 Nov 2011 16:32:02 +0000 (11:32 -0500)
src/mod/applications/mod_voicemail/mod_voicemail.c

index cec56cdcf3efeea90bb9b1a201226b9726db9587..15795ca5b24d4c1b6e5c7abefcb827922ab373f5 100644 (file)
@@ -2484,7 +2484,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
                tmp_file_path = NULL;
        }
 
-       if (switch_channel_ready(channel) && !auth_only) {
+       if (switch_channel_ready(channel) && (!auth_only || !authed)) {
                if (failed) {
                        status = switch_ivr_phrase_macro(session, VM_ABORT_MACRO, NULL, NULL, NULL);
                }