Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By 2euro

test: Reply
 
LinkBack Thread Tools
Old September 20th, 2012, 02:21 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default Do Not Disturb Feature?

Hey tasker gurus. I was wondering if you can help me out with my current task. It's not working properly. Currently its sending everyone to voicemail no matter what for my Do Not Disturb profile.

What I want
A "Do Not Disturb" feature similar to iPhone. Where if on, sends the caller to VM unless you are in my starred list.

My Tasker settings. I noticed 9 and 10 are reversed. I've fixed that.


Do Not Disturb end


Widget icon button

2euro is offline  
Last edited by 2euro; September 20th, 2012 at 02:38 PM.
Reply With Quote
sponsored links
Old September 21st, 2012, 03:08 AM   #2 (permalink)
turbo drinker
 
D-U-R-X's Avatar
 
Join Date: Apr 2011
Location: Sheffield, South Yorkshire
Posts: 16,413
 
Device(s): Nexus 4 (Stock, rooted, 4.4.2), Nexus 7 1st Gen (Stock, rooted, 4.4.2)
Carrier: Orange

Thanks: 10,327
Thanked 6,680 Times in 4,125 Posts
Default

Sounds like it would be a useful feature
__________________
See something that needs Mod attention? Hit and let us know
Free online storage @ Dropbox - use my link & we both get 500MB extra (when you install Dropbox)
D-U-R-X is online now  
Reply With Quote
Old September 21st, 2012, 03:51 AM   #3 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Totally different approach to what I did. I simply turned the volume down, then had a task triggered by a contact calling me that turned the volume up.

Wouldn't know how to start with voicemail though.
SUroot is offline  
Reply With Quote
Old September 21st, 2012, 12:17 PM   #4 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

You have %CNUM in your context. That will always match the incoming number because it is the incoming number.

The Contacts action shows a list of contacts.

* This might help:
http://tasker.wikidot.com/block-calls
__________________
My Eris apps
bberryhill0 is offline  
Last edited by bberryhill0; September 21st, 2012 at 10:43 PM.
Reply With Quote
Old September 24th, 2012, 05:03 PM   #5 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Still no luck...

Anyone with more tasker experience care to add a how to?
2euro is offline  
Reply With Quote
Old September 24th, 2012, 06:55 PM   #6 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

How many numbers do you want to let through?
bberryhill0 is offline  
Reply With Quote
Old September 25th, 2012, 01:48 AM   #7 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
How many numbers do you want to let through?
About 4
2euro is offline  
Reply With Quote
Old September 25th, 2012, 11:03 AM   #8 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

You could write a profile for each one.
bberryhill0 is offline  
Reply With Quote
Old November 7th, 2012, 07:07 PM   #9 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

So, I've decided to go this route until I find a better option for turning on/off the "Do Not Disturb" feature.

When ON if a call comes in and they are not in my favorites list it will go straight to voicemail. Call Block basically has an EndCall task. To turn on unfortunately you have to open up tasker and click on the check. otherwise its got the red circle. For some reason I cannot create a widget icon on the desktop for an on/off method if its setup as a profile.
2euro is offline  
Last edited by 2euro; November 7th, 2012 at 07:11 PM.
Reply With Quote
Old November 7th, 2012, 11:02 PM   #10 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

Widgets activate tasks so you could write a task that keeps the state (on or off) of the call blocker and switches it.
bberryhill0 is offline  
Reply With Quote
sponsored links
Old November 8th, 2012, 02:38 PM   #11 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
Widgets activate tasks so you could write a task that keeps the state (on or off) of the call blocker and switches it.
I'm scratching my head on this... what would be the option to check for state under task?
2euro is offline  
Reply With Quote
Old November 8th, 2012, 08:55 PM   #12 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

A variable that the new task maintains to keep track of whether the call blocker is on or off. Then use action Tasker> Profile Status to switch your profile on or off.
bberryhill0 is offline  
Last edited by bberryhill0; November 8th, 2012 at 09:07 PM.
Reply With Quote
Old November 9th, 2012, 12:01 AM   #13 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Awesome!! Thanks, bberryhill0! I got it working. I'll post my profile later if anyone is interested in the same feature.
2euro is offline  
Reply With Quote
The Following User Says Thank You to 2euro For This Useful Post:
bberryhill0 (November 10th, 2012)
Old November 9th, 2012, 02:13 AM   #14 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Here's the task I had created. Once you create this task you can then just create a widget to place on your main screen for the on/off switch. Also, you'll need to set up the profile on post #9 to accompany this.

The set tasker icon basically puts a lock icon on the notification bar. This is so that I know if the DnD is turned on or off.
2euro is offline  
Reply With Quote
Old November 9th, 2012, 02:25 AM   #15 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

and... to make things more easier... I've included the profile and task xmls.

Dropbox...
Task - DnD (you may have to rename to DND.tsk.xml)
Profile - Block Calls (you may have to rename to Block_Calls.prf.xml)
2euro is offline  
Last edited by 2euro; November 9th, 2012 at 02:37 AM.
Reply With Quote
Old November 10th, 2012, 03:06 PM   #16 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,338
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

If you use Else on line 7 you don't need the Goto on line 6 or the Stop on line 12.
bberryhill0 is offline  
Reply With Quote
Old November 12th, 2012, 02:04 PM   #17 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Aug 2012
Location: CA
Posts: 25
 
Device(s): S3
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
If you use Else on line 7 you don't need the Goto on line 6 or the Stop on line 12.
good looking out!
bberryhill0 likes this.
2euro is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:35 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.