Table of Contents

Enable/Disable SIP with Tasker for Android

For various purposes you might want to enable or disable your android inbuilt SIP phone with tasker. E.g. in my case I only have SIP enabled if the battery is above 78% or the phone is charging.

Prerequisites

Set Permissions using adb

adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SETTINGS
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS

What it does

It simply sets sip_receive_calls in System Secure Settings to 0 or 1.

The Tasks

As Tasker DataURIs:

As compressed XML Tasks: Tasker Tasks SIP on/off

Post-Install

None