[Freeswitch-svn] [commit] r7229 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Mon Jan 14 18:32:21 EST 2008


Author: anthm
Date: Mon Jan 14 18:32:21 2008
New Revision: 7229

Modified:
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
pre_answer instead of answer

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	Mon Jan 14 18:32:21 2008
@@ -375,7 +375,7 @@
 		return SWITCH_STATUS_GENERR;
 	}
 
-	switch_channel_answer(channel);
+	switch_channel_pre_answer(channel);
 
 	if ((p = switch_channel_get_variable(channel, "RECORD_TITLE"))) {
 		vval = switch_core_session_strdup(session, p);
@@ -1588,7 +1588,7 @@
 		switch_core_speech_text_param_tts(sh, "voice", voice_name);
 	}
 
-	switch_channel_answer(channel);
+	switch_channel_pre_answer(channel);
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "OPEN TTS %s\n", tts_name);
 
 



More information about the Freeswitch-svn mailing list