Any way to mute message sounds while on a call?

As the tile says, is there any way to mute message sounds while you're on a voice call?
Switch the phone to silent, and incoming messages will only vibrate. There's no quick way to completely silence them.
Thanks. Hopefully this is something apple address in an os update. I shouldnt have to remember to mute the phone when I take a call to stop it happening
Yeah is really tedious while in a call the incoming messages sounds in your hear

Original thread: https://forums.imore.com/threads/any-way-to-mute-message-sounds-while-on-a-call.228920/