[asterisk-bugs] [Asterisk 0017082]: [patch] Improve realtime queue logging
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jul 20 18:23:26 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17082
======================================================================
Reported By: coolmig
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 17082
Category: Applications/app_queue
Reproducibility: always
Severity: feature
Priority: normal
Status: ready for testing
Target Version: 1.8
Asterisk Version: SVN
JIRA: SWP-1164
Regression: No
Reviewboard Link: https://reviewboard.asterisk.org/r/731/
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-03-23 11:06 CDT
Last Modified: 2010-07-20 18:23 CDT
======================================================================
Summary: [patch] Improve realtime queue logging
Description:
I was playing with the RT queue log functionality, and found this
limitations:
1. If you choose RT queue logging, you won't have the traditional plain
text file file log. This file is very useful for backup purposes.
2. The column 'data' stores all the parameters separated by '|', which is
not the best way to store it.
I managed to program a patch which overcomes this limitations, and works
this way:
1. If you enable RT queue logging, the queue log will still be logged in
the plain text file, so you have some backup in case of some database
disaster.
2. The parameters are now "exploded", and put in separate fields for each
one. The only thing here is that this code must be changed in case that
some queue log event delivers more than 4 parameters (the only event that
gives 4 parameters is TRANSFER).
3. The calldate is now stored just like the CDR, with a full datetime.
4. The plain text file is left as is, for compatibility purposes.
5. The fieldnames on the table changed a little.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0017562 [patch] Reference in extconfig should f...
======================================================================
----------------------------------------------------------------------
(0124778) svnbot (reporter) - 2010-07-20 18:23
https://issues.asterisk.org/view.php?id=17082#c124778
----------------------------------------------------------------------
Repository: asterisk
Revision: 278307
U trunk/CHANGES
U trunk/configs/logger.conf.sample
A trunk/contrib/realtime/mysql/queue_log.sql
U trunk/main/logger.c
U trunk/res/res_config_pgsql.c
------------------------------------------------------------------------
r278307 | tilghman | 2010-07-20 18:23:24 -0500 (Tue, 20 Jul 2010) | 8
lines
Separate queue_log arguments into separate fields, and allow the text file
to be used, even when realtime is used.
(closes issue https://issues.asterisk.org/view.php?id=17082)
Reported by: coolmig
Patches:
20100720__issue17082.diff.txt uploaded by tilghman (license 14)
Tested by: coolmig
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=278307
Issue History
Date Modified Username Field Change
======================================================================
2010-07-20 18:23 svnbot Checkin
2010-07-20 18:23 svnbot Note Added: 0124778
======================================================================
More information about the asterisk-bugs
mailing list