CDR Insert Failure Warning Not Triggered in Asterisk certified/18.9-cert3

Hi Team,

We are currently using Asterisk certified/18.9-cert3 and have encountered an issue where no warning or alert is generated when CDR insert fails due to MySQL ODBC connection issues.

According to the code in cdr_adaptive_odbc.c, we should receive a warning when the insert operation fails:
if (rows == 0) {
ast_log(LOG_WARNING, “cdr_adaptive_odbc: Insert failed on ‘%s:%s’. CDR failed: %s\n”, tableptr->connection, tableptr->table, ast_str_buffer(sql));
}

However, in our case, even though the insert operation fails, no warnings or alerts are logged. Could you please assist us in identifying the cause or suggest a solution to ensure we receive the proper alerts in case of such failures?

If you are using a certified version, you need to obtain support under your commercial support contract. For community support, you should reproduce the fault under the latest full release version. Certified versions are only supported for paying customers, and only in relation to the features for which they are actually certified.

Hi @david551
We also tested the same scenario on Asterisk version 18.17.1 (non-certified), and we encountered the same issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.