Android Question phone.setvolume & SIP


Licensed User
Longtime User
I am trying to set the phone speaker volume to lowest or off for an embedded SIP in my application.

I have setup all the RTP's {as far as I know} and they all report as valid.
<uses-permission android:name="android.permission.USE_SIP" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />

But no matter what value I set for volume on VOLUME_VOICE_CALL, & VOLUME_SYSTEM the speaker volume is still high during calls (if I check the values they report back as I have set them including 0).

Also if I set SIP.SpeakerMode=False that has no effect, and SIP.ToggleMute also has no effect.

I tried using the SIP example provided with the library. All other features work OK - calls, answer, BUT MUTE does not work.

I added code to check and ask for the "android.settings.NOTIFICATION_POLICY_ACCESS_SETTINGS" and allowed that as well but with no difference.

Is this a device specific issue or am I missing something?