# 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 If you want to react when this property changed, you can use the OnCallDurationChanged Event. 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