I don't know if "dial plan" is the right term, it's just one that we use at work.

Anyway, the company I work for owns several prefixes in the local area code. Everyone has 5 digit extensions.

(For example, if an extension is 34234, the DID might be (888)823-4234
If an extension is 81726, the DID may be (888)918-1725

I'd like to find an app that lets me simply dial the 5 digit extension. It should work like this:

IF I only dial 5 digits... and the first digit starts with 1, then add the prefix (xxx)98

If the first digit starts with 2, then

of course, zzz and yy will be different for every first digit of an extension.

Hope that's clear..