Before starting to use these configuration
notes, complete the following table to make sure you have the required information
to complete the different steps.
Note:The Mediatrix unit must be reinitialised to its factory default settings to make sure the configuration can be successfully executed. The
SipProxy service requires a licence.
IMPORTANT: If you perform this configuration note after customising the Mediatrix
unit, for example after configuring a custom SIP gateway, all customised parameters will be
lost. If you need to perform more that than the configuration described in this
configuration notes, start by this one, then move to the other required configuration.
Information
Value
Used in Step
IP address at which the Web interface of your Mediatrix unit can be reached.
If your computer is connected to the unit secondary Ethernet port, i.e. Eth2 on
most devices
Local Survivability for Cloud Based SIP Services - DGW SipProxy Survivability
This use case describes the configuration of an office when the
Mediatrix unit is located in the LAN. It implies that:
When the Hosted SIP service fails, local calls go through the SipProxy.
In survivability situations, when the Hosted SIP services comes back online, the
Mediatrix unit must wait for a REGISTER to go through before sending the calls to the SIP
trunk.
The Mediatrix unit is located in the LAN, behind a Near-End NAT.
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
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
password.
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.
Results
The Information page of
the Web interface is displayed.
Setting the Automatic IPv4 Configuration to the Uplink Network Interface
Steps
Go to Network/Host.
In the Automatic Configuration
Interface table, select Uplink from the selection list located on the same line as Automatic IPv4 config source
network.
Click Apply.
Result
The unit will use the Uplink interface for all SIP Signaling.
Although it is possible to use public DNS servers you should always ask your
internet service provider to provide at least the primary and secondary DNS
servers.
Steps
Go to Network/Host.
In the DNS Configuration table, form the Configuration Source
selection list, select Static.
For each DNS used, enter the IP address of the DNS.
Configuring the SNTP Server to a Static IP Address
Before you begin
Make sure there is an SNTP server available.
Steps
Go to Network/Host.
In the SNTP Configuration table,
from the Configuration Source
selection list, select Static.
Provide an IP address or domain name and port numbers for each SNTP server you
are using.
Note: The best practice is to use the servers supplied by your Internet
Service Provider, then complement with servers from a different network
close to your geographical area. For example: time.nist.gov (USA), ntp4.sptime.se (Sweden), time1.isu.net.sa (Saudi Arabia), ntp.nict.jp (Japan), time.google.com (Worldwide),
pool.ntp.org or one of their regional server pools (see
https://www.ntppool.org/ for more information).
If necessary, change the value of the Synchronisation Period.
If necessary, change the value of the Synchronisation Period on Error.
Click Apply.
Result
The SNTP host name and port will be displayed in the Host Status table under Network/Status.
Configuring the Uplink Network
Interface to a static IP address
Steps
Go to Network/Interfaces.
In the Network Interface Configuration table, from the Link selection list located next to Uplink, leave the default
value, i.e. ETH1.
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 assigned static 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.
Result
The unit can be reached (via the Web) through the Uplink static IP address
Configuring the LAN SIP Clients to Operate without the Mediatrix Unit
Steps
Set the SIP server, username and password according to the Cloud Based SIP
Service configuration.
Note: At this step, these SIP clients do not use the Mediatrix unit to
communicate with the Sip Server.
Validate that the SIP clients are correctly registered.
Make calls between all SIP clients in the LAN.
Result
The calls should be routed between the SIP clients, and all available services
should work. At this point, the first part of the configuration of this use case is
completed.
Starting and Configuring the Survivability SipProxy
Executing the SipProxy Configuration Script
Steps
Go to Management/Configuration Scripts.
In the Execute Scripts
table, from the Suggestion selection list,
choose Survivability.cfg.
From the Transfer Protocol selection
list, make sure that File is selected.
Click Apply and Execute Now.
Note: The script may take some time to execute. A message to restart the service
may be displayed, but it can be ignored.
Wait about 30 seconds for the script to be completely executed, then refresh
the page.(F5).
Go to Management/Configuration Scripts
In the Scripts Status Execute table
make sure Current State
is displaying Idle and
Last ResultSuccess.
Result
The survivability configuration script will be executed from the unit file
management system, and the values specified in the script will be applied to the running
configuration. The survivability proxy is now activated on the unit.
In the Monitoring
section of the Configuration table, in the
Interval field,
enter the interval at which monitoring requests are sent to verify the SIP
server status, in seconds.
In the Toggle Delay
field, enter the delay before reporting a status change of the monitored
destination, in seconds.
In the Destination
field, enter the server IP address or FQDN to monitor.
Note: In most cases, this will be the Registrar Host.
In the Keep Alive Error Code field,
list the response codes (comma-seperated) that indicate that the server is
down.
Note: To detect that the server is down, use the error codes the server will
return when it is not available. This will be much faster than using the
timeout.
In the Outbound Proxy Host field, if
required by your SIP provider, enter the IP address or FQDN of their outbound
proxy.
Note: This parameter was added in firmware version 45.3 for TCP and TLS
transports only. UDP will be supported in a later release.
Click Apply to apply
all changes to the configuration.
Located at the top of the page, click restart required services.
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: This
task is optional.
Steps
Go to SIP Proxy/Routing.
In the User Transformations table,
at the right of the Short_Dialing row, click .
In the Configure User
Transformation
table, modify the Criteria and Pattern fields as
required.
Note: The Short_Dialing transformation rule allows using short extension numbers
when in survivability mode, instead of dialing the full destination number.
If it is left to the default values, the rule has no effect since it tries
to match a phone number that contains "XXXX"
Click Save.
Click Apply to apply
all changes to the configuration.
Configuring the Outbound SIP Proxy for the LAN SIP Clients to Send the SIP Traffic to the
Mediatrix Unit
Context
These steps must be performed on each LAN SIP clients.
Steps
Set the Outbound SIP Proxy server to the Mediatrix unit IP address.
Validate that the SIP clients are correctly registered.
Make calls between all SIP clients in the LAN.
Result
The Mediatrix unit will now route the calls between SIP clients, and all available
services should work. Under SIP Proxy/Registration Cache, in the Registration Cache Search Results
table, and each registered user should be displayed in the AoR field.
Performing a Configuration Backup to the Unit File Management System
Steps
Go to Management/Backup and Restore.
In the File Name
field, indicate the name of your backup.
Note: The file name is case sensitive. As a best practice, add the .xml
extension. Make sure to indicate the firmware version the backup was made
from because a backup file can not be restored on an older firmware version
than the one it was taken from.
Note: Remember, if you have several units with several configurations and plan
to reuse the configuration on another unit, the name must be explicit.
Indicate the date of your backup, the interfaces used, the device model,
etc.
From the Transfer Protocol selection
list, select File.
From the Content
selection list, choose the elements you wish to include to the backup.
If you wish to use encryption for backup operations, complete the Privacy Parameters.
Note: Media5 corp strongly recommends to use a privacy algorithm (encryption) to
protect certificates and passwords.
Click Apply and Backup Now.
Result
The configuration will be saved in the unit file management system. The backup file
will appear at the end of the list of the File page, under Management/File.
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.
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.