Integrating with Microsoft Teams

From MiRTA PBX documentation
Revision as of 15:33, 29 March 2024 by Admin (talk | contribs)
Jump to navigation Jump to search

The integration with MS Teams is experimental.

First step, Microsoft Teams configuration

On the Microsoft side:

Configure Microsoft Teams for DirectRouting

1. Microsoft 365 admin center → Settings → Domains → Add domain (as example sbc.v-pbx.site)

MS Teams - Integrazione 1.png

2. Select method, I used verify by add TXT record in DNS

MS Teams - Integrazione 2.png

3. Receive data for verification

Msteams3.png

4. Add TXT record with data from MS

Msteams4.png

5. If you use domain only voice call, uncheck “Exchange and Exchange Online Protection” and complete verification

Msteams5.png

6. Add user with created domain. Users -> Active users -> Add a user

Msteams6.png

7. Select necessary licenses Phone Standart + (Buisness Basic or if you have E3)

Msteams7.png

8. Now you need go to “Microsoft Teams admin center” Voice -> Direct Routing

Msteams8.png

9. At the top right of the page, select “Manage PSTN usage records” and add “sbc”

Msteams9.png

10. Next Voice -> Direct Routing ->SBCs -> Add

Msteams10.png

make sure you have selected “Enabled” and “Send SIP options”

11. You will see that the domain has been added but is inactive.

Msteams11.png

12. Next Voice -> Direct Routing -> Voice routes -> Add

Msteams12.png

Add regular expression to “Dialed number pattern” ^(\+[0-9]{7,15})$. Add SBC and Add PSTN that we created

13. Next Voice -> Voice routing policies->Add

Msteams13.png

Create new Policy and add our PSTN

14. Users -> Manage users and edit our user

Msteams14.png

15. Policies->Voice routing policy-> Edit

Msteams15.png

Select created “my rp”

16. Account -> General information -> Edit

Msteams16.png

17. Assign phone number -> Phone number type=Direct routing -> Assigned phone number = your number

Msteams17.png

Msteams17b.png

Congratulations, the MS Teams configuration is complete! Once we configure Asterisk as the SBC, it will go into an active mode. Users will then be able to make and receive calls.