[asterisk-dev] The New CDR system
Steven Critchfield
critch at basesys.com
Fri Mar 30 14:06:46 MST 2007
On Fri, 2007-03-30 at 13:25 -0700, Steve Edwards wrote:
> On Fri, 30 Mar 2007, Russell Bryant wrote:
> > Once I have the ability to share events over IAX2, this would open up some
> > really cool possibilities. For example, you could have a cluster of 10
> > Asterisk servers handling calls and generating CDR events. Then, you could
> > have a master CDR server that has subscribed to these events from each
> > server, collects all of them, and logs them into the same place.
>
> We already do this with MySQL. Funneling the CDR's through IAX sounds
> interesting, but then we would have to run an instance of Asterisk
> (possibly on our database server) just for the purpose of taking the CDRS
> out of the IAX stream and then communicating with our database.
>
> What would the advantage be to send the CDRs over IAX?
Security. Funneling CDRs over IAX to a asterisk instance that had no
outside connectivity that was billable would only expose yourself to
maybe someone hacking their way into leaving bogus CDR records.
I don't know if I would want a mysql or other internet enabled DB to be
publicly facing. I could let a asterisk instance capture the CDR events
and drop them to whatever backend is necessary without exposing the
backend.
Management, bringing the CDRs back to a single asterisk box would let
you manage them all from a single point. Next step would be to provide a
way for failover and/or queueing of these events on the off chance the
other side is down.
I'm sure there are more, but these are some ideas I came up with
quickly.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-dev
mailing list