[Freeswitch-svn] [commit] r11555 - freeswitch/trunk/src/mod/applications/mod_fifo
FreeSWITCH SVN
anthm at freeswitch.org
Thu Jan 29 05:38:58 PST 2009
Author: anthm
Date: Thu Jan 29 07:38:58 2009
New Revision: 11555
Log:
MODAPP-206
Modified:
freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c Thu Jan 29 07:38:58 2009
@@ -208,7 +208,11 @@
args.input_callback = moh_on_dtmf;
args.buf = buf;
args.buflen = sizeof(buf);
- switch_ivr_play_file(session, NULL, cd->list[cd->index], &args);
+
+ if (switch_ivr_play_file(session, NULL, cd->list[cd->index], &args) != SWITCH_STATUS_SUCCESS) {
+ return SWITCH_STATUS_FALSE;
+ }
+
if (caller_exit_key && *buf == *caller_exit_key) {
cd->abort = 1;
return SWITCH_STATUS_FALSE;
More information about the Freeswitch-svn
mailing list