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

  • App Tasker (sorry no FDroid)
  • Additional permissions for Tasker
    • android.permission.WRITE_SETTINGS
    • android.permission.WRITE_SECURE_SETTINGS

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

realraum Graz, Brockmanngasse 15, 8010 Graz, realraum - Verein für Technik in Kultur und Gesellschaft
  • /var/lib/dokuwiki/data/pages/xro/tasker_sipcalls.txt
  • Last modified: 2020-01-18 17:05
  • by xro