I agree with Coral Tech and tampasteve - it is better to dial 9.
But if you want to get outside line without dialing 9, you can try public libraries (assuming that your internal number plan and outside number plan are not crossing).
Or, maybe, you can use network programming...depending on how your system sizes are programmed. But libraries are better...saying nothing about dialing 9 smile