Skip to content

call-display: switch to default audio profile only if no other call

Arnaud Ferraris requested to merge (removed):double-call into master

Currently, when any call is terminated, audio profile/routing is switched to the default one.

This is a problem when already into a call and getting a second one: rejecting the new call will keep the first one going, but with the wrong audio profile, making it difficult (or, on the PinePhone, impossible) to keep talking.

This patch makes sure there is no other ongoing call before switching the audio mode, so that it's possible to keep the first call going even after rejecting the second one.

Merge request reports