How to address analogue devices in a digital world with Teams phone system

One of the biggest challenges in a Microsoft Teams Phone project is analogue devices. By analogue devices we mean all kind of intercom (door openers, elevator system, etc.), modem connections, fax machines, and of course analogue phones.

In every company we usually find at least one of these devices. Sometimes there are only a few, but sometimes there are hundreds. We cannot always replace these old devices with new SIP-based devices. From time to time there are technically no alternatives, but in certain circumstances, it does not make sense to replace them from an economic point of view either. Therefore, analogue endpoints are always a challenge in migration projects.

In the Microsoft Teams environment, it should be noted that not all phone options support the connection of analogue endpoints.
When you are going with Microsoft calling plans, there is currently no support for analogue devices. In case of Microsoft Operator Connect, you have to ask your provider, whether analogue devices are supported or not.

Therefore, most organizations opt for Microsoft Teams Direct Routing, where we have support for scenarios with analogue devices due to the Session Border Controller (SBC). This blog post describes how to configure and use it from a Microsoft Teams perspective.

Requirements
To implement analogue devices in our Teams Phone System environment, we need the following:

  • A certified Session Border Controller (SBC) connected to the Microsoft Teams platform
  • An Analog Telephony Adapter (ATA) certified for the SBC

That’s it.

In most scenario’s a certified SBC already exists, because it is the requirement to implement Teams Direct Routing. A list of all certified SBC and ATA devices could be found here:

Session Border Controllers certified for Direct Routing – Microsoft Teams | Microsoft Docs

A Level 100 Overview

To get the analogue devices working with Microsoft Teams, we connect the ATA to the SBC and the analogue device to the ATA. Then we configure the call routing on the SBC itself:

  • Calls from the PSTN to an analogue device will be routed through the SBC directly to ATA
  • Calls from the analogue device to the PSTN, will be routed through the SBC to the PSTN
  • Calls from the analogue device to a Team user, will be routed through the SBC to Teams and vice versa

PTSN.png

It’s very important to understand, that the call routing will be handled by the SBC and all call restrictions, number manipulations, call monitoring etc. must be achieved by the SBC itself. As long as there are no Teams users called by analogue devices, the call isn’t visible to or managed by the Microsoft Teams platform.

Going into detail – Example of the call routing

Now, let’s go into detail and have a look how to configure the call routing in a SBC. In this scenario, I assume that you successfully connected the SBC to the Microsoft Teams platform and the ATA device is registered to the SBC. We are using the number range from +49 200 208 100 to +49 200 208 199 for our Microsoft Teams Users. The ATA is configured to use +49 200 208 200 for an analogue device.

PTSN 2.png

To route inbound and outbound calls, we have to configure the SBC routing table. For inbound calls from the PSTN or Microsoft Teams users to the ATA, we configure this rule:

PTSN 3.png

All calls from any source with the destination number +49 200 208 200 will be routed to the ATA device.

Next, we need a routing rule for internal calls between the ATA device and Microsoft Teams. We configure the source number of the ATA and as destination the number range of our Microsoft Teams users (+49 200 208 1xx#):

PTSN 4.png

Finally, we configure a rule for outbound calls from the ATA to the PSTN. For this, we create a more or less identically rule like before but this time, we enter * in the destination number field:

PTSN 5.png

Now, we are ready to go and can test our call flow.

IP-to-IP Routing.png

At this point, it should be noted that this is a very simple example, without call limitations. Therefore, this is not applicable 1:1 in a productive environment.

Some Constraints

As always, unfortunately every silver lining has a cloud: if we connect fax machines or modems, everything is fine and the solution will work, no worry – a Teams user will never call a fax machine connected over an ATA device. But if we connect analogue phones to our environment and would like to call these devices from Teams, we have a problem.

Currently there is no solution to create contact objects for them and make them searchable in our Teams address book. For the end user it is quite hard to find them in Teams and give them a call.

Alternatives for analogue phone devices

Sometimes it could be an option to replace the legacy device by a new one. Analogue phones could be replaced by Microsoft Teams certified desk phones or with native SIP phones in combination with the new Microsoft SIP gateway.

Both phone types can be manged by the Teams platform and are fully integrated. The Microsoft SIP gateway was announced last week at Microsoft Ignite to become GA this month and will become a game changer.

Best practices

Just a few best practices from my side for you:

  • Manipulate the source and destination number to E.164 format on the ATA device, so the whole routing becomes less complex
  • Handle the prefix dialing on the analogue devices the same way as in Microsoft Teams client for the end user
  • Define with your team a general concept where to handle call restrictions
    • Centralized on the SBC
    • Decentralized on the ATA devices
  • Disable call waiting in the ATA device and use Busy here instead of it; fax and data connections in general doesn’t like the waiting tone during a transmission
  • When using the unassigned number treatment service for Microsoft Teams, exclude the analogue phone numbers from the number pattern; analogue phone numbers are unknown numbers for Microsoft Teams, because they are handled and managed by the SBC

Conclusion

Implementing analogue devices can be challenging. But with the right planning and preparation, it’s doable with Teams Direct Routing and supported by Microsoft. If you have the required network infrastructure and you have just analogue phones, give the new SIP gateway a chance.

Bio
Thorsten Pickhan is a Microsoft Teams MVP and a Senior UC Consultant at glueckkanja-gab AG, where he is responsible for planning and deploying UC infrastructures based on Microsoft technologies. He works as a technician and consultant for more than 15 years and been specialized in Microsoft Lync/Skype for Business and Microsoft Teams for 8 years. From beginning of my UC consultant career, I was focused on Enterprise Voice implementations.

He is also the co-organizer of the Microsoft Teams User Group Germany and involved in the community as speaker and blog post author. Since March 2020, he has maintained his own Office 365 YouTube channel, publishing new video content for my weekly “Office 365 QuickTipps” channel. In a further YouTube project, together with his friend Michael Plettner, he released a German Microsoft 365 Talk.
You can find me on Twitter, LinkedIn and YouTube.

https://techcommunity.microsoft.com/t5/microsoft-teams-community-blog/how-to-address-analogue-devices-in-a-digital-world-with-teams/ba-p/2945442 https://techcommunity.microsoft.com/t5/microsoft-teams-community-blog/how-to-address-analogue-devices-in-a-digital-world-with-teams/ba-p/2945442 2021-11-10 01:15:14Z