Jump to content

- References

- # CallID()

  Followers 0

  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.

  This function is identical to the Server Script API function PBXCall.CallId.

  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

  - Call Detail Record (CDR) Format (kb2413)

  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:

  - How to filter the Server Trace for Call Routing output of a certain call

  By Tom Wellige

  - May 21, 2022
  Share
  Share
  Followers 0
  Previous Page CalledNumber()
  Next Page CallStart()

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.