We have a program only a few seconds long, dropped in the middle of a playlist. This is what happens:
- music plays
- there's a "hiccup" artefact in the playback, like a split second silence
- fade out begins
- once the fade out stops, the program coming in through SIP gets played from the beggining + the duration of the fade out
- as a result, the media file played in the program is shortened from the beginning
A possible solution for this would be to start playing the SIP call only with a $fade_out_duration delay.