Learning will take place whether or not you train your dog. So you might as well teach him what you want him to do and not do. Instead, teach your dog a larger vocabulary. Therefore, when you call your dog to come see you, your voice should be happy, not angry. Your dog prefers to interact with you when there is fulfillment for himself.
Dogs are similar to children in that learning is best accomplished in a positive environment.
Your goal should be to be able to leave your dog out of his confined space while you are out of the house, but your dog must show you some level of responsibility first. When your dog is totally reliable in your presence, then you can begin to leave him out of his confined space for short periods while you are somewhere in your house and capable of correcting any misbehaviors. Extend the free time slowly, and as long as your dog remains correct, prolong his free time while you are out. Praise in some form must always be given to insure that your dog understands when his response is correct. Keep in mind that he always wants to please you.