Summary: | ASTERISK-00941: [patch] pass channel structure to cdr routines | ||
Reporter: | ww (ww) | Labels: | |
Date Opened: | 2004-01-28 20:12:36.000-0600 | Date Closed: | 2011-06-07 14:05:20 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cdr_pass_channel_app_dial.txt ( 1) cdr_pass_channel.txt | |
Description: | Right now, updating of CDRs is done by having a CDR structure and udating it. This means adding new things to put into the CDR is cumbersome since you have to add a new function each time. So instead, pass the ast_channel structure for the current channel so that ast_cdr_post can extract any other information from it that it wants. This also means that channel.c does not need to know what sort of things cdr.c might be interested so when a new channel attribute is added, only cdr.c must be modfied in order to be able to log it. | ||
Comments: | By: ww (ww) 2004-01-29 10:09:52.000-0600 app_dial also calls ast_cdr_reset so requires the just uploaded patch By: Olle Johansson (oej) 2004-03-23 11:55:57.000-0600 No action in this bug #. If you want to reopen, contact a bug marshal. |