Skip to content

Draft: bluez5: add Telephony D-Bus API

George Kiagiadakis requested to merge gkiagia/pipewire:bt_telephony into master

Note: This is unfinished and partly untested. Posting this as a draft to collect initial feedback. CC @fdanis, @pvir

This branch adds support for a Telephony D-Bus API that is heavily based on the ofono VoiceCallManager / VoiceCall API. The idea is to allow PipeWire's HFP backend-native to make and receive phone calls over Bluetooth, when a mobile phone is paired (AG is the phone, PipeWire is the HF). For the opposite case (AG is PipeWire, HF is something else), we already have the ModemManager integration.

The rationale behind this is to be able to use telephony features without ofono, which adds unnecessary complexity and is not well maintained either.

The API is bound on the session bus, unlike everything else in spa-bluez5, which normally uses the system bus. I think this is more appropriate for desktop usage, allowing a call UI to directly control this on the user session.

Merge request reports