CallDuration Property
The CallDuration property indicates how long the current call persists.
Syntax
[long=] SiteKiosk.Plugins("SitePhone").CallDuration
|
Possible Values
Long value that retrieves the call duration in seconds.
|
The property is read only.
Remarks
Examples
The following example keeps a HTML element containing the call duration up to date.
<div id="CallDuration">0</div>
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SitePhone = SiteKiosk.Plugins("SitePhone");
SitePhone.OnCallDurationChanged = OnCallDurationChanged;
function OnCallDurationChanged()
{
CallDuration.innerHTML = SitePhone.CallDuration;
}
</SCRIPT>
|
Applies to
SiteKiosk v7.0 (and later versions).
Back to top