[Freeswitch-svn] [commit] r9524 - in freeswitch/trunk/src: . mod/applications/mod_voicemail

Freeswitch SVN anthm at freeswitch.org
Wed Sep 10 17:55:34 EDT 2008


Author: anthm
Date: Wed Sep 10 17:55:33 2008
New Revision: 9524

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
tweak

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Wed Sep 10 17:55:33 2008
@@ -1576,8 +1576,6 @@
 
 	timeout = profile->digit_timeout;
 	attempts = profile->max_login_attempts;
-	args.buf = &global_buf;
-	args.buflen = sizeof(global_buf);
 	status = switch_ivr_phrase_macro(session, VM_HELLO_MACRO, NULL, NULL, &args);
 	*global_buf = '\0';
 

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Wed Sep 10 17:55:33 2008
@@ -265,7 +265,7 @@
 					} else {
 						odata = expanded;
 					}
-
+					
 					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Handle %s:[%s] (%s:%s)\n", func, odata, chan_lang, module_name);
 
 					if (!strcasecmp(func, "play-file")) {
@@ -1234,7 +1234,7 @@
   end:
 	switch_safe_free(abuf);
 
-	switch_core_session_reset(session, SWITCH_TRUE);
+	switch_core_session_reset(session, SWITCH_FALSE);
 	return status;
 }
 
@@ -1881,7 +1881,7 @@
 
 	timer_name = switch_channel_get_variable(channel, "timer_name");
 
-	switch_core_session_reset(session, SWITCH_TRUE);
+	switch_core_session_reset(session, SWITCH_FALSE);
 	read_codec = switch_core_session_get_read_codec(session);
 
 	rate = read_codec->implementation->actual_samples_per_second;
@@ -1964,7 +1964,7 @@
 		}
 	}
 
-	switch_core_session_reset(session, SWITCH_TRUE);
+	switch_core_session_reset(session, SWITCH_FALSE);
 	return status;
 }
 



More information about the Freeswitch-svn mailing list