[asterisk-users] log to cdr each dialpan action, not only one record for each call

Steve Totaro stotaro at asteriskhelpdesk.com
Fri Mar 13 03:32:19 CDT 2009


On Thu, Mar 12, 2009 at 4:22 PM, BJ Weschke <bweschke at gmail.com> wrote:
> 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/
>>
>>
>>

Any chance of sharing?

I have several clients with complex IVRs.  They (I) would like to see
if there are logical or user loops, where people hang up to check for
complexity or pure frustration.

Sounds like your patch might help in this regard.

-- 
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)



More information about the asterisk-users mailing list