Take a look at https://www.aggsoft.com/pbx-data-logger.htm
I tried them for educational purposes about 5 years ago, worked great to capture/parse data and save it into database. Not so great if you need to generate reports. their website seems to have more products and looks a lot better, maybe they improved their tools too.

Native NEC Comm Analyst would be my choice if you planning on offering it to your clients, definitely worth the price