Blog Post

Microsoft Teams Community Blog
5 MIN READ

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

Thorsten Pickhan's avatar
Nov 10, 2021

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

 

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.

 

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:

 

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#):

 

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:

 

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

 

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.

Updated Nov 10, 2021
Version 2.0

5 Comments

  • peterhkim's avatar
    peterhkim
    Copper Contributor

    Hi, I have a question about this setup.  We are in the process of switching from a traditional PBX to a complete MS Teams voice including PSTN routing.  We won't have any voice circuit in the office.  Everything will be over to MS Teams voice.  Here is the question.  I have a few analog devices that I have to integrate with Teams voice.   How do I achieve that?  Do I need to purchase SBC and ATA?  In the drawing above, I don't have a PSTN provider.  All internal and external calls are going through MS Teams voice.  Any suggestions?

    Thanks.

  • wvaneyken's avatar
    wvaneyken
    Copper Contributor

    Anyone who knows if ATA boxes will be comming to the SIP gateway? Would be nice to still combine analoge lines for these specific devices to MS teams in combination with operator connect or calling plans.

  • michalsvora's avatar
    michalsvora
    Copper Contributor

    Thanks for the guide. Any idea how to handle E911 Location info for such Analog devices? Is it something what Emergency Response Service Provider like RedSky could do for us? thank you

  • abrasini's avatar
    abrasini
    Copper Contributor

    Thanks for the guide, I would need more detalis on this if possible: just in case I need to share a number between a Teams phone and an analog device is it possible ?

     

    The idea is to ring a Teams phone in office for example and an external analog bell outside the office to reach the user when he is outside the office.

  • Robbitop1703's avatar
    Robbitop1703
    Copper Contributor

    SIP gatway a game changer…. Hopefully 😉

     

    SIP Gateway

    SIP Gateway will become generally available this month for compatible SIP phone models, enabling core Teams calling functionality on legacy phones from Cisco, Poly, Yealink, and AudioCodes. Capabilities include inbound & outbound calls, call transfer, audio conference, dial in to meetings, device-based Do Not Disturb, and voicemail with message waiting indicators.

    Cisco IP Phones with MPP firmware (6821, 7800 series, 8800 series), Polycom SIP phones (VVX series 100, 200, 300, 400, 500, 600 etc.), Yealink (T20 series, T30 series, T40 series, T50 series), AudioCodes 400 HD series.