[Asterisk-Users] Prepaid function with MySQL

Stig Thune stig.thune at telecoms-resources.no
Mon Sep 27 08:56:49 MST 2004


----- Original Message ----- 
From: "William Suffill" <william.suffill at gmail.com>

> checking every 3 mins would possibly mean they could go over by 2 mins
> or so from there balance. The idea is interesting but if you bill per
> min I'd checked it as such vs 3 mins since you leave a gap of time
> unchecked. The other option is if account has less than 3 mins at time
> of check you drop the call there instead of letting it go for another
> 3 where it would be in neg.
>

Of course, the best would be to monitor the call.. counting down the
seconds.
But that would lead to great deal of processing...
Going to test out this, and report..
http://www.voip-info.org/tiki-index.php?page=Asterisk+bounty+callingcard+to+MySQL

/ Stig Henning




More information about the asterisk-users mailing list