So what do people think about adding the "call rate" to the CDR
structure??

This would allow you to detail a call with the rate that was
in affect for that call.  When you come back later and do
the billing for the customer you would have the actual per min
rate in the record.

I think this solves an issue when you have changing rates and
multiple providers.  If one provider is down, and you use
a back up you can track the "rate" better.

In fact as I type this, I think we should have

cost_rate   the rate you where charged for this call
cust_rate   the rate you charge your customer for this call



or is their a better way to do this.


john brown, ceo chagres technologies, inc (US) chagres technologies, BV (EMEA) opening soon Providers of VoIP hardware http://www.chagres.net/products/voip/


This is already more-or-less supported with the custom variable fields in the CDR, and is awaiting integration into CVS. There are two versions of the patch: one that has multiple custom fields, and the second version that has only one field, into which you'll need to create your own separators (uuuuugly, but for some reason that was what was decided upon as the final version.)


See http://bugs.digium.com/bug_view_page.php?bug_id=0000442

JT
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to