Extend Prepaid Call Time without ending the bridged call

Extend Prepaid Call Time without ending the bridged call

Postby malchus » Mon Jan 06, 2014 7:00 am
Hi All,

I don’t have a lot of experience with Asterisk but what I’m trying to do is create a Dial plan which would allow the caller to extend his prepaid call time in a conversation.

The caller has for example a call limit of 20 minutes.As soon as those 20 minutes expire a message is prompted asking the caller to extend the call time by pressing a digit (in which case I ask for a PIN number which had previously been given to the caller with the first payment) or hang up.If the caller enters the right PIN number the call continues. The bridged call should not end unless any of the parties hangs up manually during the paid call time or the caller chooses not to extend the call at the end of the paid call time.

I’ve done some research but haven’t been able to find a way to do this.I understand what I’m asking is not included in the asterisk core but I’m looking for a way to achieve this. Anyone any ideas?

Thanks!