Patent ID: 6847707

Claim:
An apparatus for calculating communication charges between carriers from a call detail record generated as a result of a communication via a plurality of communication facilities of a plurality of carriers, the call detail record comprising a plurality of pairs of carrier code and carrier identification code, wherein the carrier code identifies a carrier, and the carrier identification code identifies a carrier based on communication facilities the carrier provides, the apparatus comprising: a first storage section for storing a record comprising a carrier code, a carrier identification code, and a carrier type code determined from the carrier code and the carrier identification code; a second storage section for storing a record comprising a code sequence of a plurality of carrier type codes, and a plane expressing a pair of carrier type code of a billing carrier billing communication charge and carrier type code of a billed carrier billed by the billing carrier; a first extracting section for extracting the carrier type code from the first storage section on the basis of each of the pairs of carrier code and carrier identification code included in the call detail record; a second extracting section for extracting the plane from the second storage section on the basis of a code sequence of the carrier type code extracted by the first extraction section; and a calculating section for calculating a communication charge between the carriers corresponding to the plane extracted by the second extracting section.