A policy based framework for real time charging in next generation networks