Is there a way to prepend the area code depending on the extension? So I have extensions in Melbourne Australia (area code 03) in my outbound route I have prepend 03 for pattern NXXXXXXX but if I have extensions in Sydney (area code 02) how can I prepend the 02 to their dial out? Do I need to do that in the actual phones? I know in Asterisk I can set it in the dialplan.
Thank you mrivera, although the simplicity of the short way is appealing it means every time a user wants to make a local call they have to dial a prefix. The long way, although a little more complex looks like it solves the problem for me. I’ll try it today.
My setup is a little more complex than just 2 locations. Actually 7 shops with 4 different cities (prefixes 03, 02, 07 and 08). I’d like each city to be able to dial local calls without having to put in a prefix. They don’t need to now, they just select a line (or 9 or 0 for a line) then dial.
For anyone else wanting to get this kind of thing up and running. I followed the instructions above and it works perfectly. Rather than have duplicate entries for other numbers (international, toll free etc) I created an Outbound Route for each city, then one extra Outbound Route (OBCommon) for all of the entries common to all. Then in each city Outbound Route the Failover Destination is Outbound Routes -> OBCommon.
In the Route Selections, I have a route for each city, this then has the outbound route of the city plus the OBCommon route so that it can follow on to the common dialplan if it’s not a local number.
A class of service for each city points to the Route Selection and each Extension uses the Class of Service for its city.
Somewhat complex but seems to work.
So each Class of Service then routes through its respective city
Just an update. Since version 2.3 you can now put filters into the outbound route, so instead of all the extra routes you can just put a prepend based on the extensions. For example for my Brisbane stores with extension in the 24XX and 26XX range I have: Prepend: 07 Pattern NXXXXXXX CID Pattern: 2XX