[Asterisk-Users] Re: billing realtime

Senad Jordanovic senad at bicom.us
Wed Apr 26 01:43:08 MST 2006


asterisk-users-bounces at lists.digium.com wrote:
> In article <IFECLJEGMECKABGMJMPCOEJKEMAA.senad at bicom.us>,
> Senad Jordanovic <senad at bicom.us> 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.

Noted!!! Thanks :)

Senad




More information about the asterisk-users mailing list