Rodrigo Otavio de Fraga wrote:
Hi,
When I finished a call, the asterisk give a message : FAILED TO INSERT
INTO DATABASE.
Make sure that the details inside cdr_mysql.conf are correct.
I.E. if it has username bob, password fred, host 127.0.0.1, run mysql -u
bob -p
Then it will ask you for a password.
Type fred (or whatever your password is).
Then it should connect (if the user/pass is in the db).
If you then type use cdr (where cdr is the name of your cdr database) it
should work.
So, if you go through these steps, you should be able to find out where
the problem is.
(BTW: you did create the tables didn't you?)
:)
--
Cheers,
Matt Riddell
_______________________________________________
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users