From: Michael Jerris Date: Tue, 28 Jul 2009 01:57:34 +0000 (+0000) Subject: mod_voicemail: fix isten to the msg again option after pressing # to stop info msg... X-Git-Tag: v1.0.4~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70c12b42f0e9840dfdaa051fb1010b3a2e075a32;p=thirdparty%2Ffreeswitch.git mod_voicemail: fix isten to the msg again option after pressing # to stop info msg (MODAPP-316) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14395 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 f6626d4933..b8be55df27 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1516,6 +1516,7 @@ static switch_status_t listen_file(switch_core_session_t *session, vm_profile_t } else if (!strcmp(input, profile->next_msg_key)) { cbt->move = VM_MOVE_NEXT; } else if (!strcmp(input, profile->listen_file_key)) { + *cc.buf = '\0'; goto play_file; } else if (!strcmp(input, profile->callback_key)) { switch_core_session_execute_exten(session, cbt->cid_number, profile->callback_dialplan, profile->callback_context);