There is cheapest way routing in CallManager. You can only do dial patterns. If the dial pattern matches xyz, then push it out this Route .
Most people use dial patterns for local calls. Such as if my office was 408 area code, and my co-workers keep dialing 408, even though it's a local call, I would have the dial pattern strip the 408 and push it out.
There are cost vs route or dial pattern in callmanagers
hope this helps