I recall when I was in the "data overload" stage, some suggestions did not make sense at that particular point in time.
At a later time, the rational will become apparent, and the "code re-factoring" stage will begin. :)
said by WhyADuck:Saw an article about it a few months ago which apparently has been moved here:
Thank you for the new link. I didn't realize Michigan Telephone stopped blogging.
said by Dan_voip:Why don't you do that from the dial plan, something like all calls to US and Canada will be routed via GV and the pattern will be:
1[2-9]xx[2-9]xxxxxx or [2-9]xx[2-9]xxxxxx
For other destinations should be other patterns and router using the proper provider.
said by tired_runner:Can't really do it like that. There's a few area codes within 2-9 that are really international long distance despite starting with one.
Dominican Republic is at 809, 829, and 849. Every call there is at least 3 cents per minute to landlines.
said by nirvy:Since nobody actually answered you, this is how you do it.
said by tired_runner:Interesting... If you are both using the same dial patterns, how does the box differentiate the trunk to use when placing the call? I saw where you put the CID in the dial pattern, but if it's the same for both, how does one trunk win the route selection over the other for the same destination?
I believe that a review of the links above will show that they were answered. :)
The articles (and associated comments) linked above include the following information:
Best practices for routing •Emergency
•Banned/barred (includes premium numbers)
•Restrictive (example using ENUM, but substitute with area codes for non-US/Canadian numbers)
•General
Dialing plans •Applications to extensions (now known as outbound CIDs in FreePBX dialing plan)
•North American Numbering Plan (NANP)
•[macro-dialout-trunk-predial-hook]
said by nirvy:You want to keep typing to people. Good luck.
I believe there is a long term benefit to typing... others may experience the same issues, stumble upon this topic, and gain insight from reading it. :)