When pulseaudio is trying to Register with ofono
on interface org.ofono.HandsfreeAudioManager, dbus
is throwing org.freedesktop.DBus.Error.AccessDenied
with string "Rejected send message".
To allow pulseaudio to send messages to org.ofono
service over dbus added this rule.
Signed-off-by: Raghavender Reddy Bujala <[email protected]>
---
ofono/src/ofono.conf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ofono/src/ofono.conf b/ofono/src/ofono.conf
index 6c5483ce..c946e822 100644
--- a/ofono/src/ofono.conf
+++ b/ofono/src/ofono.conf
@@ -32,6 +32,10 @@
<allow send_interface="org.ofono.intel.LteCoexistenceAgent"/>
</policy>
+ <policy user="pulse">
+ <allow send_destination="org.ofono"/>
+ </policy>
+
<policy at_console="true">
<allow send_destination="org.ofono"/>
</policy>
--
2.17.1
Can someone please update on this. This is a blocker,
we are unable to proceed further without this change
and please suggest if there is any alternate change
to way proceed further.
If not please let us know is there any plan for
upstream this change.
please consider this as a reminder.
On 5/10/2024 12:14 PM, Raghavender Reddy Bujala wrote:
> When pulseaudio is trying to Register with ofono
> on interface org.ofono.HandsfreeAudioManager, dbus
> is throwing org.freedesktop.DBus.Error.AccessDenied
> with string "Rejected send message".
>
> To allow pulseaudio to send messages to org.ofono
> service over dbus added this rule.
>
> Signed-off-by: Raghavender Reddy Bujala <[email protected]>
> ---
> ofono/src/ofono.conf | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/ofono/src/ofono.conf b/ofono/src/ofono.conf
> index 6c5483ce..c946e822 100644
> --- a/ofono/src/ofono.conf
> +++ b/ofono/src/ofono.conf
> @@ -32,6 +32,10 @@
> <allow send_interface="org.ofono.intel.LteCoexistenceAgent"/>
> </policy>
>
> + <policy user="pulse">
> + <allow send_destination="org.ofono"/>
> + </policy>
> +
> <policy at_console="true">
> <allow send_destination="org.ofono"/>
> </policy>
--
Raghavender