int sm_replay_file_progress(SM_FILE_REPLAY_PARMS *file_parms)
This is the same as sm_replay_file_progress_istatus() except it first determines the replay status.
If the current replay status for the channel is known, then the sm_replay_file_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 FILE play/record API.