[Asterisk-Users] cdr enhancement with 'rate' column

Innocent Evil innocent.evil at inbox.com
Sun Nov 27 00:26:57 MST 2005


> 
>> 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.


Would you please give me little more clue.
Well, I want this functionality to cdr_addon_mysql

Thanks,


More information about the asterisk-users mailing list