iPhone at least has the option for a contacts only whitelist, I only get notifications from contacts and everything else gets ignored. No point in even considering answering a call from someone I don’t know, if it’s truly important they can leave a message and I respond asap.