As it is with SIP Accounts, your Accounts are connected to the cloud and not to a physical exchange. Due to that fact, we are unable to determine when a number is dialled, whether it is a local call or not.
However, with Atomic’s powerful translation rules, you as the service provider can set this up for the Account in Account Settings > Advanced Settings > CLD Translation.
<aside> 🧭 Navigation: Services > Voice > {Selected Account} > Config > Advanced Settings
</aside>
If you want to provide local calling, you can use the below CLD Translation Rule. The below example is to provide local calling for NSW where it will transform any 8 digit number dialled and insert a 612 at the front.
If it is for Victoria, just change the 612 in the code below to 613, and so on.
s/^(.{8})$/612\1
It is also important to point out that if your Account's Dial Format is set to Domestic, when you dial a 13 number (eg. 131234), the platform on the backend will automatically append a 61 to that number (becoming 61131234). When that number is converted, it will also have 8 digits. To ensure proper translation is taken into account, you will need to add the below syntax (remembering to change the 612 to 613 if you are localising for Victoria).
s/^6126113/6113/
So the full syntax will look something like this:
s/^(.{8})$/612\1/,s/^6126113/6113/