[asterisk-users] Queue_log into MySQL - best practices
Lenz Emilitri
lenz.loway at gmail.com
Thu Nov 22 03:36:04 CST 2012
Hi Dmitry,
we usually advise against writing queue_log events straight to a database,
as it is marginally more likely that the DB has issues that a simple flat
file. And when data is lost it's lost forever. Still everybody seems to
love writing data straight to the DB :)
l.
2012/11/22 Dmitry <mbike2000ru at yahoo.com>
> Hi,
>
> I use asterisk 1.8.
> Currently I use a perl daemon to parse queue_log into MySQL. It works
> reliably.
>
> But I know that there is a method (
> http://www.voip-info.org/wiki/view/Asterisk+queue_log+on+MySQL and
> http://work.mikeboylan.com/asterisk-queuelog-to-mysql) to write to MySQL
> directly with app_mysql which has a DEPRECATED status.
>
> My question is:
> What is the best/preffered approach to put queue_log into MySQL in
> asterisk 1.8 and up?
> 1) To use external daemons to parse /var/log/queue_log?
> 2) To use the deprecated app_mysql? the status does not guarantee that
> this application will be in the future
> 3) To use odbc to access mysql? but I could not find a procedure for it.
> And I doubt it is possible.
>
> BR,
> Dmitry Pavlenko
>
--
Loway - home of QueueMetrics - http://queuemetrics.com
Test-drive WombatDialer beta @ http://wombatdialer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121122/15e04cbd/attachment.htm>
More information about the asterisk-users
mailing list