In the past, there was a root-assisted app Call Master that was able to block calls & prevent them from going to VoiceMail by hanging up one second after the call was taken, this prevented people being able to leave (say they left) a msg.
That was back in the old days of OS 4.2.x, now in 7.1x, th OS can block the call from needing to be answered, but it still goes thru to voicemail.
I don't know much abt this most recent version of Tasker, tho I played with it a bit when Tasker first care out yrs ago- so is someone knows of a way to do the answer/immediate hangup w/Tasker, I'll need detailed, newbie level instructions - please…
I miss being able to have the fone prevent a call fm getting to voicemail.
TIA, oldwolf
I don't know if that's possible but you can configure which calls go to voicemail natively as far as I know. So if blocked calls are handled as rejected calls you can configure to not pass them to voicemail in your phone / dialer settings
In short, yes. Just use an "end call" action. The trick is identifying the call to act on. Not in your contacts is one way. You could also add unwanted numbers to a single contact (e.g. Ignore) and act on that contact.
Abe & ktmom, thanks for your replies, but as I said, I need complete newbie level instructions on the Tasker side. @abe, I know how to get calls to voice mail- but how & where do I get blocked calls to become rejected calls in dialer settings?- I've been using a 3d party dialer forever, so I'm not familiar w/native dialer.
@ktmom, having used Call Master, I've got the theory abt how to ID calls to block/reject as 'not on contacts list, or an ignored group; & thanks for the tip on 'End Call'; but I'm still a Tasker newbie, pls walk me thru the steps, like I never saw Tasker b4, most recent version is beyond anything in 1st release.
TIA all, oldwolf
Start by installing the demo from the tasker website (if you don't have it). Leave it in beginner mode. Add a profile (plus sign bottom right) -> event -> phone -> phone ringing -> define the incoming caller. Play with this to figure out how best to meet your needs. Maybe start by blocking a specific caller in the journey to learn.
You'll then be prompted to provide a task. Give it a name (e.g. Block call). Then add an action -> phone -> end call.
Reading through the tasker wiki available on the developer's website will give you ideas and help the learning curve.
If you have no programming experience, this won't be a quick learning curve, but the task you're looking for is straight forward and amongst the simplest.
Teach a man to fish.....
Is there a consensus for Nougat?
I find many complaints about blockers no longer being able to hangup. My favorite Advanced Call Blocker will no longer do it. None that I try do it even though they claim to.
The hardest part is without a doubt to distinguish the calls. An idea could be to use an app which looks up the number. The one I use sends out toasts reading "spam". I have Autoinput register them for me. Of course, there's a lot of unwanted calls still getting through since sellers use private numbers or new numbers not yet widely identified as telemarketing.
eried1 said:
The hardest part is without a doubt to distinguish the calls. An idea could be to use an app which looks up the number. The one I use sends out toasts reading "spam". I have Autoinput register them for me. Of course, there's a lot of unwanted calls still getting through since sellers use private numbers or new numbers not yet widely identified as telemarketing.
Click to expand...
Click to collapse
Can you use Tasker to answer & hangup on Nougat?
That is the question, can it function?
Then one could work on a blocker that will keep unwanted VMs away.
As I said in post #3, you just use the end call action.
Anyone have a profile or Tasker made app to share?
ktmom said:
As I said in post #3, you just use the end call action.
Click to expand...
Click to collapse
Have you tested the End Call action from a profile? I've tested End Call on the prior version of Tasker and on the current version, and the action doesn't seem to work when called from a profile. On my phone, End Call in Tasker works fine when running the task during testing inside the task area, but Tasker's End Call does not actually work when the task is called from a profile. That functioning had been reported in the Tasker development area a long time ago, and apparently it was never fixed, since my phone worked the same as previously reported. On Nougat I was able to use the End Call task in Secure Settings with SuperSU to actually end a call using Tasker. Secure Settings hasn't been updated in a long time, so I used the following to get Secure Settings to work with SuperSU. Anway, as far as I could tell, End Call seems to be broken in Tasker.
https://forum.xda-developers.com/ap...ersu-v2-05-t2868133/post68700891#post68700891
I've been using it for years within a car mode task. Across multiple devices and tasker versions.
Interesting, maybe it just depends on the phone or something OS related. End Call in Tasker doesn't seem to work on the Pixel with Nougat or Oreo, and there were a number of similar comments online, so I thought the way my phone worked might have been common.
aviwdoowks said:
Can you use Tasker to answer & hangup on Nougat?
Click to expand...
Click to collapse
I know Secure Settings can hang up a call on my phone with Nougat rooted using SuperSU on Tasker, and the Secure Settings information also indicates there's an answer task in Secure Settings, so it's probably possible.
I have a profile, that blocks calls, but I have set it up to block calls from private, blocked, and anonymous callers. it will ring once and hang up the caller. I haven't figured out how to stop it from going to voicemail though.
Harry Tuttle said:
I have a profile, that blocks calls, but I have set it up to block calls from private, blocked, and anonymous callers. it will ring once and hang up the caller. I haven't figured out how to stop it from going to voicemail though.
Click to expand...
Click to collapse
Would you care to upload it?
PMs here do not allow attachments.
Pretty basic, the events are: PHONE RINGING+INCOMING CALL
For the numbers I've used: 0/private/blocked/unknown/anonymous or any specific numbers you want!
For the tasks CALL BLOCK
with the NUMBER MATCH being the the previous mentioned private, blocked...
Next is END CALL, which basically ends the call.
I have a NOTIFY. That puts an icon in my status bar, and a CALENDAR INSERT that puts it into my calendar.
It will block calls but it will ring one-time and disconnect the call, I've tried to silence the ringer by adding a nite but wasn't successful.
Apologies for resurrecting an older thread, but a few minutes ago I just worked out how to do exactly what the OP asked: answer and immediately hang up to effectively block unwanted calls.
I've created a rudimentary answer-and-hang-up call blocker, in Tasker, on Oreo, on a Sony Xperia X Compact, which is not rooted. I don't yet want to root my phone because Sony still provides monthly OS updates, I don't object to the Sony UI, and skvalex's Call Recorder works happily on this non-rooted phone. Once Sony turns off the update tap, then I'll investigate rooting it.
I cannot vouch that my experience will work for everyone on every device. All I can say is, it works for me. If it doesn't work for you, tinker with the various options to see if it can be made to work on your phone.
I don't want to reject calls, because then they go to voicemail and I can't be bothered with the effort of calling my voicemail to delete them. Instead, I want to answer the calls and then hang up, so there's no voicemail to handle. On my phone, the End Call task doesn't cancel the unanswered call; it sends it to voicemail.
I also want wildcard blocking because scammers often spoof caller IDs from area code prefixes which simply don't exist in the UK. I want to block all calls from fake area codes.
Extreme Call Blocker used to do both answer-and-hang-up and wildcard blocking, and was well worth the low purchase price. Unfortunately, it no longer does what it's supposed to do. The app hasn't been updated since 2016 so my suspicion is that newer versions of Android have changed things which ECB relied on. In addition, the developer's domain expired a month ago, so I'm not holding out much hope for an update to the app.
Call Control does have an answer-and-hang-up feature, which works as advertised, but the wildcard blocking does not work. At least, not on my phone. Perhaps it works for other people.
I tried a few other blockers but they all seemed to send the callers to voicemail. I got bored of testing call blocking apps at this point and figured I'd create my own.
So that's the introduction. Now on to the how-to.
This requires two apps, both of which are paid-for (but definitely worth the couple of quid asking price):
Tasker
AutoNotification
In Tasker:
Create a profile based on the Event "Phone Ringing". Add the number blocklist to the optional Caller field, using wildcards if required (for example 020* will block all calls from London). Use / as a separator, e.g. 020*/01234*/0870* etc.
Add these Tasks:
Task -> Wait -> 1 second (adjust timing for your preference)
Plugin -> AutoNotification -> Query (Configure the Apps section to intercept notifications from Phone.)
Plugin -> AutoNotification -> Actions (Configure the Intercept Action ID with the appropriate variable from the above Query. On my phone it's %anbutton2action() - yours may well differ.)
Task -> Wait -> 2 seconds (as before, adjust timing for your preference)
Phone -> End Call
It's not elegant, and requires manual updates of the Caller data in the Tasker Event, but it does what I want it to do.
If someone wants to update Extreme Call Blocker, or fix the wildcard handling of Call Control, then I'll ditch this in a heartbeat. But for now it meets my needs (and hopefully those of the OP, too).
Some additional background: In the UK (and maybe elsewhere), callers pay the termination fee to call a mobile phone, unlike in the USA and Canada where the recipient pays the termination fee. I'm in the UK so I like to answer the calls and hang up, so that the scammers get charged. Or, whoever is providing services to the scammers gets charged. Either way, if enough people do this, and the aggregate monetary cost is significant, then someone might take action to cut the scammers off.
It's a slim hope, I know, but you do what you can, right?
This morning I refined the tasks, to reduce the distraction from the phone ringing and hanging up.
This is now my current task list:
1. Audio -> Vibrate On Ringer -> Off (this does not always kill the vibration for every call, but it catches most - I suspect a timing issue)
2. Variables -> Variable Set -> Name %RingerVolume To %VOLR (save the current ringer volume level)
3. Audio -> Ringer Volume -> 0
4. Alert -> Flash -> SCAM - DO NOT ANSWER (for those times when I'm looking at the phone when it rings, or notice any vibration)
5. Task -> Wait -> 1 second
6. Plugin -> AutoNotification -> Query (Configure the Apps section to intercept notifications from Phone.)
7. Plugin -> AutoNotification -> Actions -> %anbutton2action() (Configure the Intercept Action ID with the appropriate variable from the above Query. On my phone it's %anbutton2action() - yours may well differ.)
8 Task -> Wait -> 2 seconds (as before, adjust timing for your preference)
9. Phone -> End Call
10. Audio -> Ringer Volume -> %RingerVolume (restore the previous ringer volume level)
11. Audio -> Vibrate On Ringer -> On
---------- Post added at 10:48 AM ---------- Previous post was at 10:47 AM ----------
http://tasker.dinglisch.net/userguide/en/matching.html gives some additional advice for pattern matching against callers, including a link to a very comprehensive regex reference: https://developer.android.com/reference/java/util/regex/Pattern
I could block fake London calls with 0201*/0202*/0203*/0204* and so on, but regex offers a much more efficient way to do it: ~R^020[0-69]
I'm aware that Ofcom inexplicably believes that 020 3xxx xxxx is a valid number range for London, but I've yet to encounter a reputable company which lowers itself to using 020 3xxx xxxx numbers. In my experience they're the preserve of fly-by-night outfits and scammers. So into the blocklist they go.
What is the difference in tasks "End Call" and "Block Call" and why the former does not ask for the number while the latter does?
In my experience the "block call" does not work, and the "end call" might ring the ringer once (or at times not at all) and then send the call to voicemail.
I would rather have it to NEVER ring and NOT send it to voicemail.
Suggestions?
drgkt said:
What is the difference in tasks "End Call" and "Block Call" and why the former does not ask for the number while the latter does?
In my experience the "block call" does not work, and the "end call" might ring the ringer once (or at times not at all) and then send the call to voicemail.
I would rather have it to NEVER ring and NOT send it to voicemail.
Suggestions?
Click to expand...
Click to collapse
If you want the phone to never ring, use whatever call blocking feature your service provider offers. It will be impossible for an on-device app to always prevent a ring.
From the information button on "block call" (? In a circle in the action screen)
"Call Block
Block outgoing calls to the specified matched number(s).
If no Number is specified, all calls will be blocked.
If Info is checked, all diversions and blocks will be displayed after the action.
To stop blocking, use Call Revert."
End call doesn't need a number because it's an action. You determine what calls to end through the profile then run a task with an end call action.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Related
Hi! I am looking for a call filter program that can filter all unwanted or no number incoming calls, I tried photo contacts pro but its slow & sometimes the caller can't hear anything for 1 to 2 seconds repeatly during the conversation. I also tried MagiCall, this program is simple & nice but it can't hang up the no number calls, instead it will pass these calls to my voice mail box directly. It has a option "pick up/hang up", this works what I want but will waste the air time. So anyone can suggest a call filter program to me that can directly hang up the no number calls? Thanks!
Call Firewall
thanks for your reply, I've seen the features of this program but it doesn't mention it can block no number call or not? Do you know it has this feature or not? Thanks!
uh, sorry, can't help you there. I only HAD this program in some of the ROMs I used, never actually USED it.
And auto-rejecting no-number calls would have killed it in my book anyway, because the phone central in my office randomly removes id from outgoing ones, and so I would never receive business calls, lol.
Ask around, or better yet, try searching the forum for impressions/reviews. I know Laurentius26 uses this app in some (if not all) of his ROMs.
[EDIT]
That's what I found in the description:
Features & Options:
a. Accecpt all calls - pretty self explainatory
b. Accept call from My Contacts only - accepts calls from contacts only, others are rejected
c. Reject all calls - pretty self explainatory
d. White List - accepts calls only from the white listed nos
e. Black List - accepts all call except from the black listed nos
f. Black List Pattern - any no STARTING from the black list pattern list is rejected.
for eg. if you enter "123", so all nos STARTING from "123" will be rejected
this is a very nice option with which you can block nos from any particular network, country, city , area or whatever you can think of.
Besides, there is a check window for "Reject unknown/private calls"... I'd call it a YES, then
CallBlock
I use callBlock from WISH solutions to block a list of callers. It works well and it does not have to answer and hang up.They mention that it can block no number calls but I have not tried it for that. Here is the link:
http://www.wishsolutions.com/products.html
Good luck!
Just tried the Call Firewall, it can block no number calls, but transfer the call to voice mail box directly. Anyway thanks for your suggestion
actually, this CallBlock looks like it offers a few ways of blocking the call... See picture at this address
Block method: dropdown list... Wonder what's in there? researchermd, can you check and let us know?
call firewall works just fine. I use it to block unknown or private numbers.
In addition, you can use your network settings for call barring and block numbers that aren't in your phonebook if you want the extra security of blocking numbers.
The screen you provided should be "CallBlock Ringtone Edition" which is make for palm. For the PPC version, there has no such option can be found
Is there any direct (or convoluted) way to reject an incoming call, i.e. send it directly to voicemail. Meaning
(a) if a call is coming in and matches certain criteria
(b) send the call to VM, and stop the ringing. (programmatically)
I've got (a) under control but I dont know how to do (b).
Any ideas?
Thanks
Jay
Well I know in the phonebook settings there is an option to send directly to voicemail for that particular number but that would require you saving the number in your phone book.
speoples20 said:
Well I know in the phonebook settings there is an option to send directly to voicemail for that particular number but that would require you saving the number in your phone book.
Click to expand...
Click to collapse
+1
I have Telemarketer1 - 7 right now in my phone book and they all go straight to voicemail with that option. Now if there was some way to block "UNKOWN"!
We need a Call Firewall / Blocker Software which can do following.
Register for Intent which can hook Incomming Call events
When Intent is raised if Checks for the number across Predefined Rules in Priority Order if any Rule matched take Action like
Reject Call
Accept and Immediately Reject THIS WILL COST CALLER
Send to Voice Mail
Reject and Reply with SMS
Reject and Create Reminder for Predefined Minutes to Remind us to Call them Back
+1
great idea
Try Youmail (it works for all phones)
There is a program for WM called Mobion MagiCall that would do everything that everyone wants on android but who can port it...
Back to my question...
Folks
I love the lively chit chat but does anyone have an answer to my original question: how do I reject a call programmatically and on the fly (not through phonebook entries set up ahead of time)?
BTW I will have an app available next week on Android Market that allows you to respond to incoming calls with an "I'll call you back asap" text or email, and it will set a reminder for you to call the caller back.
jayandro said:
Folks
I love the lively chit chat but does anyone have an answer to my original question: how do I reject a call programmatically and on the fly (not through phonebook entries set up ahead of time)?
BTW I will have an app available next week on Android Market that allows you to respond to incoming calls with an "I'll call you back asap" text or email, and it will set a reminder for you to call the caller back.
Click to expand...
Click to collapse
OMG!!! YES, WE CAN DO THAT!!!
I was going to kill myself after severe 24 hours of investigating and discovering... But I've found "fresh" solution!
// "cheat" with Java reflection to gain access to TelephonyManager's ITelephony getter
Class c = Class.forName(tm.getClass().getName());
Method m = c.getDeclaredMethod("getITelephony");
m.setAccessible(true);
telephonyService = (ITelephony)m.invoke(tm);
all all all of hundreds of people who wants to develop their call-control software visit this start point
http://www.google.com/codesearch/p?...:http://mylockforandroid\.googlecode\.com&d=0
there is a project. and there are important comments (and credits)
briefly: copy aidl file, add permissions to manifest, copy-paste source for telephony management )))
Some more info for you. AT commands you can send only if you are rooted. Than you can kill system process and send commands but you will need a reboot to allow your phone to receive and send calls =)))
I'm very hapy =) Now my Shake2MuteCall will get an update !
I use tcallblocking lite (search the market for it) to block calls from unknown numbers and any rom with the hacked phone.apk in it allows you to add numbers to a blacklist. No need for additional entries in your contact list
Moved as not Android Development.
I tried Call Firewallv1.40 freeware. It seems to be working at blocking unwanted private calls. I found it here http://www.freewarepocketpc.net/ppc-download-call-firewall-v1-4.html. The price is certainly good.
Features & Options:
a. Accecpt all calls - pretty self explainatory
b. Accept call from My Contacts only - accepts calls from contacts only, others are rejected
c. Reject all calls - pretty self explainatory
d. White List - accepts calls only from the white listed nos
e. Black List - accepts all call except from the black listed nos
f. Black List Pattern - any no STARTING from the black list pattern list is rejected.
for eg. if you enter "123", so all nos STARTING from "123" will be rejected
this is a very nice option with which you can block nos from any particular network, country, city , area or whatever you can think of.
On windows mobile, I had an app that allowed me to create a white list of users, and easily set (and unset) it so that only calls from people on that white list would ring the phone, everyone else would go straight to voicemail. Is there such an app for Android?
I used it when I was sleeping, so that calls from trusted people who wouldn't call unless it was important would wake me, while random calls from people who fail to comprehend 'I work 3rd shift and sleep during the day' would go to voicemail. I know individual entries in contacts can be set to ring straight to voicemail, but it's way too much hassle to manually set a bunch of contacts to ring to voicemail, and no help for calls from numbers NOT in my contact list.
Well There is a app called callblock that you either set it to ignore certian numbers or you set it to block unknown numbers... (theres also one for sms too)
You could use Locale like this if your shifts are consistent times:
1. Setup a 'Sleep' situation based on time conditions that mutes notifications and rings.
2. Setup a higher rated 'Trusted Contacts' situation switching the ringer on for calls from your selected contacts.
I used to use Locale like this on my G1 - I'm waiting on manually switched situations (planned upgrade to Locale) to start using Locale again on my Magic.
Just click on a contact and scroll all the way down and it should say send calls from this contact directly to voicemail or something like that
nick8197 said:
Just click on a contact and scroll all the way down and it should say send calls from this contact directly to voicemail or something like that
Click to expand...
Click to collapse
Yeah, like I said, doing this for all my contacts doesn't work, cos I'd be doing it and undoing it every day, plus this is no help for calls from numbers I don't know.
texanman said:
Well There is a app called callblock that you either set it to ignore certian numbers or you set it to block unknown numbers... (theres also one for sms too)
Click to expand...
Click to collapse
I can't find call block in the market. I searched this forum, and someone mentioned not being able to find call block after upgrading to cupcake. http://forum.xda-developers.com/showthread.php?p=3860495#post3860495
Have you got the apk for call block?
i cant even find this callblock app....there's no solution?.....for the Iphone i had like 2 apps for it and for the Fuze i had an app for it....wuz good wit the Market....i can't ever find anything....Cyrket n da barcodes are a lifesaver
Grab a copy of Reverse Lookup Plus.
You can choose to "lookup" any unknown call, get caller info, and then you can decide to added it to a blocked-list that auto sends it to voicemail.
I --believe-- this is the Call Block all grown up and renamed.
For my purposes, locale was the answer, once I got it set up properly. I set a condition of 'contact', listing the people I want the phone to ALWAYS ring if they're calling, and set the action to 'volume max'. Then I made sure this was at the top of my list in locale, since higher on the list is higher priority. The locale help has instructions about this, using 'VIP callers' as an example.
I can't seem to find Locale or Reverse Lookup Plus from the market?
sonyclie77 said:
I can't seem to find Locale or Reverse Lookup Plus from the market?
Click to expand...
Click to collapse
http://www.cyrket.com/search?q=locale
The first result is locale. YOu can scan the 2d barcode on the page with your phone, and the phone will ask if you want to open the link with your browser or with the market. click market, it'll take you straight to locale.
What is the best call blocking program for the aria? It needs to have a whitelist to only allow people I specify to reach me. Thanks in advanced
Not exactly a direct solution on the Aria, but doesn't Google Voice allow you to filter calls? Again, I don't know about blocking.. but at the very least you can direct calls you don't want directly to voicemail.
i actually found this option today while going through my contacts. if you actually choose a contact and view his/her contact information. there is a menu down option to automatically send that person to voicemail whenever they call. i've already set a few to that option, but have yet to test it.
asiancuta said:
i actually found this option today while going through my contacts. if you actually choose a contact and view his/her contact information. there is a menu down option to automatically send that person to voicemail whenever they call. i've already set a few to that option, but have yet to test it.
Click to expand...
Click to collapse
I tested it today, works GREAT!!! the phone doesn't even ring they just go right to VM
i use an app called Driodblock. there is a feature in it that tells you to block all calls except for your contacts (under scene mode). i think that is what you are looking for
i use it to block telemarketers or any unknown calls, which is what it's useful for. it does however tell you that the person called, but you dont hear the ring or anything, it goes straight to voicemail. you can also set it up so that that person gets hung up on so they dont get vmail LOL
the only problem is that if you search for droidblock in the market app, it doesnt show up. you have to search under "block calls" and it'll show up.
Yep, the two best ones are made by the same company:
Root Call Blocker (for general use):
https://market.android.com/details?id=fahrbot.apps.rootcallblocker.beta
Call Master (for advanced users):
https://market.android.com/details?id=fahrbot.apps.blacklist
These are the only blockers that completely block everything without turning the screen on. Need to be rooted though.
I use the option under contacts if it's someone I would rather leave a voicemail than talk to.
I use an app called call filter for numbers where the caller id is unknown. It has additional options for blocking specific numbers, but I've never needed it.
I've registered my phone numbers on the national do not call registry. I don't get telemarketing calls. If I ever do receive one, I will go to that same site and report the number. I've only received two telemarketing calls in the past 4 years having my number registered there.
You could use blocking apps to help you
Some apps on the Google Play provide you esay ways to block the unwanted calls.
Such as WhosCall, Call Blcoker ,Mr Number, Caller ID and so on.
You could try it. But don't install all of them at once since it would make your phone slow.
I usually use WhosCall which can search the strange phone number and provide a easy way to block them.
Hope it could help you.
We make the two best ones - root call blocker and call master. Both in my sig. Enjoy.
jznomoney said:
What is the best call blocking program for the aria? It needs to have a whitelist to only allow people I specify to reach me. Thanks in advanced
Click to expand...
Click to collapse
This is easily Root Call Blocker:
https://play.google.com/store/apps/details?id=fahrbot.apps.rootcallblocker.beta
Ive used two years not cant get enough.
See it works.
Sent from my ASUS Transformer Pad TF700T using xda premium
Not sure if I'm in the right place for this so sorry if this gets posted incorrectly.
I'm relatively new to Tasker. Trying to use it autoanswer a call from a specific caller and then dial the number 1, but I'm having real issues getting it setup. Here is what I've done so far.
I developed a task that I'm just calling test using the following steps:
1. CALL - triggered by an incoming call from a specific name (not using a the number)
2. WAIT - currently set to 70ms.
3. LAUNCH APP - launch the phone keyboard.
4. SPEAKERPHONE - set to "on"
5. IN-CALL VOLUME - level 8
6. BEEP - this is just a notification for me that a call has started. I've got it set to 1000 MS
7. AUTOINPUT ACTION - clicks the 1 key.
I then setup a profile, selected STATE, selected CALL INCOMING and then assigned the task to it.
When go to the task and click the play button, it works just fine. When I actually call the number though and have the task set to use my name, I get an error message.
I've tried various versions of this, screening for specific numbers or for a name, but no joy on any of them. The farthest that I've been able to get is to have the phone pick up a call and turn on the speaker phone, but that's only if I don't screen the name or the number of the caller. When in an actual call, I haven't been able to get the keyboard to launch at all.
Additionally, I've been looking all over for examples of a similar task and haven't really found anything useful.
The phone I"m using is a moto g6 - not rooted - running Oreo. Any help would be very much appreciated.