[asterisk-users] CDR mysql: timeout when remote database unavailable

Sean Bright sean.bright at gmail.com
Mon Jun 8 09:37:12 CDT 2020

On 6/7/2020 2:54 AM, Fourhundred Thecat wrote:
> I would still like to know where the Aterisk mysql timeout duration
> comes from, and whether it can be configured.

In the case of cdr_mysql, the connect timeout is configurable by putting 
the following in cdr_mysql.conf:

timeout = 5 ; Set connect timeout to 5 seconds

For app_mysql, setting the connection timeout is shown in the documentation:

*CLI> core show application MYSQL

Kind regards,

More information about the asterisk-users mailing list