[Asterisk-Users] cdr enhancement with 'rate' column
Kevin P. Fleming
kpfleming at digium.com
Sat Nov 26 09:40:10 MST 2005
Innocent Evil wrote:
> 1. Add an option in Dial, Say R. to pass rate (price per minute) for the call
> to do that I will have to modify app_dial.c
> 2. Dial would use option R to set cdr
> 3. I will also need to add one more function in cdr.c, say something like ast_cdr_setrate(...)
None of this is necessary. CDRs can have variables (just like channels),
and the CDR posting module can place those variables into storage. Right
now only the cdr_csv_custom module knows how to do this, but adding that
functionality to cdr_addon_mysql would be relatively easy.
More information about the asterisk-users
mailing list