From 70c12b42f0e9840dfdaa051fb1010b3a2e075a32 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 28 Jul 2009 01:57:34 +0000 Subject: [PATCH] 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 --- src/mod/applications/mod_voicemail/mod_voicemail.c | 1 + 1 file changed, 1 insertion(+) 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);