Reference:Configuration/General/Update: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(goback removed)
Line 3: Line 3:
* '''Command File URL:'''
* '''Command File URL:'''
<blockquote>
<blockquote>
An URL, for example http://192.168.0.1/update/script-ip800.txt, pointing to a file whose commands are executed.<br>
An URL, for example <nowiki>http://192.168.0.1/update/script-ip800.txt</nowiki>, pointing to a file whose commands are executed.<br>
If the URL ends with a slash (/), for example http://192.168.0.1/update/, the device is adding the file name update-ipxxx.htm automatically, deduced from the device short name (for example update-ip800.htm).<br>
If the URL ends with a slash (/), for example <nowiki>http://192.168.0.1/update/</nowiki>, the device is adding the file name update-ipxxx.htm automatically, deduced from the device short name (for example update-ip800.htm).<br>
Furthermore the placeholder #h and #m can be used in the URL-String:
Furthermore the placeholder #h and #m can be used in the URL-String:
* #h - will be replaced by the device short name (for example IP800).
* #h - will be replaced by the device short name (for example IP800).
* #m - will be replaced by the device mac-adress (for example 00-90-33-01-02-03).
* #m - will be replaced by the device mac-adress (for example 00-90-33-01-02-03).
These placeholders may be used e.g. to address a device-specific directory (http://192.168.1.2/update/#h/script.txt) or to generate HTTP-GET parameters (http://192.168.0.1/update/script.php?mac=#m).<br>
These placeholders may be used e.g. to address a device-specific directory (<nowiki>http://192.168.1.2/update/#h/script.txt</nowiki>) or to generate HTTP-GET parameters (<nowiki>http://192.168.0.1/update/script.php?mac=#m</nowiki>).<br>
If the directory of the file is password-protected, the access credentials must be specified in the chapter "[[General_HTTP-Client|Configuration/General/HTTP Client]]".
If the directory of the file is password-protected, the access credentials must be specified in the chapter "[[Reference:Configuration/General/HTTP-Client|Configuration/General/HTTP Client]]".
</blockquote>
</blockquote>


Line 16: Line 16:


Detailed information on the update server and the update script is contained in "[[Update-Server|Configuration of the update server]]".
Detailed information on the update server and the update script is contained in "[[Update-Server|Configuration of the update server]]".
<small>[[General|...go back]]</small>

Revision as of 16:08, 29 March 2007

The update server is used for efficient administration of various VoIP devices. The update server reads a file at intervals from a configurable URL (Uniform Resource Locator).

  • Command File URL:

An URL, for example http://192.168.0.1/update/script-ip800.txt, pointing to a file whose commands are executed.
If the URL ends with a slash (/), for example http://192.168.0.1/update/, the device is adding the file name update-ipxxx.htm automatically, deduced from the device short name (for example update-ip800.htm).
Furthermore the placeholder #h and #m can be used in the URL-String:

  • #h - will be replaced by the device short name (for example IP800).
  • #m - will be replaced by the device mac-adress (for example 00-90-33-01-02-03).

These placeholders may be used e.g. to address a device-specific directory (http://192.168.1.2/update/#h/script.txt) or to generate HTTP-GET parameters (http://192.168.0.1/update/script.php?mac=#m).
If the directory of the file is password-protected, the access credentials must be specified in the chapter "Configuration/General/HTTP Client".

  • Interval [min]: An interval (in minutes) at which the file is re-read and executed.


Detailed information on the update server and the update script is contained in "Configuration of the update server".