HTML |
---|
<p>There now follows a complete list of all server-side include variables
available for use in your HTML pages.</p>
<p>Most SSI variables do not need to be housed in the '<>' HTML tags, however,
variable-length ones do, and these are detailed at the bottom of the list.</p>
<table class="confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" width=110>SSI variable</th>
<th class="confluenceTh">Description</th>
</tr>
<tr>
<td class="confluenceTd"><span class="keyword"><b>#SSI_DATELONG</b></span></td>
<td class="confluenceTd">Displays the current system date in long 'dd mmmm yyyy' format, eg. 04 January 2001.</td>
</tr>
<tr>
<td class="confluenceTd"><b>Location</b></td>
<td class="confluenceTd">Represents a geographical location name for the dialling code.</td>
</tr>
<tr>
<td class="confluenceTd"><b>Band</b></td>
<td class="confluenceTd">The name of the tariff band that contains the properties (such as cost per minute)
of any call to this type of number.</td>
</tr>
<tr>
<td class="confluenceTd"><b>Code Pattern</b></td>
<td class="confluenceTd">A numeric mask used to validate a number of this type. For example,
a London number (020 dialling code) requires a codepattern of
020########* which indicated that a London number, in order to be
valid, must start with 020 and then be followed by at least eight
numbers. If this code pattern is not matched, a call is discarded,
as it could be the result of a misdial.</td>
</tr>
</tbody>
</table>
|
A complete list of all SSI variables is described below. Most SSI variables do not need to be housed in '<>' HTML tags; however, variable-length ones do, and these are detailed at the bottom of the list.
SSI variable | Description |
---|
#SSI_DATELONG | Displays the current system date in long dd mmmm yyyy format, e.g. 04 January 2001 |
#SSI_DATESHORT | Displays the current system date in short dd/mm/yyyy format, e.g. 04/01/2001 |
#SSI_TIME | Displays the current system time in HH:MM:SS format, e.g. 23:02:41 |
#SSI_CALLTYPES | Produces a drop-down list in the context of an HTML form displaying all call types |
#SSI_PERIODS | Produces a list of valid periods used to replace the and parameters in reports |
#SSI_EXTNGROUP | Produces a list of available extension groups, including the internal group containing the newly-discovered extension numbers |
#SSI_TRUNKGROUP | Produces a list of available trunk groups, including the internal group which containing the newly-discovered trunk numbers |
#SSI_SITELIST | Produces a list of valid sites as found in the SITES.CFG file |
#SSI_REGNAME | Displays the name of the company the software is registered to |
#SSI_REMOTEIP | Displays the IP address of the client, e.g. the entity connected to the web server |
#SSI_REMOTEHOST | Displays the resolved host name of the client |
#SSI_REMOTEPORT | Displays the request port of the client |
#SSI_LCV | Returns an HTML table containing a copy of the information currently displayed in the list. The table includes the column headers and any highlighted calls |
#SSI_FIELDS | Produces a drop-down list with the database fields, in the context of an HTML form. Its primary use is to specify by which field the data should be sorted |
#SSI_STATS:ID | Returns the unique identifier of the set of statistics currently being collected. This could be a numeric form of the current date on which live statistics are being collected |
#SSI_STATS:GROUP | Returns the extension group (if any) that statistics are currently being collected for |
#SSI_STATS:NUMABANDON | Returns the total number of abandoned calls |
#SSI_STATS:NUMANSWERED | Returns the total number of answered calls |
#SSI_STATS:NUMOUTBOUND | Returns the total number of outbound calls |
#SSI_STATS:MAXOUTDURATION | Shows the duration of the longest outbound call (in hh:mm:ss format)
|
#SSI_STATS:MAXOUTBY | Shows the name (if any) of the extension responsible for the longest outbound call |
#SSI_STATS:MAXRESPONSEBY | Shows the name (if any) of the extension responsible for the #SSI_STATS:MAXRESPONSE value above |
#SSI_STATS:MAXWAIT | Shows the maximum length of time a caller waited before abandoning (in hh:mm:ss format)
|
#SSI_STATS:MAXWAITBY | Shows the name (if any) of the extension responsible for the #SSI_STATS:MAXWAIT value above |
#SSI_STATS:AVGOUT | Shows the average duration of all outgoing calls in the current statistics set (in hh:mm:ss format)
|
#SSI_STATS:AVGRESPONSE | Shows the average response time for all incoming answered calls in the current statistics set (in hh:mm:ss format)
|
#SSI_STATS:AVGWAIT | Shows the average length of time callers wait before abandoning a call (in hh:mm:ss format) |
#SSI_STATS:TOTALOUTDURATION | Shows the total duration of all outgoing calls in the current statistics set (in hh:mm:ss format)
|
#SSI_STATS:SMAXRESPONSE | Returns the maximum response time (seconds only) |
#SSI_STATS:SMAXWAIT | Returns the maximum wait time (seconds only) |
#SSI_STATS:SAVGRESPONSE | Returns the average response time (seconds only) |
#SSI_STATS:SAVGWAIT | Returns the average wait time (seconds only) |