Here in Oregon we use 10-digit dialing for local calls. If the call is long distance, even within the area code, we must prepend a “1”.
I want to set up a dial plan that will dial local exchanges without the 1 and long distance with it. Logically my dial pattern, assuming one route, would look something like this:
For all other outbound calls I would like to prepend a “1”, since all other calls are long distance.
For manual dialing this isn’t an issue, but I want users to be able to dial from a phone book.
I have a single ZAP trunk.
Is there a way to do this?
March 6, 2010, 1:15am
first off I highly suggest making a separate route for 911 and put it first, nothing else in it except the acceptable patterns for dialing 911. This is good practice for several reasons.
Next, you do this in your trunk. Do the following in the trunk dialpattern configuration:
and it is important that it is in that order. The patterns in the trunk configuration are scanned in order. As soon as a matching pattern is found it is executed on and then the rest are ignored.
By doing the above, it will allow all of the listed 503 numbers to pass unchanged since the rule doesn’t actually do anything to the number. All other numbers will hit the last rule and assuming they are a 10 digit number, they will have a 1 pre-pended to them.
That was exactly what I needed!
One more question: The pattern 1+NXXNXXXXXX
will prepend a “1”, which will accommodate the address book. Is there a way to also accommodate the user who dials 1-xxx-xxx-xxxx?
March 8, 2010, 7:53pm
it will address any number that the trunk sees dialed as 1NXXNXXXXXX regardless of how that number gets sent to it.