I am using ortp library to stream wav files. After sip signalling I playout the first file and after file play is complete, I wait for 5 seconds and then play the file again.
Just before the new file is started I listen a beep or click sound and then the file.