Blocking a call without the calling party knowing it
Most call blocking apps will reject/hang up the calls from blacklisted numbers. But the calling party comes to know that there call was rejected. Is there any way or any app which can really "block" the call (like turning off network connection for few seconds) so that the calling party feels that the phone is either switched off or not reachable.
Academic to do with Google Voice. If you mark a number as spam, further calls from that number will get "doo-doo-doo! This number is no longer in service."
This is a network function and no app will be able to perform the behaviour you're looking for.
At best, you can create a custom "silent" ringtone for a known number. Else, if you'd prefer pressing the volume buttons will usually mute the ringing while giving the dialler the perception that the call remains unanswered.
After some research i found that there is an app Sanity which claims to do this but is not working for me.
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 to:
- proprietary nature of the binary supporting code that enables GSM/CDMA telephony.
- proprietary chipset used for GSM/CDMA communications at a low-level.
If that was available and documented, there would be a lot of call-blocking apps on the Play store, that can do the call-screening in the proper way that would be expected of.
As an afterthought to this answer, a vital part should be noted - Google blocked the
MODIFY_PHONE_STATEpermission in Gingerbread 2.3.7 onwards (It was available on earlier versions of Android), see this Issue which annoyed developers of those third party call blocking software, thus call-block will fail on newer versions of Android, that permission is what enabled third party apps to send a reject/hangup upon receiving said blacklisted number.
I'm not sure about manufacturer skins like Samsung's TouchWiz, but AOSP has the feature you're looking for.
In Google's contacts app, for any contact entry, there is an option to send 'All Calls to Voicemail'. When someone rings you with this enabled, it will ring for 5 to 15 seconds and, of course, go straight to voicemail.
Alternatively, you may want to look at this app. I haven't tested it, so I cannot confirm that the behaviour between the two is identical.
The AOSP thing that you talked about... even there the calling party will know that their call did ring but it was not answered. I want a solution where the phone radio will get turned off just as it detects a call from a given number. This will give a feeling to calling party that the called number is switched off.