Lua → VBScript SwxWare v13.10
This function returns the duration (in seconds) of the current call.
local nDuration = CallDuration()
or if being used directly within a GSE property dialog, e.g. in a Say Number block to directly announce the duration to the caller:
This function returns a number value.
This function can be called at any time within the call routing script.
The call duration is meassured in UTC and is therefore hardened against any leap hours (daylight saving time, summer time, winter time).
By Tom Wellige