LogoLogo
Partner Portal Login
  • Welcome
  • Getting Started
    • Becoming A Partner
    • Getting Support
      • Community Services
        • SMTP Servers
        • DNS Servers
      • Service Status and Incidents
        • Status Page
        • nbn Incident Notifications
    • Accounts & Billing
      • Billing Overview
      • How to pay
  • Services
    • Connectivity
      • nbn TC4
        • Getting Started
        • Troubleshooting
          • nbn Self-Diagnostic Tool
        • Technical References
          • nbn TC4 Sevice Classes
          • nbn TC4 AVC-ID
      • nbn Enterprise Ethernet
        • Getting Started
      • Internet Services
        • IP Geolocation
        • Troubleshooting
          • Advanced Troubleshooting
            • nbn Enterprise Ethernet
            • Telstra Ethernet Access and AAPT Fibre
            • nbn TC4 Connectivity
              • FTTP (Fibre to the Premise)
              • FTTN/B (Fibre to the Node/Basement) or VDSL2
              • FTTC (Fibre to the Curb)
              • HFC (Hybrid Fibre Coaxial)
              • Wireless
          • Logging a fault for your WAN Service
          • WAN Diagnostic Tool
          • WAN Monitoring
        • Technical Reference
          • What is CGNAT and How does it work?
          • Ethernet Service Shaping Requirements
          • Router configuration for Telstra 4G/5G services
      • SD-WAN
        • Getting Started
          • How to login to Antares V2 Portal
          • Getting Familiar with Antares Portal
      • Requesting co-managed router access
    • Voice over IP (VoIP)
      • Best Practices to Protect You from Toll Fraud
      • Best Practice Guidelines
      • Inbound Numbering System
        • How to access the Inbound Numbering System?
        • Creating a new user
        • Diverting a 1300/1800 number
        • Moving a DID between services
        • Creating a basic IVR
      • Grandstream Device Management System (GDMS)
        • How to login to the GDMS platform
        • How to run diagnostic tests within the GDMS
        • How to add a site and move a VoIP Device into it
        • How do I add/remove users from the GDMS Portal?
      • 3CX Guides
        • How to configure our CTS Trunk on 3CX
        • Resolving Call Quality issues on 3CX deployments
        • How to configure a SIP Trunk on 3CX
        • Changes to default 3CX Headers
      • Microsoft Teams Direct Routing
        • Getting Support for Microsoft Direct Routing
        • Configuration Guide
        • Troubleshooting Call Routing
        • Unable to Dial Internationally from Teams
        • Creating a resource account and assigning a Direct Routing DID
        • "Call cannot be connected" error with Auto-Attendants and Queues
        • Creating Dial Plans to Prefix Outbound Calls
      • Brand Specific Guides
        • NetComm Router/ATA
          • How to register VOIPnow extension to NetComm device (NL1901ACV)
        • Cisco
          • SPA112 - Fax Settings
        • Grandstream
          • How to enable TLS encryption on Grandstream phone
          • Upgrading the firmware on Grandsteam phones
          • Setting up voicemail on the DP720 (Cordless Handset)
          • How to setup a VoIP Account on a Grandstream phone
          • Grandstream GXP2140 Voicemail
          • Setting up Monitored Call Parking
      • General
        • Getting Started with your VoIP Reseller Account
        • How much bandwidth do I need for VoIP?
      • VoIP Troubleshooting
        • VoIP Troubleshooting Guide
        • VoIP Fault Guide
        • SIP ALG and turning it off
        • Emails from VoIPNow going to SPAM
      • Number Porting
        • Can I port my existing phone numbers over?
        • How do I port numbers over to Hosted Network?
        • Reasons for Number Port Rejection
      • VoIPNow Guides
        • How to activate call recording in VOIPnow
        • Configuring Charging Plans to add margin to outbound calls
        • Configuring Charging Plans to add margin to 13/1300/1800 Inbound calls
        • What is a valid Caller ID?
        • How can I make Anonymous Calls?
        • Getting a breakdown on the resources for an Organization
        • Configuring Fax to Email
        • VoIP Bundle Creation & Implementation
        • Uploading Sound files to VoIPNow
        • How does Call Parking work on VoIPNow?
        • Transferring Calls Waiting in Queues
        • How to setup a Queue (Hunt Group)
        • How to find a list of all the numbers assigned to your Service Provider account
        • How to do a context jump based on the incoming Called DID
        • How to change Music on Hold for an extension
        • Creating and updating a time interval
        • How to apply a time interval to an Incoming Call Rule
        • How to add an Incoming Caller ID Prefix with an IVR
        • Applying sound files to an IVR
        • How to configure an IVR to transfer to an external number
        • How to enable International Call barring on Organizations and Users
        • List of the common issues submitted by the partners
        • How to Configure BLF on Virtual Multi-Purpose Key
        • How to configure Intercom/Paging
        • How to configure TLS and SRTP on VOIPnow and Grandstream Phones
        • How to give end customer an access to VOIPnow to view/manage the CDR and Call recordings
      • SIP Trunk Requirements: Ports, Protocols, and Codecs
    • Cloud
      • Infrastructure as a Service
        • Getting Started
          • How to login to vCloud Director
          • vCloud Resource Allocation
        • Virtual Machines & vApps
          • Creating a new Virtual Machine
          • What is a vApp and how to create one?
          • Mounting an ISO to a VM
          • Accessing the VM console
          • Using VM snapshots
          • Converting a VM to a Template
        • Backup and Restorations
          • Accessing Veeam Self Service Backup Portal
          • Creating a Backup Job
          • Enabling Application-Aware Processing in Veeam Self-Service Portal
          • Setting up Guest Processing
          • How to start a File Level Restore
          • How to carry out a full VM restore
          • Archived: Restoring a VM or guest files
        • Networking
          • Routed, Isolated and Direct networks in vCloud
          • How to create/delete a vApp network
          • How to create/delete a new Organization level network
        • Administrative Tasks
          • Creating Users
          • What is a 'Catalog' and how to create one
          • Uploading ISO files or OVA/OVF templates
          • Setting up Azure AD SAML based authentication for vCloud
          • Microsoft Software Licensing
          • Activating Windows Servers
          • Checking and Decreasing IaaS resources
      • Backup as a Service
        • Tenant Management via VSPC
          • VSPC Overview
          • Creating Companies
          • Adjusting tenant storage allocation
        • Configuration with Veeam B&R
          • Getting Started
          • Configuring Backup Jobs
          • Configuring Backup Copy Jobs
            • Seeding Backup Copies
        • Configuration of Veeam Agents via VSPC
          • Getting Started
          • Installing Agents
          • Using backup policies
      • Disaster Recovery as a Service
        • Getting Started
        • Configuring Replication Jobs
        • Seeding Replicas
        • Failover
          • Partial Failover
          • Full Site Failover
          • Accessing replica VMs
  • Partner Portal
    • General
      • Manage Contacts
      • How to cancel services in the Partner Portal
    • Rebilling System
      • End Customers Management
        • Services
        • Recurring and Once-Off Charges
      • Charging Plans
      • Rebilling Configuration
        • Integrations
        • Integration Errors
        • Email Settings
        • Product Settings
        • Bank Account
        • Invoice Details
    • Service Qualifications
      • How perform a WAN Service Qualification
      • WAN Service Qualifications Drafts
      • WAN Service Qualification History
      • FTTP Upgrade
    • Security
      • Multi-Factor Authentication
      • Microsoft Single Sign-On (SSO)
      • Account Permissions
Powered by GitBook
On this page
  • Summary
  • Process
  • First Steps
  • Connecting to Microsoft Teams
  • Creating the Dial Plans
  • Assigning the Dial Plan to a User
  1. Services
  2. Voice over IP (VoIP)
  3. Microsoft Teams Direct Routing

Creating Dial Plans to Prefix Outbound Calls

This guide covers how to configure Dial Plans within Microsoft Teams to prefix local calls in order to allow users to not have to enter the local prefix

Summary

This guide covers creating Dial Plans within Microsoft Teams, specifically this guide covers creating a Dial Plan to prefix outbound calls to local numbers with the relevant local area code.

Prefixing the outbound call allows customers based in different states to then allow their staff to call locally without having to dial 02 or 03, etc, first.

E.g. Joe lives in NSW but the head office for the company he works for is based in WA, he currently has to put 02 in front of all local Sydney calls to be able to get to them. With the prefixing, you can assign a custom dial plan to Joe and he will no longer need to dial 02 first to call local numbers.

Process

First Steps

The first thing you need to do is ensure the "Microsoft Teams" module is installed in PowerShell so you can connect to the Teams tenant. To do this open an elevated PowerShell window and run the command below. (Say yes to any warnings that appear)

If you already have the module installed you can skip this step and go straight to connecting to teams.

Install-Module MicrosoftTeams -AllowClobber

Connecting to Microsoft Teams

Once that is installed connect to the Microsoft Teams tenant with an Admin account using the commands below.

Import-Module MicrosoftTeams
Connect-MicrosoftTeams

Creating the Dial Plans

Once you've successfully connected to the tenant you should see some information about the account you connected with. If you see that you can now run the commands below and create your dial plans.

#Creating NSW Dial Plan
$nsw = New-CsVoiceNormalizationRule -Identity AUSTRALIA/NSW-PREFIX -Description "Australia - NSW Prefix Rule" -Pattern '^(\d{8})$' -Translation '+612$1' -InMemory
New-CsTenantDialPlan -Identity "Australia - NSW Dial Plan" -Description "Dial plan that prefixes calls to 8 digit numbers with NSW area code" -NormalizationRules @{Add=$nsw}

#Creating QLD Dial Plan
$qld = New-CsVoiceNormalizationRule -Identity AUSTRALIA/QLD-PREFIX -Description "Australia - QLD Prefix Rule" -Pattern '^(\d{8})$' -Translation '+617$1' -InMemory
New-CsTenantDialPlan -Identity "Australia - QLD Dial Plan" -Description "Dial plan that prefixes calls to 8 digit numbers with QLD area code" -NormalizationRules @{Add=$qld}

#Creating VIC/TAS Dial Plan
$victas = New-CsVoiceNormalizationRule -Identity AUSTRALIA/VICTAS-PREFIX -Description "Australia - VIC TAS Prefix Rule" -Pattern '^(\d{8})$' -Translation '+613$1' -InMemory
New-CsTenantDialPlan -Identity "Australia - VIC TAS Dial Plan" -Description "Dial plan that prefixes calls to 8 digit numbers with VIC/TAS area code" -NormalizationRules @{Add=$victas}

#Creating WA/SA/NT Dial Plan
$wasant = New-CsVoiceNormalizationRule -Identity AUSTRALIA/WASANT-PREFIX -Description "Australia - WA SA NT Prefix Rule" -Pattern '^(\d{8})$' -Translation '+618$1' -InMemory
New-CsTenantDialPlan -Identity "Australia - WA SA NT Dial Plan" -Description "Dial plan that prefixes calls to 8 digit numbers with WA/SA/NT area code" -NormalizationRules @{Add=$wasant}

Assuming the commands above completed without error you should now have four new Dial Plans created in Teams, you can find them under "Teams Admin Portal >> Voice >> Dial Plans"

Assigning the Dial Plan to a User

Now you can go ahead and assign them to a user, you can do this via the Teams Admin portal by editing the user or you can do this via PowerShell. To make the change via PowerShell you can use the command below, and repeat it for every user you want to adjust.

The commands require some modification, change "<user@emailaddress>" to the users actual email address

# For NSW Based Users
Grant-CsTenantDialPlan -Identity <user@emailaddress> -PolicyName "Australia - NSW Dial Plan"

# For QLD Based Users
Grant-CsTenantDialPlan -Identity <user@emailaddress> -PolicyName "Australia - QLD Dial Plan"

# For VIC/TAS Based Users
Grant-CsTenantDialPlan -Identity <user@emailaddress> -PolicyName "Australia - VIC TAS Dial Plan"

# For WA/SA/NT Based Users
Grant-CsTenantDialPlan -Identity <user@emailaddress> -PolicyName "Australia - WA SA NT Dial Plan"

If you encounter any issues with this guide please reach out to our support team at support@hostednetwork.com.au or give us a call on 1300-781-148

Previous"Call cannot be connected" error with Auto-Attendants and QueuesNextBrand Specific Guides

Last updated 4 years ago