OK so then you make an Outbound Route that is called “Local Calling” in it, you put those three pattern matches in so no matter how a number to 450424XXXX is dialed, this route will catch it and send it out BabyTel.
Update: You have the BabyTel trunk first and then the Voip.ms trunk second so it can rollover.
You create a second Outbound Route that matches 1NXXNXXXXXX and NXXNXXXXXX since this is for “long distance”. You send calls out this route to Voip,ms
Like I said call the first route “Local” the second route “Long Distance” the make the “Local” route the first in the list and “Long Distance” after that.
Then of course make your 911 route and push it to whichever provider is supplying the DIDs and thus 911.
No need for 1,000’s of routes or matches.