[Freeswitch-svn] [commit] r4191 - freeswitch/trunk/src
Freeswitch SVN
brian at freeswitch.org
Sat Feb 10 12:26:41 EST 2007
Author: brian
Date: Sat Feb 10 12:26:40 2007
New Revision: 4191
Modified:
freeswitch/trunk/src/switch_ivr.c
Log:
Update from Mike Murdock, Thanks
Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c (original)
+++ freeswitch/trunk/src/switch_ivr.c Sat Feb 10 12:26:40 2007
@@ -1893,7 +1893,7 @@
}
}
- switch_ivr_speak_text_handle(session, &sh, &codec, timer_name ? &timer : NULL, text, args);
+ status = switch_ivr_speak_text_handle(session, &sh, &codec, timer_name ? &timer : NULL, text, args);
flags = 0;
switch_core_speech_close(&sh, &flags);
switch_core_codec_destroy(&codec);
@@ -4741,7 +4741,7 @@
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Handle %s:[%s] (%s)\n", func, odata, lang);
if (!strcasecmp(func, "play-file")) {
- switch_ivr_play_file(session, NULL, odata, args);
+ status = switch_ivr_play_file(session, NULL, odata, args);
} else if (!strcasecmp(func, "break")) {
done = 1;
break;
@@ -4778,6 +4778,7 @@
}
if (status != SWITCH_STATUS_SUCCESS) {
+ done = 1;
break;
}
More information about the Freeswitch-svn
mailing list