itn@itn.com.br
2005-Sep-05 01:27 UTC
[Asterisk-Users] Billing - Disable accounts when balance gets 0 value
Hi, I am Newton from Liguetel in Brazil. I have now a billing system based on SQLPostgress which is able to collect real time CDRs and present in a web site all the accounts and CDRs related to their calls. This billing is also able to set accounts balance and for each call. Now I need to disable accounts which balance gets a determined value. I was thinking on changing account pass for that specif account which we need to disable. And then in the sip.com reload info. Can you help me with new (new ways for doing so) or programing ideas too once billing server has not the same public IP than Asterisk server. I ll appreciate your comments ok. Kind Regards Newton
Simone Cittadini
2005-Sep-05 01:54 UTC
[Asterisk-Users] Billing - Disable accounts when balance gets 0 value
>This billing is also able to set accounts balance and for each call. Now I >need to disable accounts which balance gets a determined value. I was >thinking on changing account pass for that specif account which we need to >disable. And then in the sip.com reload info. > >Can you help me with new (new ways for doing so) or programing ideas too >once billing server has not the same public IP than Asterisk server. I ll >appreciate your comments ok. > > >I use ser+radius to do authentication, this way I can disable users or groups of users in a "standard" way, without using tricks like changing passwords. (when your customer pays he expect to have the same password as before, have you saved it ? where ? in a safe way ?) radius has a mysql backend, so also no need to reload config files. Asterisk and radius share the same db, with some not-too-complex agi before the actual Dial you can do stuff like setting the call timeout based on the remaining credit, blocking the call if the credit is too much in the red, and so on...
itn@itn.com.br
2005-Sep-07 06:52 UTC
RES: [Asterisk-Users] Billing - Disable accounts when balance gets0 value
mymailforlists@gmail.com Simoni, Thank you for your copersation. If you need routes in Brazil I have very high quality ones ok... Atenciosamente Reduzimos ao m?nimo a sua conta de Telefone Liguetel - ITN Info - 15 anos em Telecomunica??es Diretoria Comercial - Newton Medina PABX 11.3891.2434 Fax 11.38980112 msn itn@itn.com.br Rua Augusta 2.212 SL 26 Jardins 01412001 S?o Paulo - Brasil Visite a Loja www.liguetel.com.br ou www.liguetel.com e conhe?a produtos e servi?os para reduzir definitivamente a sua conta de telefone. -----Mensagem original----- De: itncom@dual.itmd.com.br [mailto:itncom@dual.itmd.com.br] Em nome de Simone Cittadini Enviada em: segunda-feira, 5 de setembro de 2005 05:54 Para: Asterisk Users Mailing List - Non-Commercial Discussion Assunto: Re: [Asterisk-Users] Billing - Disable accounts when balance gets0 value>This billing is also able to set accounts balance and for each call.Now I>need to disable accounts which balance gets a determined value. I was >thinking on changing account pass for that specif account which we needto>disable. And then in the sip.com reload info. > >Can you help me with new (new ways for doing so) or programing ideastoo>once billing server has not the same public IP than Asterisk server. Ill>appreciate your comments ok. > > >I use ser+radius to do authentication, this way I can disable users or groups of users in a "standard" way, without using tricks like changing passwords. (when your customer pays he expect to have the same password as before, have you saved it ? where ? in a safe way ?) radius has a mysql backend, so also no need to reload config files. Asterisk and radius share the same db, with some not-too-complex agi before the actual Dial you can do stuff like setting the call timeout based on the remaining credit, blocking the call if the credit is too much in the red, and so on... _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 2/9/2005