Ayrix PBX Hyprid Teams

The following graphic shows the communication of service provider, Ayrix PBX and MS Teams. The Ayrix PBX acts as a full-fledged PBX. Call flows can be controlled and SIP end devices can be registered directly. Communication with the PSTN takes place via a SIP trunk to a service provider. In addition, Ayrix PBX acts as an SBC (Session Border Controller) to enable communication with Microsoft Teams via "Teams Direct Routing". This allows calls from PSTN, SIP end device and MS Teams client to be established with each other. These call scenarios are shown in the further subchapters.

ayrix-ms-teams

Call from PSTN to MS Team + SIP end device

In case of an incoming call to the phone number +41561234567, in a first step the call is delivered from the service provider via a SIP trunk to the Ayrix PBX. The configured call flow steps are executed on the PBX. In the example, the incoming call is delivered directly to the subscriber "Max Muster". "Max Muster" uses MS Teams and a SIP terminal (e.g. desk phone). The call to "Max Muster" is therefore split into two branches. One branch is delivered via "Teams Direct Routing" to Microsoft and thus to the MS Teams client. The other branch directly to the SIP end device. The call can be accepted by "Max Muster" at both endpoints.

PSTN to MS Team SIP Terminal

Call from MS Teams to PSTN

For a call from MS Teams (subscriber "Max Muster") to an external number in the PSTN (+41567654321), the call is started by the MS Teams client and then delivered to the Ayrix PBX via "Teams Direct Routing". On the Ayrix PBX, the configured call flow steps are executed. In this scenario, the call is delivered via the SIP trunk to the service provider and thus to the PSTN.

Call from MS Teams to PSTN

Call from SIP terminal to PSTN

When a call is made from a SIP terminal (e.g. desk phone of "Max Muster") to a phone number in the PSTN (+41567654321), the communication via Microsoft is omitted. The call is sent directly from the SIP end device to the Ayrix PBX. On the Ayrix PBX, the configured call flow steps are executed. In this scenario, the call is delivered via the SIP trunk to the service provider and thus to the PSTN.

Call from SIP terminal to PSTN

Call from MS Teams to SIP terminal (internal)

Subscribers who do not use an MS Teams client (subscriber "John Doe"), but do use a SIP end device, can be reached by an MS Teams user (subscriber "Max Muster") via the internal short number (extension number). The call is started by the MS Teams client and then delivered to the Ayrix PBX via "Teams Direct Routing". On the Ayrix PBX the configured call flow steps are executed. In this scenario, the call is delivered directly to the SIP end device.

Call-from-MS-Teams-to-SIP-end-device-internally

Call from SIP terminal to MS Teams (internal)

Subscribers who exclusively use MS Teams (subscriber "Max Muster") can be reached by subscribers who use a SIP terminal (subscriber "John Doe") via the internal short number (extension number). The call is started by the SIP end device and delivered to the Ayrix PBX. On the Ayrix PBX, the configured call flow steps are executed. In this scenario, the call is delivered to Microsoft and thus to the MS Teams client via "Teams Direct Routing".

Call-from-SIP-end-device-to-MS-team-internal

Call from SIP terminal to SIP terminal (internal)

Internal calls from one SIP end device ("John Doe") to another SIP end device ("Max Muster") are delivered directly by the Ayrix PBX. The call is started by the SIP end device and delivered to the Ayrix PBX. On the Ayrix PBX, the configured call flow steps are executed and the call is then delivered directly to the SIP end device. The communication with MS Teams is omitted.

Call-from-SIP-end-device-to-SIP-end-device-internal

Call from MS Teams to MS Teams (internal)

Internal calls from one MS Teams client ("Max Muster") to another MS Teams client ("Bob Smith") are delivered directly from MS Teams. The call is started by the MS Teams client and delivered via MS Teams. The communication with Ayrix PBX is omitted.

Call-from-MS-Teams-to-MS-Teams-internally