mirror of https://github.com/sipwise/rtpengine.git
Both the play media and the music on hold use the `media_player::call_play_media_for_ml()` as an entrance towards the `media_player::media_player_new()` and `media_player::media_player_play_init()`. Prevent allocation of new MoH over ongoing one, as well as the `play media` command over ongoing MoH. Otherwise a media player will be re-used to override ongoing activity. Explicit policy must be used: First the MoH has to be stopped by getting back to the SDP `sendrecv` state, before any other MoH request, or play media request can be fulfilled. Change-Id: Ia5fdc10cfa8f491109ade9a2225b182ccdaa4778 (cherry picked from commitmr13.5.17a83ce891a) (cherry picked from commit73f35e288b)
parent
80bd1bb856
commit
c6f8779074
Loading…
Reference in new issue