From: Michael Jerris Date: Mon, 27 Jul 2009 17:06:39 +0000 (+0000) Subject: mod_voicemail: Flush DTMF Before Tone (MODAPP-312) X-Git-Tag: v1.0.4~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b048859a88fa6f4e43476bd3c377f7d5dafa3d;p=thirdparty%2Ffreeswitch.git mod_voicemail: Flush DTMF Before Tone (MODAPP-312) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14380 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 bed51901c0..d9305c2f04 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1112,6 +1112,7 @@ static switch_status_t create_file(switch_core_session_t *session, vm_profile_t *message_len = 0; if (macro_name) TRY_CODE(switch_ivr_phrase_macro(session, macro_name, NULL, NULL, NULL)); + switch_channel_flush_dtmf(channel); TRY_CODE(switch_ivr_gentones(session, profile->tone_spec, 0, NULL)); memset(&fh, 0, sizeof(fh));