First, the customer summary information is accessed to determine the customer's usage, and then, based on that usage, a rate table is accessed to determine the rate for a call.
The rate is applied to the call detail record (CDR) at hand.