Fix fifo orbit timeout when not using a chime tested with and without chime

This commit is contained in:
Brian West committed 2011-06-30 16:24:09 -05:00
1 parent 306b332d47
commit 7fee1fd157
1 file changed
+1 -4
+1 -4
View 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->next = switch_epoch_time_now(NULL) + cd->freq;
cd->index++; cd->index++;
} }
} else {
chime_read_frame_callback(session, frame, user_data);
} }
return chime_read_frame_callback(session, frame, user_data);
return SWITCH_STATUS_SUCCESS;
} }
static switch_status_t consumer_read_frame_callback(switch_core_session_t *session, switch_frame_t *frame, void *user_data) static switch_status_t consumer_read_frame_callback(switch_core_session_t *session, switch_frame_t *frame, void *user_data)