|
|
| (6 intermediate revisions by the same user not shown) |
| 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
| | Third step, [[Asterisk teams configuration]] |
|
| |
|
| 1. Microsoft 365 admin center → Settings → Domains → Add domain (as example sbc.v-pbx.site)
| | Fourth step, [[MiRTA PBX teams configuration]] |
|
| |
|
| [[File:MS Teams - Integrazione 1.png|800px]] | | Fifth step, [[MiRTA PBX teams extension configuration]] |
|
| |
|
| 2. Select method, I used verify by add TXT record in DNS
| | == Debugging == |
|
| |
|
| [[File:MS Teams - Integrazione 2.png|800px]]
| | Check to see if OpenSIPS is listening to port 5091 |
|
| |
|
| 3. Receive data for verification
| | netstat -nap | grep 5091 |
|
| |
|
| [[File:Msteams3.png|800px]]
| | Check to see if OpenSIPS has made the connection to Teams |
| | |
| 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.
| |
The integration with MS Teams is experimental.
First step, Microsoft Teams configuration
Second step, OpenSips configuration
Third step, Asterisk teams configuration
Fourth step, MiRTA PBX teams configuration
Fifth step, MiRTA PBX teams extension configuration
Debugging
Check to see if OpenSIPS is listening to port 5091
netstat -nap | grep 5091
Check to see if OpenSIPS has made the connection to Teams