int sm_replay_bfile_progress(SM_BFILE_REPLAY_PARMS *file_parms)
This is the same as sm_replay_bfile_progress_istatus() except it first determines the replay status.
If the current replay status for the channel is known, then the sm_replay_bfile_progress_istatus() variant of the call should be used with initial_status set to this status.
This function is part of the Prosody high level BFILE play/record API.