From: Anthony Minessale Date: Wed, 1 Oct 2008 18:37:55 +0000 (+0000) Subject: update X-Git-Tag: v1.0.2~1011 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c6835c0be4db174fdaf4a2be35920002494fb73;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9781 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 35b0be32f2..7ccc2cbf76 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1066,8 +1066,9 @@ static switch_status_t create_file(switch_core_session_t *session, vm_profile_t } else { status = SWITCH_STATUS_SUCCESS; } - play_file: + if (profile->auto_playback_recordings) { + play_file: memset(&fh, 0, sizeof(fh)); args.input_callback = control_playback; memset(&cc, 0, sizeof(cc));