[Solved] Phone Ringer

Post your questions and help other users.

Moderator: Martin

Post Reply
Siavash
Posts: 11
Joined: 06 Feb 2017 15:14

[Solved] Phone Ringer

Post by Siavash » 13 Mar 2017 07:51

Hi all

I'm trying to implement a flow to read the caller's name while ringing on bluetooth.

The problem I'm facing is: during the ringing, I can press one of hardware keys to mute the ringer. Howerver, it continues reading the name in a loop (voice output is "system enforced").

Question: How can I determine if the ringer has been muted or not? checking ringer state doesn't help as apparently phone mutes the ring without changing the ringer state.

Thanks
Last edited by Siavash on 17 Mar 2017 19:50, edited 1 time in total.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: [Q] Phone Ringer

Post by Martin » 14 Mar 2017 09:14

Hi,

Condition Audio Stream Active: Ring could work but I can't guarantee that it works on all devices since it's an unofficial feature.

Regards,
Martin

Siavash
Posts: 11
Joined: 06 Feb 2017 15:14

Re: [Solved] Phone Ringer

Post by Siavash » 17 Mar 2017 19:48

Works like a charm! Thanks

Post Reply