If you want to rate CDRs automatically then please follow below steps:
1) Enable CDR ReRate against the billing gateway and select Rate Format
2) Assign Rates to the Account