]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix fifo orbit timeout when not using a chime tested with and without chime
authorBrian West <brian@freeswitch.org>
Thu, 30 Jun 2011 21:23:55 +0000 (16:23 -0500)
committerBrian West <brian@freeswitch.org>
Thu, 30 Jun 2011 21:24:09 +0000 (16:24 -0500)
src/mod/applications/mod_fifo/mod_fifo.c

index bd94a71afa050cad49a31fbfbd755378b2489545..ba23547eb432efb2b79dae42fcce7c82b58d5ea6 100644 (file)
@@ -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)