Patent ID: 7965996

Claim:
A computer program product embodied on a non-transitory computer readable medium, comprising: computer code for identifying a first electronic message corresponding to a session; computer code for associating an identifier of the session with the first electronic message by including the identifier of the session in a first call detail record specific to the first electronic message; computer code for identifying a last electronic message corresponding to the session; computer code for associating the identifier of the session with the last electronic message by including the identifier of the session in a second call detail record specific to the last electronic message; computer code for determining a time period between the first electronic message and the last electronic message by: identifying from the first call detail record specific to the first electronic message a first time associated with the first electronic message; identifying from the second call detail record specific to the last electronic message a second time associated with the last electronic message; and calculating the time period as a difference between the first time and the second time; and computer code for calculating a rate associated with the first electronic message, based on the time period; wherein the computer program product is operable such that the last electronic message is identified based on a determination that a predetermined type of electronic message associated with the session has been sent, the predetermined type of electronic message including at least one of an electronic message terminating the session and an electronic message closing the session for a particular device.