It's amazing the things that can be done with Tasker sometimes. I had a reason to ignore a caller for a while after getting off the phone with her (ex gf if you must know and I knew I would need it ahead of time). So, I created a profile which is started by a widget. When I press the widget up pops a dialog asking which call to block and I have it list the last caller by default. If I choose this or enter another number it blocks the call until I press the widget again to deactivate the profile.
New Task, Name: Call Block
If %BLOCKED Is Not Set
- Variable Query, Name: %BLOCKED, Label: Block which number?, Type: Phone Number, Default: %CNUM
- Profile Status, Name: Block Call, Set On
- Notify Sound, Title: Call Blocking Active, Text: Blocking calls from %BLOCKED, Icon: (your choice)
- Stop
End If
Variable Clear, Name: %BLOCKED
Profile Status, Name: Block Call, Set Off
Notify Cancel, Title: Call Blocking Active
Flash, Text: Call Blocking is now off!
New Profile, Name: Block Call
Context: State > Incoming Call, Caller: %BLOCKED
Task: End Call
You could also do: Take Call, then End Call so this person doesn't go to voicemail, however this works fine for me.
Be sure to Disable this profile at first by pressing the green check mark so that a red circle slash is present.
Then on your home screen Add a widget that calls your named task Call Block, add an icon, press Make Widget, and presto!
I know that I could use a blacklist app or even set up a blacklist profile in Tasker, but this way, after immediately hanging up the phone I press the widget and within seconds the caller is blocked. The other ways would take up precious time when I know that this person is calling back right away. This will give me the time needed to use the other methods without being interrupted.
As with all things that are Tasker, there is more than one way to accomplish this and remember
- If you think it, it can be done