[Mac-telephony-list] CDR's
Jerry via List
mac-telephony-list at mactelephony.net
Fri Dec 22 01:40:36 JST 2006
> Did anyone ever try to do something usefull with cdr's from asterisk?
>
> I need to work out a system to spit up bills but It looks like
> something that is not done in two seconds.
> To start with all calls seem to be there twice. once in once out.
This depends on your dialplan, I'm pretty sure. I believe each leg of a
call gets it's own CDR, depending on how your dialplan is set up.
The CDR tracks call start, billing start, and call/billing end. The first
time/date is when you complete dialling and the call is setup. It then
records when the far side reports "answered", which is traditionally when
you start paying for toll calls. The CDR records both pieces, though --
time the system is "busy" with your call, plus the time you are being
charged.
There are lots of CDR parsing utils around. Are you looking for something
MacOS, or just something to print a report? I should have a few bash
scripts which spit out basic reports.
J.
More information about the mac-telephony-list
mailing list