[asterisk-bugs] [Asterisk 0014009]: [patch] Add static values for db columns on cdr_addon_mysql
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Dec 2 18:03:30 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14009
======================================================================
Reported By: markwilkinson
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 14009
Category: Addons/cdr_addon_mysql
Reproducibility: N/A
Severity: tweak
Priority: normal
Status: assigned
Asterisk Version: Addons 1.6.0
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-12-02 14:30 CST
Last Modified: 2008-12-02 18:03 CST
======================================================================
Summary: [patch] Add static values for db columns on
cdr_addon_mysql
Description:
This patch adds the ability to set db columns to a static value defined in
the cdr_mysql.conf file.
======================================================================
----------------------------------------------------------------------
(0095700) Corydon76 (administrator) - 2008-12-02 18:03
http://bugs.digium.com/view.php?id=14009#c95700
----------------------------------------------------------------------
The following needs to be changed:
1) The patch is currently against 1.6.0. Changes that add new features
must be against trunk. You should find, for example, that some of the
routines have changed in trunk to use ast_str, the string handling API,
which is different from the method used in 1.6.0.
2) I would prefer if you implemented static values in a manner similar to
what has already been done in cdr_adaptive_odbc, both in syntax, as well as
in implementation. For starters, this means altering the 'struct column'
definition and including the static value there, rather than creating a
separate list.
If this is something you are interested in updating your patch towards,
please reply back, so effort is not duplicated. If you are not interested
in making these changes, please also reply back, so I can get this ported
to trunk quickly.
Issue History
Date Modified Username Field Change
======================================================================
2008-12-02 18:03 Corydon76 Note Added: 0095700
======================================================================
More information about the asterisk-bugs
mailing list