As the SwyxServer does not provide the needed information about “Latest Disconnect Time” of a user directly, the Call Detail Records (CDRs) are used to get this information. So the CDRs must be written into a database. Details on setting up CDRs written into a database can be taken from the Enreach Help Center:
The needed SQL script (IpPbxCDR.sql) to setup the IpPbxCDR table should be taken from the above linked article.
Please note, that the following step expects the call details table to be named IpPbxCDR!