On Tue, May 20, 2008 at 10:47:12PM +0200, Andreas Granig wrote: > There is already an application which does exactly that, see sw_prepaid_sip.
Hi Andreas, I've checked sw_prepaid_sip and I don't see that it takes into account multiples concurrent calls from the same UUID user, so it will not work on that situation. Also credit it's only substracted on call termination and not during call duration, that leave you in a situation that if you have 2 calls that are going to PSTN but on different start times, both will get the maximum 'seconds' of credit, not taking into account that there are 2 concurrent calls, so credit would last less. I think that I'll have to use cc_acc_xmlrpc, develop a xmlrpc control daemon that decrease credit of concurrent calls and look for a way to send back to sw_prepaid_sip an AmEvent of credit timeout. Best regards. -- Raúl Alexis Betancor Santana Dimensión Virtual S.L. _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
