Top
Second SIP Gateway Failover
This scenario describes how to use the Mediatrix unit multiple SIP gateways, keep alive and call routing features in order to set a failover scenario to a secondary SIP gateway when the primary SIP gateway is down.
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.
Information | Value | Used in Step |
---|---|---|
IP address or FQDN of the Proxy Host | Configuring the Default SIP Servers | |
IP address or FQDN of the SIP Registrar Host | Configuring the Default SIP Servers | |
IP address or FQDN of the SIP Proxy Host of Messaging Server Host(if required) | Configuring the Default SIP Servers | |
IP address or FQDN of the server for the failover gateway | Assigning a Specific Registrar Server to the Failover Gateway , Assigning a Specific Proxy Server to the Failover Gateway and Configuring the Keep Alive Feature for Primary and Failover SIP Servers |
Top
Requirements
- Network configuration (default router, DNS server, etc.)
- Factory default settings
Top
SIP Configuration
Adding the Failover Gateway
- Go to SIP/Gateways.
- In the Gateway Configuration table, in the Name field, enter failover.
- Click .
-
Complete the fields as follows:
- From the Type selection list, select Trunk
- From the Signaling Network selection list, select Uplink
- In the Port field, enter 5066
- In the Secure Port port field,
enter 5067Note: To create a second gateway on the same IP address, you will need to use different listening ports. In this example, we use 5066 and 5067.
- Click Apply.
- Click restart required services located at the top of the page.
Top
Configuring the Default SIP Servers
Top
Assigning a Specific Proxy Server to the Failover Gateway
Top
Assigning a Specific Registrar Server to the Failover Gateway
Top
Configuring the Keep Alive Feature for Primary and Failover SIP Servers
Top
Configuring OPTIONS Method Support
- Go to SIP/Interop.
- In the SIP Interop table, from the OPTIONS Method Support selection list, select Always 200 OK.
- Click Apply.
Top
Creating a Hunt Group for Second SIP Gateway Failover
Top
Modifying Auto-Routing for Second SIP Gateway Failover
- Go to Call Router/Auto-Routing.
- In the Endpoints auto-routing table, click next to the first FXS port.
- In the Configure Auto-Routing, in the Auto-Routing Gateway field, enter default, failover.
- In the Auto-Routing Destination field, enter hunt-SIP.
- Check all FXS endpoints.
- Click Apply.
Top
Saving the Routes
- Go to Call Router/Route Config.
- Scroll to the bottom of the page.
- Click Save.
Top
SIP Registration and Authentication for SIP Failover
For the most common scenarios, the SIP server will require the Mediatrix unit to register and to provide authentication.
The most common configuration is Endpoint Registration, where every FXS port needs to be registered separately. For more details refer to Registering Endpoints to All Gateways and Configuring Endpoint Authentication
However there is also a use-case where Unit Registration is done on different username for each gateway, often used with PBX trunks. For more details refer Registering a Unit to a Specific Gateway for Second SIP Gateway Failover
Top
Endpoint Registration
Registering Endpoints to All Gateways
Top
Configuring Endpoint 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 Endpoint for all endpoints needing registration.
- From the Endpoint selection list, select the related FXS port 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
Registering Unit with a Different Authentication for Each Gateway
Registering a Unit to a Specific Gateway for Second SIP Gateway Failover
- Go to SIP/Registrations.
- In the Unit Registration table, click .
- In the User Name field, enter the username that will be used to authenticate with the primary (default) SIP gateway,
- From the Gateway Name selection list, select default.
- In the Unit Registration table, click .
- In the User Name field, enter the username that will be used to authenticate with the failover SIP gateway.
- From the Gateway Name selection list, select failover.
- Click Apply and Refresh.
Top
Configuring Authentication for Second Sip Gateway Failover
- 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 two entries.
- From the Gateway selection list, select default for the first entry, and failover for the second entry.
- From the Validate Realm selection list, select Disable for both entries.
- In the User Name field, enter the appropriate username for the default server in the first entry, and the username for the failover server in the second entry.
- In the Password field, enter the appropriate password for each entry.
- Click Apply and Refresh Registration.
Top
Testing Second SIP Gateway Failover
- Make an outbound call from an endpoint. It will be routed via the primary server.
- Make the primary server unreachable, by dropping its SIP service or adding a firewall rule that will block communications between the Mediatrix and the primary SIP server. Calls will be routed via the failover SIP server.
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 © 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.