[asterisk-users] log to cdr each dialpan action, not only one record for each call
BJ Weschke
bweschke at gmail.com
Thu Mar 12 15:22:46 CDT 2009
nik600 wrote:
> Hi to all.
>
> What can i do if a customer needs to log in the CDR all the dialpan
> actions related to a call?
> I mean, not only the lastapp e the lastdata but all the dialpan actions!
>
> I know that the actual CDR system store one record for each call (and
> for billing purposes this can be correct) but in some cases the
> approach needed is something similar to the queue_log.
>
> I know that exists ResetCDR and ForkCDR but they don't do what i need,
> expecially because they fill-in lastdata and lastapp with "ResetCDR"
>
> So, what can i do?
>
> Is it better to do some customization to generate a CDR event on each
> dialplan step or is better to parse the logfile and extract the
> information needed?
>
> I'm using Asterisk 1.4.23.1
>
We generated a patch for a client probably about a year ago against the
1.4 branch that logged apps for each call, params, and exit status codes
into a separate file. Like others have said, it generates a tremendous
amount of data and probably does impact performance on very high load
servers, but it was very useful to determine EXACTLY what happened with
a given call.
> --
> Bird's The Word Technologies, Inc.
> http://www.btwtech.com/
>
>
>
More information about the asterisk-users
mailing list