Top
Information to Know Before Starting
- 2 PRI ports must be physically connected with a straight RJ-48 cable.
- The SIP proxy 1 is on the WAN side
- The SIP proxy 2 is on the LAN side
- PRI ports are set to E1 for maximum capacity
- Routes
- First set of routes is between PRI port 1 and the first SIP gateway, one for incoming and one for outgoing traffic.
- Second set is between PRI port 2 and sip gateway 2, again one for incoming and one for outgoing traffic.
- Two Ethernet ports are used. Make sure IP routing is configured correctly for your setup. This is to avoid traffics towards the second proxy routed to the wrong network interface, and vice versa.
- To use IPv6, one of the SIP Proxy Servers must use the IPv6
Top
B2B PRI Gateway Used for Transcoding
This document describes a configuration which can be applied for codec transcoding.
Two PRI ports are looped to each other, forming a back-to-back user-agent (B2BUA) setup. The transcoding is performed by the DSP chip on the PRI card. Since the loopback link is a PRI circuit, it is fully digital. There is no A/D, nor D/A conversion. The end-to-end voice quality is therefore mostly preserved.
In terms of capacity, a Mediatrix G7 gateway equipped with 2 PRI ports can provide up to 30 transcoding channels. Whereas a fully loaded 8 PRI Sentinel 400 can provide up to 120 transcoding channels.
By default, the PRI port is set to E1, which has 30 bearer channels for voice. If the PRI was set to T1 (23B+D), it would only have 23 bearer channels for voice. To achieve the maximum capacity, set the PRI port to E1.

Top
Setting Up the Pair of PRI Ports

Top
Selecting the Preferred Codec for Transcoding
- Go to Media/ Codecs.
- From the Select Codec Bank, choose the bank that includes the codec you wish to use.
- From the Select Endpoint selection list, choose the first PRI port.
- From the Voice column, enable the codec that is allowed for the first SIP leg.
- Disable all other codecs for that PRI port.
-
If necessary, click
to adjust Packetisation time.
- Click Apply.
- From the Select Endpoint selection list, choose the second PRI port.
- From the Voice column, enable the codec that is allowed for the second SIP leg.
- Disable all other codecs for that PRI port.
-
If necessary, click
to adjust Packetisation time.
- Click Apply.
Top
Selecting the DTMF Transport Used for Transcoding
- Go to Media/Misc.
- From the Select Endpoint selection list, choose the first PRI port.
- In the DTMF Transport table, set the Endpoint Specific selection list to Enable.
- From the Transport Method selection list, choose the DTMF transport method used for transcoding.
- Click Apply.
- From the Select Endpoint selection list, choose the second PRI port.
- In the DTMF Transport table, set the Endpoint Specific selection list to Enable.
- From the Transport Method selection list, choose the DTMF transport method used for transcoding.
- Click Apply.
Top
Creating a Trunk SIP Gateway on the LAN Network Interface
Top
Assigning the SIP Servers to the SIP Trunk Gateways
- Go to SIP/Servers.
- In the Registrar Servers table, from the Gateway Specific drop down list, select Yes for both SIP Gateways.
- In the Registrar Host field, for both SIP gateways, indicate the IP address or FQDN of the SIP proxy.
- In the Proxy Servers table, from the Gateway Specific drop down list, select Yes for both SIP Gateways.
- In the Proxy Host field, for both SIP gateways, indicate the IP address or FQDN of the SIP proxy.
- In the Outbound Proxy Host, for both SIP gateways, indicate the SIP outbound proxy server FQDN and port for a specific SIP gateway.
- Click Apply.
Top
Configuring Gateway Authentication
- Go to SIP/Authentication.
- Click Edit All Entries located at the bottom of the page.
- In the Authentication table, from the Criteria selection list, select Gateway for all gateways needing registration.
- From the Gateway selection list, select the related gateway for each entry.
- From the Realm field, enter the provided realm and from the Validate Realm selection list, select Enable. If no Realm was provided, leave the field empty and from the Validate Realm selection list, select Disable.
- In the User Name field, enter the SIP user name for each entry.
- In the Password field, enter the appropriate password for each entry.
- Click Apply and Refresh Registration.

Top
Creating the Routes from the PRI ports to the IP Gateways
- Go to Call Router/Route Config.
-
In the Routes table,
click
.
-
In the Configure New Route table,
complete the following fields as follows:
- Sources: sip-default
- Criteria Property: none
- Destination: isdn-PRI1
- Click Save.
-
In the Routes table,
click
.
-
In the Configure New Route table,
complete the following fields as follows:
- Sources: isdn-PRI1
- Criteria Property: none
- Destination: sip-default
- Click Save.
-
In the Routes table,
click
.
-
In the Configure New Route table,
complete the following fields as follows:
- Sources: sip-default2
- Criteria Property: none
- Destination:isdn-PRI2
- Click Save.
-
In the Routes table,
click
.
-
In the Configure New Route table,
complete the following fields as follows:
- Sources: isdn-PRI2
- Criteria Property: none
- Destination: sip-default2
- Click Save.
- If numbering manipulations are required, refer to Call Router Basic Routes published on the Media5 documentation portal at https://documentation.media5corp.com
Top
Routing the SIP Proxy Traffic to the Appropriate Gateway
Top
Configuring IPv6 and IPv4 Interworking (optional)
Creating the Uplinkv6 Network Interface
- Go to Network/Interfaces.
- In the Name field located at the bottom of the Network Interface Configuration table, enter UplinkV6.
-
Click
.
- From the Link selection list, choose, eth1.
- From the Type selection list, choose IP6autoConf (IPv6 Auto-Conf).
- From the Activation selection list, choose Enable.
Top
Assigning the IPv6 Network Interface to the Default2 Gateway
- Go to SIP/Gateways.
- In the Gateway Configuration table, on the same line as default2, from the Signaling Network selection list, choose eth1-LL.
- Click Apply.
Top
Online Help
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.
Top
DGW Documentation
Mediatrix devices are supplied with an exhaustive set of documentation.
Mediatrix user documentation is available on the Media5 Documentation Portal.
- 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 © 2022 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.