Blocking Calls
Summary
I implemented the scripts for Blockr, and found there was a ~2 second amount of time before the ringer would be silenced for calls I wanted to ignore/block.
My solution to the ringer issue requires setting the ring volume to zero by default, and then two profiles - one for what I want to accept, and one for handling the calls I don't want.
Table of Contents
Allowing Calls
- Download the Allow_Calls.prf.xml
- Place it in the Tasker/profiles folder on your phone
- Open Tasker
- Access the menu
- Select Profile Data
- Select Import One Profile
- Select Allow_Calls from the list of available profiles
- Click the OK button to acknowledge risk of importing
- The Allow Calls profile now appears in your Profiles list - edit to desired settings.
Instructions
- Click the New button
- Specify a descriptive Profile Name (IE: Allow Calls)
- Click the OK button
- Click the State context from the list
- Select the Incoming Call state from the list
- Specify what you want to allow - the sample script uses Any Favorite Contacts
- click the looking glass button to get a list of incoming call specific options:
- A Single Contact (opens a dialog to select from existing contacts)
- Any Favorite Contact (C:FAV)
- Any Contact (C:ANY)
- The asterisk (*) is a supported wildcard character to allow for filtering by area code/etc
- "0" (zero) matches anyone blocking caller id — it's unnecessary if filtering by those who're in your contacts or favorites
- "!" reverses whatever logic comes after it
- click the looking glass button to get a list of incoming call specific options:
- Click the Done button
- Click the New Task + to add a task associated with the newly created profile
- Provide a descriptive task name (IE: Increase Ringer Volume)
- Click the OK button
- Click the + button
- Select Audio from the list of actions
- Select Ringer Volume from the list of audio actions
- Specify the level (the sample uses 6) for how loud the ringer should be
- Click the Done button
- Click the Done button to exit the task dialog
- Tap the newly created task (IE: Increase Ringer Volume) to get the Task Options menu
- Select Add Exit Task option
- Click the New Task + to add a task
- Provide a descriptive task name (IE: Reset Ringer Volume)
- Click the OK button
- Click the + button
- Select Audio from the list of actions
- Select Ringer Volume from the list of audio actions
- Specify the level (the sample uses 0) for how loud the ringer should be
- Click the Done button
- Click the Done button to exit the task dialog
- Click the Apply button
Blocking Calls
The following will setup Tasker to screen incoming calls. Those that aren't in my favorites list, will get one ring before they are shuttled off to my voicemail.
- Download the Block_Calls.prf.xml
- Place it in the Tasker/profiles folder on your phone
- Open Tasker
- Access the menu
- Select Profile Data
- Select Import One Profile
- Select Block_Calls from the list of available profiles
- Click the OK button to acknowledge risk of importing
- The Block Calls profile now appears in your Profiles list - edit to desired settings.
Instructions
- Click the New button
- Specify a descriptive Profile Name (IE: Block Calls)
- Click the OK button
- Click the State context from the list
- Select the Incoming Call state from the list
- Specify what you want to allow - the sample script triggers for anyone who is not in the Favorites list (!C:FAV). See Allowing Calls section for more details on supported options.
- Click the Done button
- Click the New Task + to add a task associated with the newly created profile
- Provide a descriptive task name (IE: CallBlock)
- Click the OK button
- Click the + button
- Select Phone from the list of actions
- Select End Call from the list of phone actions
- Click the Done button
- Click the Done button to exit the task dialog
- Click the Apply button
To set Tasker to not provide the caller with the ability to leave a voicemail, add a task for taking the call before ending it:
- Click the New Task + to add a task associated with the newly created profile
- Provide a descriptive task name (IE: CallBlock)
- Click the OK button
- Click the + button
- Select Phone from the list of actions
- Select Take Call from the list of phone actions
- Click the Done button
- Click the + button
- Select Phone from the list of actions
- Select End Call from the list of phone actions
- Click the Done button
- Click the Done button to exit the task dialog
page revision: 13, last edited: 13 Mar 2011 23:50