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.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to