I have built a new asterisk server and cannot get MySQL CDR to work. I have configured the cdr_mysql.conf file as shown below, but a reload from the CLI console doesn’t show that file being read. What am I missing - we pretty much copied the configuration of our other asterisk server.
I just discovered that running make in the asterisk addons directory does not compile the cdr_addon_mysql.c file, so the cdr_addon_mysql.so file is not being created. I tried running make clean first, but that didn’t help. Any ideas?
I just discovered that running make in the asterisk addons directory does not compile the cdr_addon_mysql.c file, so the cdr_addon_mysql.so file is not being created. I tried running make clean first, but that didn’t help. Any ideas?[/quote]
I had a copy of cdr_addon_mysql.so from my 1.2.9 version of asterisk and a diff on the source showed they were the same, so I just used it and everything is fine. I’m still not sure why the files doesn’t compile, but I don’t have an hour to figure out “make” and all the dependencies. Thanks for your help.