From: Brian West Date: Thu, 30 Jun 2011 21:23:55 +0000 (-0500) Subject: Fix fifo orbit timeout when not using a chime tested with and without chime X-Git-Tag: v1.2-rc1~108^2^2~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fee1fd157c47c958ee4b9e4c2900778b4e2f7e4;p=thirdparty%2Ffreeswitch.git Fix fifo orbit timeout when not using a chime tested with and without chime --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index bd94a71afa..ba23547eb4 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -537,12 +537,9 @@ static switch_status_t caller_read_frame_callback(switch_core_session_t *session cd->next = switch_epoch_time_now(NULL) + cd->freq; cd->index++; } - } else { - chime_read_frame_callback(session, frame, user_data); - } - + } - return SWITCH_STATUS_SUCCESS; + return chime_read_frame_callback(session, frame, user_data); } static switch_status_t consumer_read_frame_callback(switch_core_session_t *session, switch_frame_t *frame, void *user_data)