Integrating with Microsoft Teams

From MiRTA PBX documentation
Revision as of 16:08, 8 December 2025 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Further integration

One of the problem with the MS Teams integration is the lack of presence indication. Receiving extension status update from MS Teams is complex and it is currently not possible, BUT, it is possible to check for the Teams extension status BEFORE dialing any Teams extension. This will avoid receiving a MiRTA PBX call while on a call over Teams.

In Admin/Settings, fill the Client ID and Client Secret

In Admin/Tenant, fill the Tenant ID

In Configuration/Extension, fill the Teams Extension ID

Now in Status/Peers you'll see the MIRTA PBX state for each of the Custom Extension and also the Teams extension