The next step is to create voice routing. This is how Microsoft Teams will route your calls. For detailed information, please follow the steps described by Microsoft here - https://docs.microsoft.com/en-us/microsoftteams/direct-routing-voice-routing
For the sake of simplicity, below is a quick guide on how to route ALL calls made from Microsoft Teams to the @voice platform.
On Microsoft Teams Admin Panel:
Create a PSTN Usage Record
- In the left navigation of the Microsoft Teams Admin Center, go to Voice > Direct Routing, and then in the upper right corner, click on Manage PSTN usage records.
- Click Add, type Global and then click Apply.
Create Voice Routes (All calls to route to the @voice Platform)
- In the left navigation of the Microsoft Teams Admin Center, go to Voice > Direct Routing, and select the Voice routes tab.
- Click Add, and then enter a name and description for the voice route. For the sake of simplicity, you can name it 'RouteAll'.
- Set the priority to 1 and specify the dialled number pattern. Again, for simplicity sake you can use ^/*, which would mean all calls.
- Next you need to enroll an SBC with the voice route, under SBCs enrolled, click Add SBCs, select both domain names, and the click Apply.
- To add PSTN usage records, under PSTN usage record, click Add PSTN usage, select the previously created PSTN record ("Global"), and then click Apply.
- Click Save.
Create a voice routing policy
- In the left navigation of the Microsoft Teams admin centre, go to Voice > Voice routing policies, and then click Add
- Type AllCalls as the name and add a description
- Under PSTN usage records, click Add PSTN usage, select the "Global" (created in the earlier step) PSTN usage record, and then click Apply
- Click Save.
Assign the voice routing policy to a user
- In the left navigation of the Microsoft Teams admin centre, go to Users, and then click on a user
- Click Policies, and then next to Assigned policies, click Edit
- Under Voice routing policy, select the "AllCalls' policy, and then click Apply
Next: Create Dial Plans in Microsoft Teams