In article <[EMAIL PROTECTED]>, Senad Jordanovic <[EMAIL PROTECTED]> wrote: > The way we solved this is: > > 1/ Each account has incoming/outgoing channels > 2/ Once call is started then the total balance is divided by number of > outgoing channels for that account. This sets the time limit. > 3/ If more calls are made then each new call has same absolute timeout. > > Above is not perfect, since we are limiting each call to less talk time then > total balance allows, hence why we are currently > looking into possibility in changing the value of absolute timeout in memory > for each of the calls.
The other situation to take account of is when the caller somehow adds to his prepaid balance while he has one or more calls in progress, in order to avoid being cut off during the call. Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
