]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_voicemail: fix isten to the msg again option after pressing # to stop info msg...
authorMichael Jerris <mike@jerris.com>
Tue, 28 Jul 2009 01:57:34 +0000 (01:57 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 28 Jul 2009 01:57:34 +0000 (01:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14395 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index f6626d4933010455a39de6ef254d5dc227cbb2a4..b8be55df27232e106dfad54d64e9c096e3143d05 100644 (file)
@@ -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);