From: Jeff Lenk Date: Tue, 6 Sep 2011 16:51:29 +0000 (-0500) Subject: Revert "FS-3080 --resolve only allow when not playing message" X-Git-Tag: v1.2-rc1~51^2~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698a50298a93ccac19ec402dfbec995ebf9fbfa2;p=thirdparty%2Ffreeswitch.git Revert "FS-3080 --resolve only allow when not playing message" This reverts commit d2daa44d8cfeb65277d61f9f8070f72d748051fe. Working on a better fix --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 691ede9ba0..2cb1a20417 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1568,11 +1568,9 @@ static switch_status_t listen_file(switch_core_session_t *session, vm_profile_t *cc.buf = '\0'; memset(&fh, 0, sizeof(fh)); cc.fh = &fh; - cc.noexit = 1; if (switch_file_exists(cbt->file_path, switch_core_session_get_pool(session)) == SWITCH_STATUS_SUCCESS) { TRY_CODE(switch_ivr_play_file(session, &fh, cbt->file_path, &args)); } - cc.noexit = 0; } if (!*cc.buf && (profile->play_date_announcement == VM_DATE_LAST)) {