![Cisco SPA1112 Скачать руководство пользователя страница 25](http://html.mh-extra.com/html/cisco/spa1112/spa1112_provisioning-manual_63552025.webp)
Creating XML Provisioning Scripts
Using Provisioning Parameters
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters
25
2
Triggers
The ATA allows you to resync at specific intervals or at a specific time.
Resyncing at Specific Intervals
The ATA is designed to resync with the provisioning server periodically. The
resync interval is configured in Resync_Periodic (seconds). If this value is left
empty, the device does not resync periodically.
The resync typically takes place when the voice lines are idle. In case a voice line
is active when a resync is due, the ATA delays the resync procedure until the line
becomes idle again. However, it waits no longer than Forced_Resync_Delay
(seconds). A resync might cause configuration parameter values to change. This,
in turn, causes a firmware reboot and terminates any voice connection active at
the time of the resync.
If a resync operation fails because the ATA was unable to retrieve a profile from
the server, if the downloaded file is corrupt, or an internal error occurs, the device
tries to resync again after a time specified in Resync_Error_Retry_Delay (seconds).
If Resync_Error_Retry_Delay is set to 0, the device does not try to resync again
following a failed resync attempt.
When upgrading, if an upgrade fails, a retry is performed after Upgrade_Error_
Retry_Delay seconds.
Two configurable parameters are available to conditionally trigger a resync:
Resync_Trigger_1 and Resync_Trigger_2. Each of these parameters can be
programmed with a conditional expression (which undergoes macro expansion). If
the condition in any of these parameters evaluates to true, a resync operation is
triggered, as though the periodic resync timer had expired.
The following example condition triggers a resync if Line 1 failed to register for
more than 5 minutes (300 seconds), and at least 10 minutes (600 seconds) have
elapsed since the last resync attempt.
$REGTMR1 gt 300 and $PRVTMR ge 600
Resyncing at a Specific Time
The Resync_At parameter allows you to resync at a specific time. This parameter
uses the 24-hour format (hhmm) to specify the time.
To avoid simultaneously flooding the server with resync requests from multiple
phones set to resync at the same time, the phone triggers the resync up to 10
minutes after the specified time.