[asterisk-dev] CDR issues - Can someone sanity check them?
Ryan Wagoner
rswagoner at gmail.com
Wed Jan 4 13:32:18 CST 2012
On Wed, Jan 4, 2012 at 12:25 PM, Kevin P. Fleming <kpfleming at digium.com>wrote:
> On 01/04/2012 07:26 AM, Ryan Wagoner wrote:
>
>>
>> I've found the CDR records to be buggy when transferring. Basic
>> inbound/outbound calls are accounted for correctly. At the very least I
>> would like to see transfers fixed, which is most likely the same issue
>> for AMI redirects.
>>
>> https://issues.asterisk.org/**jira/browse/ASTERISK-18733<https://issues.asterisk.org/jira/browse/ASTERISK-18733>
>>
>> Having to parse CEL to produce my own CDR records seems like an extra
>> step. If CEL was added so I can parse the records correctly why can't
>> Asterisk? I know everyone has disagreements on how CDR records should be
>> accounted for, but I don't think CDR data should be just left out.
>>
>
> CDRs, as a side-effect of their design, *cannot* reliably account for any
> calls except "party A calls party B, party B answers, one party hangs up,
> call is torn down". Transfers, holds, conferencing, redirects, any other
> activity other than basic call handling have no way to be properly
> represented in CDRs. Everyone has different opinions on how they should
> appear, and while I won't disagree that there could be bugs that need to be
> corrected, the fact that transfers are not "properly" recorded is not a
> bug: it can't be, because there is no commonly accepted definition of what
> is 'proper' for a CDR to report a transfer.
>
> CEL was added so that you'd have all the raw data necessary to make your
> own decisions on how to produce CDRs if you need to do so; the decisions on
> how to collapse/coalesce CEL records into CDRs are *business decisions* you
> need to make, they don't belong in Asterisk (and trying to put them there
> only results in frustrations and 'bug reports' from people who think that
> the coalescing should be done differently).
>
> --
> Kevin P. Fleming
> Digium, Inc. | Director of Software Technologies
> Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at www.digium.com & www.asterisk.org
>
I understand there is no definition of a transfer CDR. That problem is the
transfer is not accounted for. For example party A calls party B, party B
answers, party B attended transfers to party C using a Polycom phone. I'm
assuming the Polycom phones just calls party C then uses a SIP REFER.
This scenario is common as we have a main line that everyone answers. They
answer, call the responsible party, announce the call, and transfer. The
CDR logs leave out that the call was transferred to party C.
If Asterisk just picked a format to log the transfer CDR that would be
acceptable. You could always quickly parse the CDR log into the format
needed. CEL provides way more information than needed and requires a more
complex parser not to mention data storage. For the last year I have 1GB of
CDR data in mySQL with 4.5 million rows. I'm guessing CEL would be 4-5
times this.
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120104/fd29d281/attachment.htm>
More information about the asterisk-dev
mailing list