Is there a way to have the stratagy system ignore trying to call any ext and only accept dtmf of the menu options?

What I need is to not allow a caller to dial just any ext and only allow them the preset menu options or the operator.