Outbound route

Hi guys,
I have two sip providers,
The first provider,has outbound dial plan:
prefix is 900 and a number they will dial to (pretty much any number you can think of)

I want the second provider to be with a prefix of 9
after the prefix the first number they will dial will always be a 0, the second number will be from 1-9

Can anyone think of an outbound route plan that wont create a collision between the two?

Thank you.

Why do you have to worry about contentions (not collisions)? Just prepend the 900 in the porviders trunk.

First prefix: 900
Second prefix 90[1-9]