Returns the duration of the call (difference between the start date and time of call and the end date and time of call).
CallDuration is Duration
CallDuration = tapiCallDuring()
Syntax
<Result> = tapiCallDuring([<Call identifier>])
<Result>: Duration
Duration of the call. Corresponds to the current duration if the call is still in progress or to the total duration if the call is over.
<Call identifier>: Optional integer
Identifier of the call to be handled. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks
Availability of information
The information is available:
- at any time for the last outgoing call.
- until the end of the call for the incoming calls. If this information must be stored, it must be saved before the end of call.
Required configuration
Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.