Integrating with Microsoft Teams: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
(Replaced content with "The integration with MS Teams is experimental. First step, Microsoft Teams configuration Second step, OpenSips configuration")
Tag: Replaced
Line 3: Line 3:
First step, [[Microsoft Teams configuration]]
First step, [[Microsoft Teams configuration]]


On the Microsoft side:
Second step, [[OpenSips configuration]]
 
Configure Microsoft Teams for DirectRouting
 
1. Microsoft 365 admin center → Settings → Domains → Add domain (as example sbc.v-pbx.site)
 
[[File:MS Teams - Integrazione 1.png|800px]]
 
2. Select method, I used verify by add TXT record in DNS
 
[[File:MS Teams - Integrazione 2.png|800px]]
 
3. Receive data for verification
 
[[File:Msteams3.png|800px]]
 
4. Add TXT record with data from MS
 
[[File:Msteams4.png|800px]]
 
5. If you use domain only voice call, uncheck “Exchange and Exchange Online Protection” and complete verification
 
[[File:Msteams5.png|800px]]
 
6. Add user with created domain. Users -> Active users -> Add a user
 
[[File:Msteams6.png|800px]]
 
7. Select necessary licenses Phone Standart + (Buisness Basic or if you have E3)
 
[[File:Msteams7.png|800px]]
 
8. Now you need go to “Microsoft Teams admin center” Voice -> Direct Routing
 
[[File:Msteams8.png|800px]]
 
9. At the top right of the page, select “Manage PSTN usage records” and add “sbc”
 
[[File:Msteams9.png|800px]]
 
10. Next  Voice -> Direct Routing ->SBCs -> Add
 
[[File:Msteams10.png|800px]]
 
make sure you have selected “Enabled” and “Send SIP options”
 
11. You will see that the domain has been added but is inactive.
 
[[File:Msteams11.png|800px]]
 
12. Next  Voice -> Direct Routing -> Voice routes -> Add
 
[[File:Msteams12.png|800px]]
 
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
 
[[File:Msteams13.png|800px]]
 
Create new Policy and add our PSTN
 
14. Users -> Manage users and edit our user
 
[[File:Msteams14.png|800px]]
 
15. Policies->Voice routing policy-> Edit
 
[[File:Msteams15.png|800px]]
 
Select created “my rp”
 
16. Account -> General information -> Edit
 
[[File:Msteams16.png|800px]]
 
17. Assign phone number -> Phone number type=Direct routing -> Assigned phone number = your number
 
[[File:Msteams17.png|800px]]
 
[[File:Msteams17b.png|800px]]
 
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.

Revision as of 11:34, 29 March 2024

The integration with MS Teams is experimental.

First step, Microsoft Teams configuration

Second step, OpenSips configuration