If there are a large number of records in the CDR database, the server will use massive amounts of memory and eventually get an OOM kill from systemd. I got it working by stripping most of the records out of my CDR database, but I'm thinking there should be a better way of handling this that doesn't use so much memory (but I haven't had time to look at the code yet).
Initially, due to having a really old server and a lot of spam calls and older SIP connection attempts, there were over 2M records in my CDR database.
thanks for the input. I will take a look at it and see if we can optimize something. there isn't really any reason we should store all that data in memory
If there are a large number of records in the CDR database, the server will use massive amounts of memory and eventually get an OOM kill from systemd. I got it working by stripping most of the records out of my CDR database, but I'm thinking there should be a better way of handling this that doesn't use so much memory (but I haven't had time to look at the code yet).
Initially, due to having a really old server and a lot of spam calls and older SIP connection attempts, there were over 2M records in my CDR database.