The following ini file example can be used to activate the Automatic Update mechanism.
# DNS is required for specifying domain names in URLs
[ InterfaceTable ]
FORMAT InterfaceTable_Index = InterfaceTable_ApplicationTypes,
InterfaceTable_InterfaceMode, InterfaceTable_IPAddress,
InterfaceTable_PrefixLength, InterfaceTable_Gateway,
InterfaceTable_VlanID, InterfaceTable_InterfaceName,
InterfaceTable_PrimaryDNSServerIPAddress,
InterfaceTable_SecondaryDNSServerIPAddress,
InterfaceTable_UnderlyingInterface;
InterfaceTable 0 = 6, 10, 10.13.4.12, 16, 10.13.0.1, 1, Mng,
10.1.1.11, 0.0.0.0, ;
[ \InterfaceTable ]
# Load an extra configuration ini file using HTTP
IniFileURL = 'http://webserver.corp.com/Gateway/inifile.ini'
# Load Call Progress Tones file using HTTPS
CptFileUrl = 'https://10.31.2.17/usa_tones.dat'
# Load Voice Prompts file using FTPS with user ‘root’ and password
‘wheel’
VPFileUrl = 'ftps://root:wheel@ftpserver.corp.com/vp.dat'
# Update every day at 03:00 AM
AutoUpdatePredefinedTime = '03:00'
# Note: The cmp file isn’t updated since it's disabled by default
(AutoUpdateCmpFile).
Notes:
• The Automatic Update mechanism assumes that the external Web
server conforms to the HTTP standard. If the Web server ignores the If-
Modified-Since header, or doesn’t provide the current date and time
during the HTTP 200 OK response, the device may reset itself
repeatedly. To overcome this problem, modify the update frequency,
using the AutoUpdateFrequency parameter.
• To load a different configuration file (ini file) per device, add the string
"<MAC>" to the URL (e.g., IniFileURL =
'http://www.corp.com/config_<MAC>.ini'). This mnemonic is replaced
with the device's hardware MAC address, resulting in an ini file name
request that contains the device's MAC address (e.g.,
config_00908F033512.ini).
• To prevent the device from accidentally upgrading its software, by default
the Automatic Update feature does not apply a downloaded cmp file
even if its URL was configured (using the CmpFileURL parameter). To
enable this, set the AutoUpdateCmpFile parameter to 1.
• To enable the device to automatically reset after an ini file has been
loaded, set the ResetNow parameter to 1. This is important if the
downloaded configuration file includes parameters that require a device
reset for its settings to be applied.
• By default, parameters that are not included in the downloaded
configuration file are set to default. To retain the current settings of these
parameters, set the SetDefaultOnINIFileProcess parameter to 0.