How to prevent internet sip originated calls?

Hello
I want to allow phone calls to originate only from phones within our local network .

We still would want to receive calls through our pots and voip service providers.

Could someone point me to docs explaining how to set that up?

thanks
Rob