[asterisk-dev] The New CDR system

Vasil Kolev vasil at ludost.net
Sat Mar 31 14:13:39 MST 2007


В чт, 2007-03-29 в 12:48 -0600, Steve Murphy написа:
> FYI--
> 
> I've been collecting all the CDR related bugs. I have a branch,
> team/murf/bug8221-1.4, where I've been testing out fixes to problems
> reported.
> I'm about to clean it up and commit it to 1.4 and trunk.
> 
> If there's one thing I've concluded, it's that there are some problems
> with the CDR system, and something different is in order.
....
> Hate it? Love it? Have suggestions? 
> 
> murf

A question that nobody seems to have touched yet on this (and maybe the
reason is that this is not the right discussion :) ), what about a way
to specify a backup storage for the CDR data? For example your DB dies,
and suddenly you can't log it - how does it sound to have another way to
keep the data and to send it to the primary storage when it becomes
available?
(let's face it, everything crashes once in a while, no matter how
foolproof and redundant it's made)

This might be better implemented in the CDR recording drivers
themselves, but for some reason a generic layer which can be used to
define "Send CDRs over pgsql to server1, if fails - pgsql to server2, if
that fails - record on disk
in /var/spool/asterisk/cdr/cdr.$TIMESTAMP.$PID" (the pickup of the files
from the disk is left as an exercise to the sysadmin). This will make it
a lot harder to lose information :).

As I see it, the logic shouldn't be hard to be designed and implemented,
although I still haven't dug in the CDR system of asterisk, having been
busy with some other parts. What do you think of this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: =?UTF-8?Q?=D0=A2=D0=BE=D0=B2=D0=B0?= =?UTF-8?Q?_=D0=B5?=
	=?UTF-8?Q?_=D1=86=D0=B8=D1=84=D1=80=D0=BE=D0=B2=D0=BE?=
	=?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B0?=
	=?UTF-8?Q?_=D1=87=D0=B0=D1=81=D1=82?= =?UTF-8?Q?_=D0=BE=D1=82?=
	=?UTF-8?Q?_=D0=BF=D0=B8=D1=81=D0=BC=D0=BE=D1=82=D0=BE?=
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20070331/c515e207/attachment.pgp


More information about the asterisk-dev mailing list