add support for Bluetooth phone calls
Describe your issue
What's the expected behaviour?
MVP: When making a phonecall I should be able to route the audio over a bluetooth headset.
Ideal behavior: When I pair my phone with a headset, speaker, or car audio system, the phone should not only show up as a "media player" but also as a "phone". This would allow me to dial phone calls from the headset/speaker/car/device controls and (optionally) share my contacts with the headset/speaker/car/device.
What's the current behaviour?
Currently, PostmarketOS does not support the "phone" bluetooth profile. Further, pulse audio does not (or cannot?) force-route phone audio over a "media" audio device. This means that I have no way of using my bluetooth device for a phone call.
How to reproduce your issue?
Get out a postmarketOS phone and pair it with a set of headphones or a speaker or a car that supports a "phone" bluetooth profile. Notice that it shows up on the speaker/device/car as a "media player" but not as a phone. To further confirm this bug, attempt to route your phone call audio over your bluetooth headset. It will not work.
What device are you using?
pine64-pinephone
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v21.03
-
v20.05
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo
Other
-
No environment -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
fbkeyboard -
i3wm
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2021-03-31
Additional information
This is basically a duplicate of #779 (closed). However, that issue is only about the oddly specific case of using a Pinephone with a Toyota RAV4 2017. This bug report is about the general issue of bluetooth phone calls on postmarketOS.