Top

Requirements

  • Minimum supported 3CX version: 3CX v15 SP4
  • Minimum supported Firmware version:
    • Mediatrix C730 series: Dgw2.0.30.555
    • Mediatrix G7 series: Dgw2.0.36.691
  • You must first download the 3CX templates from Configuration Notes - 3CX integration templates published on the Media5 Documentation Portal for your specific unit:
    • Mediatrix C730 series: Mediatrix_C730_gw
    • Mediatrix G7: Mediatrix_G7_gw
    • Mediatrix C740: Mediatrix_C740_gw
Dgw2.0 firmware can be downloaded from Media5 Support Portal. If you do not have an account to access Media5 Support Portal, please contact your Mediatrix product dealer or Media5 TAC if you have an SLA contract.


Top

Information to Know Before Starting

Before starting to use these configuration notes, complete the following table to make sure you have the required information to complete the different steps.

IMPORTANT: If you are not familiar with the meaning of the fields and buttons, click Show Help, located at the upper right corner of the Web page. When activated, the fields and buttons that offer online help will change to green and if you hover over them, the description will bedisplayed.
Note: The Mediatrix unit must be reinitialised to its factory default settings to make sure the configuration can be successfully executed.
Information Value Used in Step
IP address used by your Mediatrix unit to communicate with the Management Interface.
  • If your computer is connected to the Ethernet port meant to be connected to the Local Area Network (LAN), i.e. Eth2 on most devices
Use this value 192.168.0.10 Logging on to the Mediatrix Unit Web Interface
  • If your Mediatrix unit is configured to use a DHCP server, use the DHCP server- provided IP address.
Logging on to the Mediatrix Unit Web Interface
  • If your Mediatrix unit is configured to use the IPv6 Link Local
Locate the IP Link Local label underneath your Mediatrix unit. Logging on to the Mediatrix Unit Web Interface
Port number used Adding the Mediatrix FXO, E1/T1 or PSTN Gateway to the 3CX Server
MAC address of the Mediatrix unit Exporting the 3CX Configuration Script to your PC
Name of your Mediatrix unit Adding the Mediatrix FXO, E1/T1 or PSTN Gateway to the 3CX Server

Top

Configuration on the 3CX Server Side

Installing the Mediatrix Gateway Templates on the 3CX Server

Before you begin
for templates, refer to Configuration Notes - 3CX integration templates published on the Media5 Documentation Portal.
Steps
  1. If 3CX was installed on a Windows server using the default settings and folder, go to C:\ProgramData\3CX\Instance1\Data\Http\Templates\gateway, or locate the 3CX templates folder in your system and open it. For Debian installation, templates are located under: /var/lib/3cxpbx/Instance1/Data/Http/Templates/
  2. Copy the Mediatrix gateway templates in the gateway folder.
  3. Click CTRL + F5 to refresh your browser.
    Note: You do not need to restart the 3CX server.
Result
The Mediatrix devices will then appear in the SIP trunk gateway selection list.


Top

Adding the Mediatrix FXO, E1/T1 or PSTN Gateway to the 3CX Server

Steps
  1. In the 3CX Web interface, click SIP Trunks, located on the left-hand side of the window.
  2. In the SIP Trunks section, click + Add Add gateway.
  3. In the Add PSTN gateway dialog box, from the Select Brand selection list, choose Mediatrix.
  4. From the Select model/device selection list, choose your unit model.
  5. Set the number of PSTN ports. (PRI or FXO ports used)
  6. Enter the Main Trunk Number .
  7. Click OK.
Result



Top

Configuring the FXO or E1/T1 Mediatrix Gateway in 3CX

Before you begin
The Adding the Mediatrix FXO, E1/T1 or PSTN Gateway to the 3CX Server step must be completed.
Context
Steps
  1. In the 3CX Web interface, under the General tab, in the Enter name of trunk, type the name of the Mediatrix device.
  2. From the Registrar/Server/Gateway Hostname or I field, enter the static IP address of the Mediatrix Uplink port.
  3. From the Tone Set Selection selection list, choose your country.
  4. In the Number of Sim Calls filed enter the max. number of calls allowed over the SIP trunk (e.g. 23 for a T1 PRI)
  5. Enter the Number or Physical PSTN ports on device (e.g. number of PRI ports or FXO ports on the Mediatrix gateway).
  6. In the Type of Authentication field, choose IP-based or Register/Account based, depending on your set-up.
  7. For inbound call handling (from gateway towards 3CX), define how incoming calls are handled in the Routing of Calls to Main Number section. (In this example, all incoming calls are forwarded to extension 100).
  8. Click OK.
    Note: If you select a Register/Account based type of authentication, the Mediatrix Gateway will later be configured to create a Unit Registration towards the 3cx server, using the Authentication ID that is defined in the Authentication area of the 3cx
Result





Top

Exporting the 3CX Configuration Script to your PC

Before you begin
The Configuring the FXO or E1/T1 Mediatrix Gateway in 3CX step must be completed.
Steps
  1. In the 3CX Web interface, click SIP Trunks, located on the left-hand side of the window.
  2. In the SIP Trunks section, double-click on the gateway that you have just created.
  3. In Mediatrix gateway configuration window, select the Options tab.
  4. In the PSTN Gateway Options section, located at the bottom of the page, enter the MACaddress of the Mediatrix unit.
    Note: The MAC address of the device is used in the filename of the configuration file created by 3CX. Refer to Locating the MAC Address of Your Mediatrix Unit.
  5. Then on the type of Mediatrix unit you are using, choose one of the following steps:
    1. For each BRI port of the BRI Mediatrix Gateway (C7 series), define the Bri Endpoint and Connection Type (NT or TE) as well as the Bri Q931 protocol (DSS1 or QSIG)
    2. For each PRI port of the PRI Mediatrix Gateway (G7 series), define the PRI Line and Endpoint Type (E1 or T1, NT or TE) as well as the PRI Q931 Protocol" (DSS1, NI-1, 5ESS, NI-2, QSIG)
  6. Click Generate device Config.
  7. Save the configuration file.
  8. Click OK.
Result
The following is an example for the G7 PRI gateway configuration parameters.


Top

Locating the MAC Address of Your Mediatrix Unit

About this task
The MAC address of the unit is:
  • printed on a label located under the Mediatrix unit
  • displayed in the Current Status table of the Web Interface (System/Information)

Top

Configuration on the Mediatrix Unit Side

Logging on to the Mediatrix Unit Web Interface

Before you begin
The computer IP address must be in the same TCP/IP network as the Mediatrix unit.
About this task
For better performances, it is recommended to use the latest available version of Microsoft Internet Explorer, Google Chrome, or Mozilla Firefox.
Note: You may not be able to log on to the Mediatrix unit Web interface if you are using older browser versions.
Procedure
  1. In your Web browser, enter the IP address at which the Web interface of your Mediatrix unit can be reached.
    • If your network has an IPv4 DHCP server, connect the primary Ethernet port of the Mediatrix unit to the network (ETH1 port), use the provided DHCP server IP address.
    • You can also connect your computer to the secondary Ethernet port of the Mediatrix unit (ETH2), use the 192.168.0.10 IP address. However, the computer must also own an IP address in the 192.168.0.0/24 network.
  2. Enter admin as your username and administrator as the password.
    Note: You can also use public as a username and leave the password field empty; it has the full administration rights by default.
  3. Click Login.
Results
The Information page of the Web interface is displayed.

Top

Configuring the Uplink Network Interface

Steps
  1. Go to Network/Interfaces.
  2. In the Network Interface Configuration table, from the Link selection list located next to Uplink, leave the default value.
  3. From the Type selection list, select IpStatic (IPv4 Static).
    Note: The Uplink Network Interface must be set with a fixed public IP address for the NAT/router to be able to do port-forwarding to the unit. It will also be easier for the PBX to communicate with the unit if the address is static.
  4. In the Static IP Address field enter the Uplink static IP address.
    Note: the static IP address is in the form of IP address/subnet mask length, e.g. 192.168.1.141/24
  5. In the Static Default Router field, enter the default gateway IP address.
  6. From the Activation selection list, select Enable.
  7. Click Apply to apply all changes to the configuration.
    Note: Once the changes are applied, the connection with the unit might be lost. You may need to reconnect to the Web page using the new address.
Result
The unit can be reached (via the Web) with the Uplink static IP address

.

Top

Connecting the Mediatrix Unit to the Network

Steps
  1. Connect a 10/100 BaseT Ethernet RJ-45 cable in the ETH1 port of the Mediatrix unit.
  2. Connect the other end of the 10/100 BaseT Ethernet RJ-45 cable to the Network.

Top

Importing a Configuration Script from Your PC

Steps
  1. Go to Management/Configuration Scripts/Execute.
  2. If you are not using HTTPS, click Activate unsecure file importation from the Web browser.
  3. In the Upload Script Through Web Browser table, browse to the location of the file you wish to import.
  4. If the file is encrypted, complete the Privacy Key field.
    Note: The privacy key must match the privacy key used to encrypt the file.
  5. Click Upload and Execute.
  6. Located at the top of the page, click Refresh.
Result
The configuration script will be imported from your PC and any changes to the script will be applied to the running configuration.


Top

Checking the Port Registration Status

Before you begin
This task is only required if Register/Account based was selected from the Type of Authentication selection list during the Configuring the FXO or E1/T1 Mediatrix Gateway in 3CX If Do Not Require- IP based was selected, skip this task.
Steps
  1. In the DGW Web Interface, go to SIP/Registration.
  2. In the Registrations page, check in the Status column if all ports are Registered.
Result
At this point you can test calls. Refer to the Technical Bulletin - Testing Telephony Services published on the Media5 Documentation Portal.


Top

DGW Documentation

Mediatrix devices are supplied with an exhaustive set of documentation.

Mediatrix user documentation is available on the Media5 Documentation Portal.

Several types of documents were created to clearly present the information you are looking for. Our documentation includes:
  • Release notes: Generated at each GA release, this document includes the known and solved issues of the software. It also outlines the changes and the new features the release includes.
  • Configuration notes: These documents are created to facilitate the configuration of a specific use case. They address a configuration aspect we consider that most users will need to perform. However, in some cases, a configuration note is created after receiving a question from a customer. They provide standard step-by-step procedures detailing the values of the parameters to use. They provide a means of validation and present some conceptual information. The configuration notes are specifically created to guide the user through an aspect of the configuration.
  • Technical bulletins: These documents are created to facilitate the configuration of a specific technical action, such as performing a firmware upgrade.
  • Hardware installation guide: They provide the detailed procedure on how to safely and adequately install the unit. It provides information on card installation, cable connections, and how to access for the first time the Management interface.
  • User guide: The user guide explains how to customise to your needs the configuration of the unit. Although this document is task oriented, it provides conceptual information to help the user understand the purpose and impact of each task. The User Guide will provide information such as where and how TR-069 can be configured in the Management Interface, how to set firewalls, or how to use the CLI to configure parameters that are not available in the Management Interface.
  • Reference guide: This exhaustive document has been created for advanced users. It includes a description of all the parameters used by all the services of the Mediatrix units. You will find, for example, scripts to configure a specific parameter, notification messages sent by a service, or an action description used to create Rulesets. This document includes reference information such as a dictionary, and it does not include any step-by-step procedures.

Top

Copyright Notice

Copyright © 2023 Media5 Corporation.

This document contains information that is proprietary to Media5 Corporation.

Media5 Corporation reserves all rights to this document as well as to the Intellectual Property of the document and the technology and know-how that it includes and represents.

This publication cannot be reproduced, neither in whole nor in part, in any form whatsoever, without written prior approval by Media5 Corporation.

Media5 Corporation reserves the right to revise this publication and make changes at any time and without the obligation to notify any person and/or entity of such revisions and/or changes.