VM only for external calls

Client has asked us if we can set up that voicemail is only active for external callers,

If we are calling internally there is no voicemail?

Any ideas if we are able to do this?

Thank You

You will have to write a custom dialplan

Thank you, Ill leave that for now! got a ton of other things on my list. haha