If you're looking for a free and ad-free/in-app-purchase-free app, you can use the open-source NoPhoneSpam, which is available on F-Droid (though not Google Play). It supports blocking calls from individual numbers and from numbers that match a pattern with wildcards.
This is especially useful for blocking "prefix spoofing" calls, that appear to start with ...
Have you tried browsing the Tasker's wiki? There are some good pre-made profiles there you can use.
The easy way to block calls with Tasker is described here:
Open Tasker, create a new Profile and name it "Blockr". Select the "State"
context menu and the "Incoming Call" context from that menu. Keep this
screen open and follow the instructions below ...
"Report" does what it says, report the phone number as spam to Google. This will help users of Google's caller ID (e.g. Nexus device users) in the future, since number reported as spam will be shown as "Suspected spam caller" or "Spam" as caller ID.
From Nexus official support,
Mark calls as spam
You can mark all calls from a number as spam to keep ...
Is it possible to block calls starting with a specific number?
Yes, absolutely possible. I once tried an app named Call Blocker - Blacklist App(may show as CallControl after installation) that can do the job here.
Instructions to use this app
Launch the app → Agree for their T&C→ Blocked List → tap → Add to Block list → ...
There is one hack by which you can block your incoming calls.
Go to Settings -> Call settings -> Call forwarding
Now Click on Always forward and enable it to forward the calls to a wrong number.
This will ensure that calls will not come to you and the caller get the tone that call is being forwarded and number is wrong.
You can disable Call forwarding ...
I guess you could do this using the "Conference Call" trick on android (natively!).
The screenshots below are for vanilla Froyo (Android 2.2) and may vary with your version/dialer app.
During your call (Don't hang up the call), after talking to that person, press the "Menu" button on your android. Press "Add Call" from the menu.
Dial and call the number ...
On Android version 5.1.1 (Samsung Galaxy S6 Edge)
One way to do it is go to Phone (like you would make a call) then click on the More in top right of the screen and choose Settings then Call Settings > Call rejection > Auto reject list and select the "Unknown" option.
Hope this saves you some time.
That would be more of carrier dependent and network related, plus, the programmatic API is not well documented hence a lot of third party call blocking apps, inevitably, do send a reject/hangup upon receiving a blacklisted number.
What the OP is asking for, is actually, going down deeper into the nuts and bolts of telephony layer which is blocked off due ...
The icon that displays a blue circle with diagonal line through it in the Phone app's Log tab appears when the user receives a call and manually rejects it with a swipe when the phone rings. As soon as the user swipes to reject the call, the caller will hear the tone of the phone call change from a ringing signal to a busy signal.
The icon that displays a ...
Per this link you can create a profile that defaults to phone silence and changes the ringer to not silent when someone you want to take a call from or is not a person you blocked and then when someone you have blocked calls it will answer the call and hangup.
Here is a summary
Create new profile Allow Calls
Add context --> State --> Incoming Call
Automation is the preferred option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn. To understand how MacroDroid works and the settings required for your Android version, see my answer
This is not tested on Marshmallow as I am on KitKat
You will need to tweak timings in accordance with ...
If it's the same people ringing you regularly what you could do is:
Add them as a contact, under 'Ignore1', 'Ignore2' etc. whenever they
Go to Contacts -> Select 'Ignore1' -> Options (or action menu) -> Select 'All calls to voicemail'
Or if you don't like this method then you could try:
Mr. Number: Text, Call & Block
Extreme Call Blocker ...
From within the stock Android environment, you can at least force contacts to the voicemail. It is not possible to block SMS directly, at least not without root (to my knowledge).
I have a Nexus 4, so your options might differ from what I have.
If you go in the People app, you'll be able to find your SPAM contact. In the top-right corner, you'll have the ⋮ ...
I just saw that you don't want to block the calls, but send to voicemail.
As easy as one, two, three :)
Call settings -> Blacklist -> Small icon at the bottom corner -> Private numbers
That is for cm-10.2.0
Might be a little different if you have another version, but you get the idea.
TrueCaller also allows this. Steps to take on an android phone:
View my block list
press the plus button in bottom-right
Block a number series
Enter the first six of your number
I only found ONE call blocker what is capable to block patterns (what is important for me). It is embware Call Blocker , it can block or enable numbers with Match criteria: starts with, ends with, or include specific numbers. It is ridiculous no more call blocker have these features
There's no functionality built into Android to do this. If you want to block a range of numbers, or numbers matching a pattern, and you can't install apps on the phone to do it (as per Can I block calls based on a specific number prefix or pattern? or Free app to block calls and SMS based on pattern), then all you can do is contact your carrier and hope that ...
automation is the preferred option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn.
You would need two macros for this
First macro would be to set a flag when the call is from an area code
Macro : Area code (name of macro as example)
Call incoming → Select number → abc* ( ...
Edit: Based on OP's clarification in comments and subsequent search - Call Barring refers to both incoming and outgoing calls being blocked whereas Call blocking/Number blocking refers to only incoming calls being blocked.
To answer OP's question
Call barring is not a standard Android OS feature.
Call barring seems to be Samsung OEM specific. See call ...
When you receive an initial message from an unknown contact, you will have the option to Report Spam and Block.
If you just want to block the contact, simply tap on Menu Button > More > Block.
So, in other words, When you receive the message on WhatsApp from a number and that number is not yet in your contact, then WhatsApp will show BLOCK option at ...
Since Google Voice just comes in as a normal carrier call, there is no simple way to separate those calls. It doesn't pass any identifying information that the phone could use to identify it is a Google Voice call versus a carrier call.
You can, however, change your Google Voice settings (on the website, not the app) so that it always shows your Google ...