VBScript → Lua
This function returns date and time when the current call reached the call routing of the user.
Dim vCallStart vCallStart = CallStart()
or if being used directly within a GSE property dialog, e.g. in a Say Time block to directly announce the start time to the caller:
This function returns a date / time value.
This function can be called at any time within the call routing script.
The start date/time will be request making use of the Server Script API function PBXUser.Now. This ensures that the location configuration (time zone) of the script user will be considered.
The start date/time can be used to calculate the duration of the call, but for this purpose there is already the CallDuration() function available.

By Tom Wellige