Lua → VBScript SwxWare v13.10
This function returns the unique call id the server has reserved for the current call.
local nCallId = PBXCall.CallId()
This function returns a number value.
SwyxServer reserves a unique id for each call within the system. This id will also be stored in the Call Detail Records.
Do mot mistake this id with the caller number.
Do also not mistake this CallId by the unique call id you find within the SwyxWare traces files per call. The call id column in the traces files takes a number that will be reset by every restart of the service, while the CallID of course is persistent.
Hints on reading SwyxWare traces files (especially in terms of call routing) can be found here: