Quote:
Upgrading the server is not very ideal solution for generating invoices.
You inferred that I said you needed to upgrade your platform to generate invoices - What I said that if your server was close to overloaded, you should consider an upgrade. In the server world, the general rule of thumb is that when the server is at 50% capacity, double the capacity.
I would stand by my earlier comment, that you should be billing everything you can bill. You've paid, or have got to pay for the minutes, and with thousands of customers, the "opportunity cost" could be huge.
Many customers can be in different timezones, So do you go to the degree of looking at the customer's timezone to decide what CDR to bill? I'd say not - keep it simple, and bill everything.
The your issue can easily be fixed by changing the time of the cronjob, IMO, your traffic patterns are unusual to be so busy at Midnight, that you cannot run the invoice cronjob without potentially affecting the operation of your platform.
Given that this is a minor issue, really only applicable to you, as far as I can make out, I would not be recommending that this be put top of the priority list, there are plenty of other things to do. If it is an issue, and important to you, then you have the option of sponsoring the development of this feature.
Joe