@polterguy wrote:
Hi guys (gals?) and thank you for previous great help here
So, today my task is to be able to query the CDR database for its historical calls, and I figure there must exist some pre-configured action i Asterisk to do this, through its AMI parts, but then again, maybe not …?
If not, what would be the smart way to achieve what I want to do, which is to retrieve historical calls, given an extension, and/or date/time span, etc …?
Basically, in our own (in-house) developed system, which internally is using Asterisk (and more specifically FreePBX), we’ll need to display grids of calls, according to filter criteria, and allow our users to download and view meta data about historical calls (my industry is regulated such that we’re legally obligated to record BTW (finance))My guess would be to configure Asterisk to use MySQL for its CDR, and then simply connect directly to that database myself. Which again if true, brings me to the question of the structure of this database. How do I recognize what is what in it …?
And where do I start if I want to configure Asterisk to use MySQL for its CDR …?
Thank you in advance for the awesome answers I know will pop in here …Have a nice day,
Thomas
Posts: 3
Participants: 3