[asterisk-users] CDR Rewrite -- Questions to the users

Grey Man greymanvoip at gmail.com
Fri Jan 16 21:52:27 CST 2009


On Sat, Jan 17, 2009 at 3:08 AM, Steve Murphy <murf at digium.com> wrote:
> Greyman--
>
> I've been thinking of Benny Amorsen's comments on Simple CDRs...
>
>
>> This is tricky... I need to create these CDR's for the billing system:
>>
>> src: A  start: e1  ans: e2  end: e6   dst: B  disp: ANSW
>> src: A  start: e4  ans: e5  end: e6   dst: B  disp: ANSW
>>
>> If I do the same substitution again, I get this:
>>
>> A->B start: e1 ans: e2 end: e4. Whoops, end time is wrong.
>> A->C start: e1 ans: e5 end: e4. Whoops, both start and end times are
>> wrong.
>>
>> CDR2 needs to find e1 so it can replace start, while CDR3 shouldn't
>> have anything replaced. I can't think of a query which will do this
>> correctly.
>
> Do you have any ideas that might make this work for him?
> I guess simple CDR's won't work for everyone, but... if they
> could work in this case....
>



More information about the asterisk-users mailing list