[asterisk-users] CDR mysql: timeout when remote database unavailable
jeff at stratustalk.com
Sun Jun 7 08:31:08 CDT 2020
Isn't the MySQL stuff deprecated in favor of odbc? You may be barking up
the wrong tree if you plan to make source changes.
On Sun, Jun 7, 2020, 1:55 AM Fourhundred Thecat <400thecat at gmx.ch> wrote:
> > On 2020-06-06 10:38, Antony Stone wrote:
> > On Saturday 06 June 2020 at 09:18:11, Fourhundred Thecat wrote:
> >> In a situation when I start asterisk, and the remote database is
> >> unreachable, asterisk waits for several minutes before it actually
> >> starts (before it loads sip module, etc).
> >> And when database is unreachable during operation, when call happens,
> >> sometimes the call is connected, other times it waits for mysql and call
> >> times out.
> >> or what would be the best solution in my case ?
> > I would install a local copy of MySQL (to the same machine as Asterisk)
> > that it is definitely available, tell Asterisk to write to that, and
> then set
> > up replication to the remote MySQL instance which is sometimes
> That is an interesting suggestion, which I'll consider.
> But I would still like to know where the Aterisk mysql timeout duration
> comes from, and whether it can be configured.
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> Check out the new Asterisk community forum at:
> New to Asterisk? Start here:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users