Carlos Ruiz Diaz has imported a new module in development branch of Kamailio – it is named cnxcc.
From the module documentation:
“This module was designed to act as a mechanism to limit call duration based on credit information parameters. After getting the credit information of the call being set up, you can instruct the module to start monitoring the consumed credit to shutdown a single call or a group of calls in case of credit exhaustion.”
You can read more about at:
The module can work with a web management interface, where you can review active calls in real time and hang them up if necessary.