OK, thatâs a good enough reason for me.
Conceptually, these systems would produce local dial tone and then connect you to either in âintercomâ line (something local to the system) or connect you to âthe worldâ (by dialing â9â, typically). When you dialed â9â, it would hook your phone to that âoutside lineâ and youâd get a new dial tone, with which you would dial the world.
Since youâre here, we should be able to reasonably assume that you are now using FreePBX as your new PBX system. If this isnât the case, however, youâve definitely come to the wrong place.
If the IT manager will trust you with access to the FreePBX GUI, Iâd suggest starting out looking at the trunk definitions. You say youâre using an ISDN line for your outbound - that implies that you (at least used to) have some kind of a real, no-kidding local Branch Exchange.
At this point, Iâll guess you have at least one ISDN connection (it will be a DAHDI connection) and maybe one or more VOIP lines (as backups). The trunk definitions have two functions:
- Which outbound patterns will be sent out over the trunk.
- What needs to happen to that outbound pattern to make it acceptable to the trunk.
For example - your ISDN line might require 7-digit local dialing, 10-digit long distance in-state, 11-digit (â1â plus the 10-digit number) for out of state and â0â + country code and number for international dialing. Whatever the provider requires will be what your trunk will eventually send out.
The next thing to look at is the outbound route definition. This works like the Trunk, in that it serves three functions:
- What dialed patterns are accepted for this route.
- What modifications happen to that dialed pattern to turn it into a desired outbound pattern.
- The outbound route also âpreselectsâ which trunks can be used by the outbound pattern.
Now, the tricky part here is that you can modify the âdialed numberâ twice. The first time is when the dialed number matches one of your outbound route selectors. The second time is when the modified outbound pattern is accepted by a trunk and sent to the actual outbound line.
So, hereâs a possible configuration for your system:
Your old system required your folks to dial â90â for an outside âlocalâ line. I have some experience with this - when I was in the Air Force, we had to dial â94â to dial AUTOVON and â98â for commercial long distance and â99â for an local outside line. So, letâs assume your system works the same way.
Your âoutbound routeâ will have a "Dial Patternsâ tab (assuming a reasonably recent system) with a section that has several sections: prepend, prefix, match pattern and (maybe) caller ID.
The match pattern is used to make sure that the number should be processed by this route - the Prefix is part of the âmatchingâ that goes on. It has to be there for the number to be processed by this outbound route, but it is removed when it is passed to the trunk. The âprependâ then adds whatever is in that column to the number and sends it over to the trunks.
So, what we expect to see in the outbound route might be ânothingâ in the prepend, â90â in the prefix, a number pattern like âNXXNXXXXXXâ (which matches valid numbers in the US). Depending on your PRI, you might have a second line that says â90â in the prefix and âNXXXXXXâ in the number pattern to match local calls.
So, when the number gets passed to the outbound trunk, it will be either âNXXNXXXXXXâ or âNXXXXXXâ. In case you donât have the reference here - âNâ matches â1â - â9â and âXâ matches â0â - â9â.
Now, of course, your mileage WILL vary. There are countless combinations of Prepend, Prefix, Number Patterns, and other features for the trunks.
So, if your configuration has a â90â in the âprefixâ column, you can duplicate that line without the âprefixâ and if someone dials a number that looks like the matching pattern, it will be processed over the outbound line. If you want to test it out, add another line in the outbound route area that doesnât have â90â in the prefix column, but matches the rest of the line and try to dial a number that matches the dial pattern.
Hereâs the fun part - donât tell anyone you did it. Theyâll keep on dialing â90â to get an outside line, and you can just dial like youâre a member of the 21st century.