How can a user make only internal calls?

Hello.
I want to know what changes i have to make in sip.conf configuration file, for a certain user to be able to make only internal calls.
Thank you.

Set their context to one that will only allow them to make internal calls. In sip.conf set context=internal-only in the internal-only context in extensions.conf do not allow any “out side” calling.