Summary:ASTERISK-05252: If cdr_mysql activated and connection do ds is lost the channels never hang-up
Reporter:Stefano Osler (starsystemit)Labels:
Date Opened:2005-10-05 16:36:15Date Closed:2011-06-07 14:10:43
Versions:Frequency of
Description:We are using cdr on an external mysql db. If the connection with the database is lost asterisk take new calls but the channels never hang up. With zap channels we get all channels busy after a while.
Comments:By: Clod Patry (junky) 2005-10-05 22:07:26

Which HEAD version?
We put a field there its for use it.

Any CLI output, any debug messages?

By: Joseph Benden (jbenden) 2005-10-06 11:23:19

Yes, please send some debug/cli information, as I have this in use in many servers currently - and I'd be happy to help track down the problem.

By: Kevin P. Fleming (kpfleming) 2005-10-13 20:07:06

There have been recent changes to the MySQL support for Asterisk that may help with this situation. In addition, you can enable background posting of CDR entries to keep the Asterisk channels from getting 'stuck'. You still won't get the CDR entries posted into the database until it comes back up (if then), but that's no different than if you don't use background posting :-)