Prisoners in New Jersey correctional institutions who paid excessive rates for phone calls with loved ones will receive cash and account credits in a $25 million settlement of a class action suit in federal court with Global Tel Link Corp.

The agreement ends a suit filed more than seven years ago claiming that Global Tel Link charged inmates up to 100 times the market rate for phone calls. The suit claimed Global Tel Link, based in Mobile, Alabama, charged rates that were unconscionable and violated the New Jersey Consumer Fraud Act and the Fifth Amendment’s takings clause.