Direct Routing in Azure using AudioCodes Mediant SBC Azure Edition – Part 1

Introduction

I’ve written in the past about deploying AudioCodes SBC into Azure by using Azure Site Recovery. Whilst this works, it’s not supported!

I recently asked AudioCodes if there were any plans to officially release an “Azure Edition” of the SBC and to my surprise, they said “Yes”. It’s about to hit GA, but I’ve been given a pre-release build to try. I don’t believe the steps will change when it hit’s GA – but I will update this post if it does.

I then started thinking about use cases for where I work (Symity). One possible scenario could be where a customer wants Teams Direct Routing but has a reason to retain their numbers on a SIP service but at the same time don’t want any equipment on-premises. In most cases, you’d prefer to have the SBC closer to the users, but it isn’t always an option.

Another use case could be if you want to set up some larger SBCs to multi-tenant Direct Routing to Teams (which AudioCodes support).

I won’t go into specifics on how to configure the SBC to talk to a SIP provider – this is really just how to set the SBC up in Azure and connect to Teams using Direct Routing.

In Part 1, I’ll go over creating the SBC in Azure. Part 2 will go over the setup of the SBC to use Direct Routing.

Pre-requisites

You will need the following to complete this:

  1. Access to the Azure portal.
  2. AudioCodes Mediant VE for Microsoft Azure – it will be available at https://www.audiocodes.com/library/firmware

In this scenario, I’m creating a fresh Resource Group, Storage Account and Virtual Network to demonstrate how it all ties together. If you already have this, you could use them instead.

Let’s begin

Step 1 – Create Azure Resource Group and Storage Account

First, you need to login to Azure and create a Resource Group (if you don’t already have one):

Next, using that Resource Group, create a Storage Account (if you don’t already have one):

Step 2 – Create Storage Containers and Upload VHD Image

OK, now that Storage Account is created, go to it and create two Containers (under Blob Service) – one for the VHD Image and one to store the VM Disk:

Now you can upload the VHD Image to the images container:

(It is a 10GiB upload, so may take a while. Don’t worry if you want to deploy multiple SBCs, this can be re-used).

Step 3 – Create Image

Once the VHD Image is uploaded, go to the Images section of Azure (not to be confused with the images Container). Create a new Image using the existing Resource Group and the Storage Blob pointing at the VHD you uploaded:

(Once created, you can use this image to create multiple SBCs if needed).

Step 4 – Create a Virtual Network

Create a Virtual Network using the same Resource Group you chose earlier. Set the Address Space and Subnet as desired:

Step 5 – Create SBC Virtual Machine

Go back to the Images section of Azure. Select the Image you already created and click Create VM. Give it a Name, Username and Password (you will use this to log in to the SBC) and select the same Resource Group:

Next, choose a VM Size – this will ultimately depend on how many sessions you are using, transcoding etc. This can always be changed at a later date. Refer to AudioCodes Release Notes for sizing details:

Configure Optional Features such as the VNET you want to use, setting a Static Public IP address allowing management ports inbound through Firewall e.g. HTTPS and SSH:

Confirm the Summary and click OK:

Step 6 – Confirm Public IP address and login

Once the SBC has been deployed you will have a static IP address displayed:

If you allowed HTTPS through the NSG (Firewall) you should now be able to access the SBC using the credentials you supplied when creating the VM:

Note: I would either advise having an internal resource that can reach the SBC “LAN IP” or at the very least tie down the rules to only allow access from certain IP addresses.

Next Steps

Now the SBC is effectively deployed. In Part 2 I’ll go over how to configure the SBC to use Direct Routing in Azure specifically. For general instructions in configuring an AudioCodes SBC with Direct Routing, check my blog post Teams Direct Routing with an AudioCodes SBC

14 thoughts on “Direct Routing in Azure using AudioCodes Mediant SBC Azure Edition – Part 1

  • Pingback:Deploying AudioCodes vSBC in Azure the easy..ish way – Lee Ford's Blog

    • 13th July 2018 at 4:36 PM
      Permalink

      Thank you.

      Currently working on it, should have it up over the next few days – sorry!

      Reply
  • 19th July 2018 at 9:46 PM
    Permalink

    Great article, thanks Lee!
    Did Audiocodes give you any indication of when the Azure version was going up on their Firmware page? Just checked and only appears to be a VHDX, no VHD (unless I’m missing something).

    Reply
    • 20th July 2018 at 9:06 AM
      Permalink

      Hi Andy,

      Thanks!

      Yep – still not out yet. I’ve reached out to someone at AudioCodes, so will report back.

      Thanks,
      Lee

      Reply
      • 23rd July 2018 at 9:29 AM
        Permalink

        Hi Andy,

        I’ve been told around Mid to Late August for GA, but don’t hold me to it!

        Thanks,
        Lee

        Reply
        • 27th July 2018 at 8:37 PM
          Permalink

          Ok thanks Lee, I’ll keep an eye on the page.

          Reply
  • Pingback:Direct Routing in Azure using AudioCodes Mediant SBC Azure Edition – Part 2 – Lee Ford's Blog

  • 14th September 2018 at 3:57 PM
    Permalink

    As of 14th Sep, 2018 there is no Mediant VE download at AudioCodes with a VHD file that is accepted by Azure without further conversion. The disk file in the download is a differencing VHDX, so you’ll either need the “Convert-VHD” cmdlet or Hyper-V Manager to edit it to be VHD and fixed. Yes, this is documented at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image but it took a couple of minutes of googling to put the pieces together. Mind you, AC’s own official documentation is lacking in this regard as well: https://www.audiocodes.com/media/13250/mediant-virtual-edition-sbc-for-microsoft-azure-installation-manual-ver-72.pdf

    Reply
    • 17th September 2018 at 1:21 PM
      Permalink

      Hi Peter,

      I believe the VHDX and manual you are using is the Hyper-V “Virtual Edition” version. There should be an Azure “Cloud Edition” version available to download in VHD format, but there isn’t!

      I’ve spoken to an AudioCodes rep, who has said it should be uploaded soon. In the meantime, if you want to email me at lee at lee-ford dot co dot uk I can send you a link.

      Thanks,
      Lee

      Reply
  • 21st September 2018 at 3:47 PM
    Permalink

    Hi, Thanks
    Any idea which service providers support connectivity of SIP trunk up to Azure and how do they support same

    Reply
    • 21st September 2018 at 8:43 PM
      Permalink

      I’m afraid I don’t. A lot of SIP carriers have interconnect with Azure, so the ‘hop’ from the WAN is small. I would think from a supportability standpoint, they would be concerned what product you are using and not where it’s located.

      Reply
  • 14th November 2018 at 2:02 AM
    Permalink

    Any update on the VHD Azure File? This is a bit silly from AC – their documentation which has been available for nearly 4 months refers to the download, but it is not available yet?

    Reply
    • 15th November 2018 at 9:01 AM
      Permalink

      Hi Ryan,

      Best method now is to deploy the image from the Azure Marketplace. If you search “AudioCodes” there you should find it. I will update the documentation shortly to reflect this.

      Thanks,
      Lee

      Reply

Leave a Reply