Setting Phones

How do I set up each phone in my office to have the outbound CID work, Right now all out bound calls are being routed over one trunk and that shows up as the CID. I have aastra phones.