Bug#344097: asterisk: Does not include cdr_sqlite userfield support
by default
Alejandro Ríos P.
alejandro.rios at avatar.com.co
Tue Dec 20 01:00:07 UTC 2005
El lun, 19-12-2005 a las 16:34 -0800, Mike Fedyk escribió:
> Alejandro Ríos P. wrote:
> > Package: asterisk
> > Version: 1:1.0.7.dfsg.1-2
> > Severity: normal
> >
> > The other cdr divers include support for the "userflied" field by
> > default. cdr_sqlite doesn't, making unusable the function
> > SetCDRUserfield by default.
> Have you tried the 1.2.x package in unstable?
Looking at the source on [1] and [2] it looks like the same missing
field to me.
[1]http://ftp.debian.org/debian/pool/main/a/asterisk/asterisk_1.2.1.dfsg.orig.tar.gz
[2]http://ftp.debian.org/debian/pool/main/a/asterisk/asterisk_1.2.1.dfsg-1.diff.gz
This should do it:
--- asterisk-1.2.1/cdr/cdr_sqlite.c 2005-12-19 19:58:52.205216976
-0500
+++ cdr_sqlite.c 2005-12-19 19:58:16.951576344 -0500
@@ -48,7 +48,7 @@
#include "asterisk/utils.h"
#define LOG_UNIQUEID 0
-#define LOG_USERFIELD 0
+#define LOG_USERFIELD 1
/* When you change the DATE_FORMAT, be sure to change the CHAR(19)
below to something else */
#define DATE_FORMAT "%Y-%m-%d %T"
Thanks.
--
Alejandro Ríos Peña
Ing. en Electrónica y Telecomunicaciones.
Avatar ltda.
Grupo GNU/Linux Universidad del Cauca - GLUC.
Comunidad Debian-Colombia.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20051219/bd3c039f/attachment.pgp
More information about the Pkg-voip-maintainers
mailing list