Hello,
I’m not aware of any application/function that implement what you need.
Asterisk can do this, with a little dialplan programming and with the help of a database:
identify the user through a pin or the caller id;
in the database search for the user to check the remaining minutes, put the value found in a dialplan variable, let’s call it MINSLEFT and multiply by 1000 to get the milliseconds;
calculate when you need to warn the user about the expiring of the time left, store this value in a variable called MINSWARN and multiply by 1000 to get the milliseconds;
use the Dial application to dial out and set its L parameter to set the maximum duration of the call and when to warn the user when the time left is expiring, L(${MINSLEFT}:${MINWARN}).
Someone has suggested the idea of prepaid calling cards… with a little bit of research I’m seeing there are solutions out there for that type of setup. Has anyone had experience with any of those that veer slightly towards this approach?