- Minimum supported 3CX version: 3CX v15 SP4
- Minimum supported Firmware version:
- Mediatrix C730 series: Dgw22.214.171.1245
- Mediatrix G7 series: Dgw126.96.36.1991
- You must first download the 3CX templates from Configuration Notes - 3CX integration templates
published on the Media5 documentation portal at https://documentation.media5corp.com/ for your
- Mediatrix C730 series: Mediatrix_C730_gw
- Mediatrix G7: Mediatrix_G7_gw
- Mediatrix 4400: Mediatrix_4400_gw
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.
|Information||Value||Used in Step|
|IP address used by your Mediatrix unit to communicate with the Management
||Use this value 192.168.0.10||Logging on to the Mediatrix Unit Web Interface|
||Logging on to the Mediatrix Unit Web Interface|
||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|
Configuration on the 3CX Server Side
Installing the Mediatrix Gateway Templates on the 3CX Server
- 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/
- Copy the Mediatrix gateway templates in the gateway folder.
Click CTRL + F5 to refresh your browser.
Note: You do not need to restart the 3CX server.
Adding the Mediatrix FXO, E1/T1 or PSTN Gateway to the 3CX Server
- In the 3CX Web interface, click SIP Trunks, located on the left-hand side of the window.
- In the SIP Trunks section, click + Add Add gateway.
- In the Add PSTN gateway dialog box, from the Select Brand selection list, choose Mediatrix.
- From the Select model/device selection list, choose your unit model.
- Set the number of PSTN ports. (PRI or FXO ports used)
- Enter the Main Trunk Number .
- Click OK.
Configuring the FXO or E1/T1 Mediatrix Gateway in 3CX
- In the 3CX Web interface, under the General tab, in the Enter name of trunk, type the name of the Mediatrix device.
- From the Registrar/Server/Gateway Hostname or I field, enter the static IP address of the Mediatrix Uplink port.
- From the Tone Set Selection selection list, choose your country.
- 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)
- Enter the Number or Physical PSTN ports on device (e.g. number of PRI ports or FXO ports on the Mediatrix gateway).
- In the Type of Authentication field, choose IP-based or Register/Account based, depending on your set-up.
- 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).
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
Exporting the 3CX Configuration Script to your PC
- In the 3CX Web interface, click SIP Trunks, located on the left-hand side of the window.
- In the SIP Trunks section, double-click on the gateway that you have just created.
- In Mediatrix gateway configuration window, select the Options tab.
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.
Then on the type of Mediatrix unit you are using, choose one of the following
- For each BRI port of the BRI Mediatrix Gateway (4400 series), define the Bri Endpoint and Connection Type (NT or TE) as well as the Bri Q931 protocol (DSS1 or QSIG)
- 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)
- Click Generate device Config.
- Save the configuration file.
- Click OK.
Locating the MAC Address of Your Mediatrix Unit
- printed on a label located under the Mediatrix unit
- displayed in the Current Status table of the Web Interface (System/Information)
Configuration on the Mediatrix Unit Side
Logging on to the Mediatrix Unit Web Interface
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.
Enter admin as your
username and administrator as the
Note: You can also use public as a username and leave the password field empty; it has the full administration rights by default.
- Click Login.
Configuring the Uplink Network Interface
- Go to Network/Interfaces.
- In the Network Interface Configuration table, from the Link selection list located next to Uplink, leave the default value.
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.
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
- In the Static Default Router field, enter the default gateway IP address.
- From the Activation selection list, select Enable.
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.
Connecting the Mediatrix Unit to the Network
- Connect a 10/100 BaseT Ethernet RJ-45 cable in the ETH1 port of the Mediatrix unit.
- Connect the other end of the 10/100 BaseT Ethernet RJ-45 cable to the Network.
Importing a Configuration Script from Your PC
- Go to Management/Configuration Scripts/Execute.
- If you are not using HTTPS, click Activate unsecure file importation from the Web browser.
- In the Upload Script Through Web Browser table, browse to the location of the file you wish to import.
If the file is encrypted, complete the Privacy Key field.
Note: The privacy key must match the privacy key used to encrypt the file.
- Click Upload and Execute.
- Located at the top of the page, click Refresh.
Checking the Port Registration Status
- In the DGW Web Interface, go to SIP/Registration.
- In the Registrations page, check in the Status column if all ports are Registered.
Mediatrix units are supplied with an exhaustive set of documentation.
Mediatrix user documentation is available on the Media5 Documentation Portal at http://documentation.media5corp.com
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.
Copyright © 2020 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.