Connect an Audiocodes MediaPack to Microsoft Teams

Wednesday, July 19, 2023

 

How to connect an Audiocodes MediaPack to Microsoft Teams

In this blog post, I will guide you through the steps to connect an Audiocodes MediaPack to Microsoft Teams. This allows you to use your analoge phones with Microsoft Teams. Of course, it is not the cheapest solution and there are other options. But with Microsoft Teams, you can easily control and manage an analoge phone. For example, you can restrict outbound call destinations by assigning a voice routing policy. Or you can monitor the call quality for analog phone.


Audiocodes MediaPacks and Teams SIP gateway – an overview

In 2022 Microsoft released the first version of the Microsoft Teams SIP gateway. The basic idea is to connect native SIP devices to Microsoft Teams. In the beginning, Microsoft supported only Skype for Business Online certified IP desk phones. But already end of last year, Microsoft extended the SIP gateway by supporting certified DECT IP systems (you can find my posts about Spectralink and Poly on my blog).

Since 2023, Microsoft is supporting to connect Audiocodes MediaPack to Microsoft Teams (time by writing in Public Preview), and some other certified vendors, to Microsoft Teams.

Now you can connect legacy analoge devices to your Microsoft Teams platform and manage the call routing the same way as for a normal user. Or control call quality for these connected devices within the Teams Admin Center.

What we need to connect an Audiocodes MediaPack to Microsoft Teams, is:

  • a supported Audiocodes MediaPack
    • MP-11X FXS
    • MP-124 FXS
    • MP-202
  • a current Audiocodes firmware release ( at least 6.60A.365)
  • a licensed Microsoft Teams user with Phone system addon
  • Microsoft Teams SIP gateway must be enabled in your Tenant

I’ve wrote a blog post about how to enable the SIP gateway in your Teams Admin center and you can find it here.


Configure the Audiocodes MP-112 device

Firmware Update

Before you can connect the MediaPack to Microsoft Teams, you need to check and upgrade the firmware of the device, if required. The MediaPack requires at least firmware version 6.60A.367.1. To upgrade the firmware, access the WebUI management interface of the MediaPack by browsing to the device IP (default: https://10.1.10.10) and login with the credentials (default: Admin/Admin).

You can check the current firmware version on the status & diagnostics page of the device:

Audiocodes MediaPack and Microsoft Teams - Check firmware
Check firmware version in the Audiocodes MP-112

If the firmware version is older than 6.60A.367, update it by starting the software upgrade wizard from the Maintenance menu and installing the latest firmware release.

Audiocodes MediaPack and Microsoft Teams - Start Software Upgrade Wizard
Start Software Upgrade Wizard

Initiate a reboot after the firmware installation and wait till the MP device is accessible again.

Prepare the Audiocodes MP-112 device

The Microsoft provisioning configures most of the MP parameters, so only a few parameters need a change. Depending on your scenario, a static IP configuration of the MP device may be helpful, for example.

Audiocodes MediaPack and Microsoft Teams - Configure IP address settings
Configure IP address settings

Please note that the MP device no longer responds after an IP change. You must first open the WebUI with the new IP address and burn the configuration change before you can continue with the device configuration.

Configure Microsoft Teams provisioning URL

To configure the MP device with the Microsoft provisioning service, you open the admin page of the MP device (https://<MP device IP>/AdminPage – case sensitive) and set or verify the following parameter:

parameterrequired valuedescription
IniFileURLhttp://<region URL>/mac.iniProvides a link to an ini file to be downloaded from a remote server.

Microsoft provides different provisioning URL for US, EU and APAC region. Select the right one from the this list here.
Note the “/mac.ini” at the end of the URL. It is mandatory for the MP configuration.
AUPDResetURLOnWebConfig1Enables to reset the ini file url when configuration is altered via WEB
SetDefaultOnIniFileProcess1Determine if all parameters are set to their defaults before processing updated INI File
Audiocodes MediaPack and Microsoft Teams - Configure URL for INI file provisioning
Configure INI URL path for provisioning by Microsoft

The Audiocodes MP device loads the configuration file from Microsoft and reboots automatically after a few seconds. Also note, that after the MP device loaded the configuration, following information are cleared and needs to set manually:

  • Syslog Server and Syslog Server settings (if configured and needed)
  • DNS Server settings

As result of the missing DNS server information, the MP cannot resolve any FQDN and a connect to Microsoft Teams is not possible. Therefore, set a DNS server manually and reboot the MP device.

Audiocodes MediaPack and Microsoft Teams - DNS server setting is missing after applying Microsoft provisioning file
DNS server settings must be reconfigured

After the reboot of the MP device, it should be ready to connect an analog phone.


Connect the Audiocodes MP-112 to Microsoft Teams

Now it’s time to connect the MediaPack with Microsoft Teams. To do so, open the Microsoft Teams Admin Center and go to Phones submenu in the Teams devices section. Click on the Actions menu on the right upper corner and select Provision devices.

Audiocodes MediaPack and Microsoft Teams - Add a new Audiocodes MediaPack in the Teams Admin Center
Provision a new device in Teams Admin Center

Start the provisioning assistant by clicking on Add MAC addresses.

In the dropdown IP type, select Hardware ID (analog) and enter the MAC address of the MP device plus the suffix :001 for port 1 or :002 for port 2. If you have a MP-124 you need to adjust the port numbers accordingly.

Audiocodes MediaPack and Microsoft Teams - Adding the MP-112 by the MAC address
Add MAC address of the Audiocodes MP-112

Next, you need to generate a verification code and active the MP device using the analog phone. Select the port you would like to activate and click on Generate verification code.

Audiocodes MediaPack and Microsoft Teams - Wating for verification
Waiting for verification of the MediaPack 112

Go to your analog phone and dial *55*<verification code> and pick up the phone. After a few seconds, you should hear a confirmation tone from Microsoft. In the TAC, the MP device is now listed in the section Waiting for sign in.

Audiocodes MediaPack and Microsoft Teams - User sign in after verification
Sign in a user after verification

Select the phone and start the sign process.

Audiocodes MediaPack and Microsoft Teams - User sign in wizard
User sign in wizard

For the user sign, open a web browser, go to https://aka.ms/devicelogin and enter the device code. Log in with the user account you want to assign to the phone.

That’s it. The phone should now be connected to the Microsoft Teams platform.

Things to consider

Microsoft Teams SIP Gateway and presence

If you logon an analoge phone with the Microsoft Teams SIP gateway and do not use the Teams Desktop client with the same account in parallel, the presence of this user is offline almost all the time. Only when someone picks up the phone for a call does the presence status change to “In a call”.

Check DNS Server settings before applying the Microsoft provisioning

When configuring the IniFileURL, make sure that the the DNS server settings are configured correctly. Otherwise, the MP device cannot resolve the Microsoft provisioning URL and discard the configuration change.

Check DNS Server settings after applying the Microsoft provisioning

Note the circumstance that the DNS server setting is cleared after the provisioning of the MP device by Microsoft.

Reset the Audiocodes MediaPack to factory defaults

A reset to factory settings by loading an empty file is not working anymore. You need to reset the device by disconnecting the ethernet cable and press the reset button for at least six seconds. Otherwise, the MP device will reload a clean provisioning file from the Microsoft server.


Incapsula.com - đối thủ mới của CloudFlare

Sunday, July 13, 2014


Cài đặt và sử dụng Putty SSH

Saturday, July 12, 2014

Putty SSH là phần mềm giúp điều kiển VPS của bạn thông qua kết nối SSH
Tải phần mềm tại đây: http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.63-installer.exe

Cài đặt: Sau khi tải về bạn chạy file cài đặt.
Click Next next theo cách cài đặt huyền thoại :D

Sử dụng:

Mở phần mềm lên có giao diện như sau:
* Điền IP VPS của bạn vào khung Host Name (or IP address)
* Khung Port là cổng kết nối SSH mặc định là port 22 ( Có thể một số VPS config cổng khác)
Click Open để connect

Ở lần kết nối đầu tiên phần mềm sẽ hỏi bạn như sau:
Chọn Yes để đồng ý cấp quyền cho key rsa2
Sau đó sẽ hiện ra khung dòng lệnh:

login as: 

Bạn nhập thông tin user root rồi Enter.
Nó hỏi tiếp Password thì nhập rồi Enter.


Cài đặt cPanel cho VPS Linux


cPanel là gì?
cPanel là Control Panel Hosting quản lý trên web dựa trên Unix cung cấp một giao diện đồ họa và các công cụ tự động hóa được thiết kế rất đơn giản trong quá trình lưu trữ một trang web. cPanel sử dụng một cấu trúc 3 tầng cung cấp khả năng cho các quản trị viên, đại lý, và chủ sở hữu trang web(người dùng cuối).

Ngoài giao diện GUI, cPanel cũng có quản lý bằng dòng lệnh và truy cập dựa trên API cho phép các nhà cung cấp phần mềm của bên thứ ba, nhà cung cấp hosting, và các nhà phát triển tự động hóa các quy trình hệ thống quản lý.

cPanel được thiết kế để hoạt động trên máy chủ chuyên dụng hoặc máy chủ ảo. cPanel phiên bản mới nhất hỗ trợ cài đặt trên CentOS, Red Hat Enterprise Linux (RHEL), và CloudLinux .Đến phiên bản CPanel 11,30 mới hỗ trợ FreeBSD.

cPanel hỗ trợ bao gồm Apache,LiteSpeed,PHP, MySQL, PostgreSQL, Perl, và BIND (DNS).

cPanel Hỗ trợ dựa trên email bao gồm dịch vụ POP3, IMAP, SMTP.

cPanel thường truy cập trên cổng 2082 hoặc với bảo mật SSL trên cổng 2083.

Một khi đã được cài đặt thì cPanel không thể bị gỡ ra.


Điều kiện cần và đủ:
  1. VPS Linux có quyền root
  2. Phần mềm Putty SSH: http://www.honglam.org/2014/07/cai-at-va-su-dung-putty-ssh.html

Hướng dẫn cài đặt trên CentOS


Bước 1: Cập nhật perl mới nhất:

#yum install perl

Bước 2: Di chuyển đến /home:

#cd /home 

Bước 3: Tải bản cài đặt từ server cPanel:

#yum install wget 

#wget -N http://httpupdate.cpanel.net/latest


Bước 4: Chạy lệnh cài đặt:

#sh latest

Đến đây chương trình sẽ tự chạy. Thời gian cài đặt phụ thuộc vào tốc độ VPS, trung bình khoảng 60 phút



Chặn hầu hết quảng cáo chỉ 10 giây

Saturday, June 21, 2014

Chào các bạn,
Hiện nay thì tình trạng quảng cáo tràn ngập mọi nơi, trên các trang web.
Để khắc phục tình trạng đó mà không cần bất cứ phần mềm nào các bạn có thể thực hiện cách sau:

Bước 1: Tải file host tại: Download
Bước 2: Copy file trên vào đường dẫn: C:\WINDOWS\system32\drivers\etc

Như vậy là xong!
 

Contributors