Lua → VBScript SwxWare v13.10
This function returns the unique call id of the current call.
local nCallID = CallID()
This function returns a number value.
Every call within SwyxWare (regardless if internal or external) will be tagged with a unique id by the SwyxServer. This id will also be written into the Call Detail Records (CDR).
If a call will be transferred to another user it will automatically get a new CallID assigned. The CDRs will record all these different IDs. For detailed information take a look into the Enreach Knowledgebase article
The CallID can also be requested once the call is connected to a user (SwyxIt!) from the Client SDK.
Do 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: