[Asterisk-Users] Call Rate in CDR

Brian D Heaton bdheaton at c4i2.com
Sat Nov 8 20:15:01 MST 2003


John,

	The only thing that should be in the call data record (CDR) is data
about the call.  You want to do all your rating of calls in the billing
system.  That way you offload the additional processing to a batch
activity.  

	You have enough data in the CDR to combine it with data in the billing
system to generate bills and do P&L calculations (within certain limits
of course).

			THX/BDH

On Sat, 2003-11-08 at 16:08, John Brown (CV) wrote:
> 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/
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 




More information about the asterisk-users mailing list