Block calls for everyone except for contacts Is there a way to block (or mute) all calls except for those on my contact list?

Im using android 4.1.2 o samsung galaxy s3 mini, thanks in advance
Although you mentioned using Android 4.1.2, I recently stumbled across this question and thought a more recent answer might be useful to others:

On Android 5.0 "Lollipop" and later this can be accomplished using the "Priority only" Do Not Disturb mode:

Configure Do Not Disturb Priority Allowances


  
  Open your device's Settings app.
  Tap Sound, then Do Not Disturb preferences, then Priority only allows.
  Set Calls to From contacts only and adjust any other preferences for this mode to your liking.
  


Turn on Do Not Disturb "Priority only" mode


  
  Swipe down from the top of your screen with 2 fingers.
  Under Do not disturb or your current option, tap the Down arrow.
  Turn on Do not disturb.
  Pick Priority only.
  Choose how long you want this setting to last.
  Tap Done.