Outbound CID based on number dialed

I am new to this. I understand this can be done with the setup of trunks and outbound routes, but i do not understand how to do this, any help would be greatly appreciated.

Thank You

Version 2.7, in beta but about to go RC1, can set different CIDs per outbound route. Prior to 2.7 this feature did not exist. You need to load 2.7 from the tarball until we provide an upgrade module from 2.6, which will probably happen within a week.