Revision
14395
Author
mikej
Date
2009-07-27 20:57:34 -0500 (Mon, 27 Jul 2009)

Log Message

mod_voicemail: fix isten to the msg again option after pressing # to stop info msg (MODAPP-316)

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c (14394 => 14395)


--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	2009-07-28 00:10:30 UTC (rev 14394)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	2009-07-28 01:57:34 UTC (rev 14395)
@@ -1516,6 +1516,7 @@
 			} 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);