Specifications

Configuration File Download Server Reference Manual (MGCP/NCS Version)
Mediatrix 4100
107
Automatic Update at a Specific Time Interval
You can configure the Mediatrix 4100 to download new configuration files at a specific day and/or time.
To set the automatic update at a specific time interval:
1. Set the configuration file server host and port as defined in
Configuration File Server Settings” on
page 99.
2. Place the configuration files to download on the computer hosting the HTTP or TFTP server.
These files must be in a directory under the root path.
3. If not already done, set the configuration file path as described in
Setting up the Configuration File
Download” on page 101.
4. In the configFileFetchingMIB, set the configFileTransferProtocol variable to either http or tftp.
If you are using the HTTP protocol to download the configuration, be aware that your HTTP server
may activate some caching mechanism for the file download. This mechanism caches the initial file
download for later processing, thus preventing changes or update of the original file by the user.
This can cause strange problems if a user wants to edit a configuration file to modify values and
upload it immediately. The result will still return the original file and not the new one.
5. If you are using the HTTP protocol to download the configuration and your HTTP server requires
authentication, set the following:
The user name in the configFileTransferUsername variable.
The password in the configFileTransferPassword variable.
The Mediatrix 4100 supports basic and digest HTTP authentication, as described in RFC 2617.
6. Define the time base for automatic configuration updates in the configFileAutoUpdateTimeUnit
variable (in the configFileAutomaticUpdate group).
You have the following choices:
7. Set the waiting period between each configuration update in the configFileAutoUpdatePeriod
variable.
The time unit for the period is specified by the configFileAutoUpdateTimeUnit variable (see Step 6).
Available values are from 1 to 48.
8. If you have selected days in Step 6, set the time of the day when to initiate a configuration update
in the configFileAutoUpdateTimeRange variable.
The time of the day is based on the sntpTimeZoneString variable setting (see “Chapter 14 -
SNTP
Settings” on page 157 for more details).
Caution: When downloading via HTTP, the configuration file server’s port must be 80. You can query the
actual port assigned in the imagePrimaryPort and imageSecondaryPort read-only variables (in the
ipAddressStatus folder).
If you are using a DHCP server and it did not provide the proper port, reconfigure it with the proper port or
use a static configuration. See Configuration File Server Settings” on page 99 for more details.
Table 79: Time Unit Parameters
Parameter Description
minutes Updates the unit’s configuration every x minutes. You can specify the x
value in the variable configFileAutoUpdatePeriod (see Step 7).
hours Updates the unit’s configuration every x hours. You can specify the x
value in the variable configFileAutoUpdatePeriod (see Step 7).
days Updates the unit’s configuration every x days. You can specify the x
value in the variable configFileAutoUpdatePeriod (see Step 7).
You can also define the time of day when to perform the update in the
configFileAutoUpdateTimeOfDay variable (see Step 8).