User`s manual

MediaPack SIP User’s Manual 10. Advanced System Capabilities
Version 4.6 203 June 2005
Figure 10-2: Example of an ini File Activating the Automatic Update Mechanism
# DNS is required for specifying domain names in URLs
DnsPriServerIP = 10.1.1.11
# Load an extra configuration ini file using HTTP
IniFileURL = 'http://webserver.corp.com/AudioCodes/inifile.ini'
# Load Call Progress Tones file using HTTPS
# Note: HTTPS is not available on the MP-1xx
CptFileUrl = 'https://10.31.2.17/usa_tones.dat'
# Load Voice Prompts file using HTTPS with user ‘root’ and password ‘wheel’
VPFileUrl = 'https://root:wheel@webserver.corp.com/vp.dat'
# Update every day at 03:00 AM
AutoUpdatePredefinedTime = '03:00'
# Note: The cmp file isn’t updated since it is disabled by default (AutoUpdateCmpFile).
Refer to the following notes:
When TFTP is used, the files are immediately loaded. When HTTP or HTTPS are used, the
gateway contacts the Web server/s and queries for the requested files. The ini file is loaded
only if it was modified since the last automatic update. The cmp file is loaded only if its
version is different from the version stored on the gateway’s non-volatile memory. All other
auxiliary files (e.g., CPT) are updated only once. To update a previously-loaded auxiliary file,
you must update the parameter containing its URL.
To load different configurations (ini files) for specific gateways, add the string ‘<MAC>’ to the
URL. This mnemonic is replaced with the MediaPack hardware MAC address. Resulting in
an ini file name request that contains the gateway’s MAC address.
To automatically update the cmp file, use the parameter ‘CmpFileURL’ to specify its name
and location. As a precaution (in order to protect the MediaPack from an accidental update)
the Automatic Update mechanism doesn’t apply to the cmp file by default. Therefore, (to
enable it) set the parameter ‘AutoUpdateCmpFile’ to 1.
The following example illustrates how to utilize Automatic Updates for deploying devices with
minimum manual configuration.
¾ To utilize Automatic Updates for deploying the MediaPack with
minimum manual configuration, take these 3 steps:
1. Set up a Web server (in the following example it is http://www.corp.com/) where all
configuration files are to be stored.
2. To each device, pre-configure the following parameter (DHCP / DNS are assumed):
IniFileURL = 'http://www.corp.com/master_configuration.ini'
3. Create a file named master_configuration.ini, with the following text:
# Common configuration for all devices
# ------------------------------------
CptFileURL = 'http://www.corp.com/call_progress.dat'
# Check for updates every 60 minutes
AutoUpdateFrequency = 60
# Additional configuration per device
# -----------------------------------
# Each device loads a file named after its MAC address,
# (e.g., config_00908F033512.ini)
IniFileTemplateURL = 'http://www.corp.com/config_<MAC>.ini'
# Reset the device after configuration is updated.
# The device resets after all of the files are processed.
ResetNow = 1