I've been thinking about doing it more basic: "Please enter the extension"
I'd make '7777' be the only "extension" that gets through. Callers that are in my contacts wouldn't even get the prompt. The doctor's office, school administrators, or any other not-a-contact-but-still-wanted caller would know what my "extension" is.