RE: [Asterisk-Users] billing realtime

2006-05-03 Thread Senad Jordanovic
[EMAIL PROTECTED] wrote: Hi Senad i looking for same thing, that is consider absolutetimeout as a timer, everytime is near t zero, 3 secs for example, renew it, reacalculate real credit, and start again until some of the parties hangup. The problem is how to iterate in asterisk

Re: [Asterisk-Users] billing realtime

2006-05-02 Thread Dovid Bender
How about AstRTB ? Asterisk Real Time Billing --- Thameem Ansari [EMAIL PROTECTED] wrote: Hello All, I had the same question when I was writing my own billing software in java. Here is what I am doing to track multiple calls at a time from the prepaid account. 1. Keep on db table for

Re: [Asterisk-Users] billing realtime

2006-05-01 Thread Thameem Ansari
Hello All, I had the same question when I was writing my own billing software in java. Here is what I am doing to track multiple calls at a time from the prepaid account. 1. Keep on db table for balance and reserver_balance. 2. First call coming to agi, check the balance - Sum of all the

Re: [Asterisk-Users] billing realtime

2006-04-27 Thread Dovid Bender
JP Carballo wrote: Yes, certainly, through deadagi. I just have one question though, why reinvent the wheel? There are prepaid systems that work with asterisk. I have yet to find a prepaid system that allows multiple concurrent calls per account. Most seem to be based on a pin

Re: [Asterisk-Users] billing realtime

2006-04-27 Thread JP Carballo
Dovid Bender wrote: A while back some one posted some code that he used that took out the flag in astcc that kept track if there was a call in progress for that pin or not. Dont know if it wil work for real time though. Dovid I don't know if you were pertaining to what I posted in the

Re: [Asterisk-Users] billing realtime

2006-04-26 Thread JP Carballo
random cluster wrote: Now, the question, can I access somehow in a deadagi, or whatever the CDR function in order to update the credit when the call has just finished. Yes, certainly, through deadagi. I just have one question though, why reinvent the wheel? There are prepaid

Re: [Asterisk-Users] billing realtime

2006-04-26 Thread Jon Farmer
JP Carballo wrote: Yes, certainly, through deadagi. I just have one question though, why reinvent the wheel? There are prepaid systems that work with asterisk. I have yet to find a prepaid system that allows multiple concurrent calls per account. Most seem to be based on a pin number also

Re: [Asterisk-Users] billing realtime

2006-04-26 Thread Darren Wiebe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon, we can do that using ASTPP. The downside is that we don't currently have a way to limit the call lengths so that when they have multiple calls in progress they still can't go over their prepaid limit. On postpaid accounts this is not usually an

Re: [Asterisk-Users] billing realtime

2006-04-26 Thread Nick Hoffman
On Wed April 26 2006 16:31, Jon Farmer [EMAIL PROTECTED] wrote: JP Carballo wrote: Yes, certainly, through deadagi. I just have one question though, why reinvent the wheel? There are prepaid systems that work with asterisk. I have yet to find a prepaid system that allows multiple

Re: [Asterisk-Users] billing realtime

2006-04-26 Thread JP Carballo
Nick Hoffman wrote: Hi Jon. If a customer has 10 minutes of call credit left and he makes 2 concurrent calls, how do you know to cut off the 2 calls at the 5 minute mark rather than cut off both calls after 10 minutes? -- Nick e: [EMAIL PROTECTED] p: +61 7 5591 3588 f: +61 7 5591 6588 If you

RE: [Asterisk-Users] billing realtime

2006-04-26 Thread Senad Jordanovic
[EMAIL PROTECTED] wrote: On Wed April 26 2006 16:31, Jon Farmer [EMAIL PROTECTED] wrote: JP Carballo wrote: Yes, certainly, through deadagi. I just have one question though, why reinvent the wheel? There are prepaid systems that work with asterisk. I have yet to find a prepaid system that

Re: [Asterisk-Users] billing realtime

2006-04-26 Thread random cluster
Hi Senad i looking for same thing, that is consider absolutetimeout as a timer, everytime is near t zero, 3 secs for example, renew it, reacalculate real credit, and start again until some of the parties hangup. The problem is how to iterate in asterisk config, or in deadagi, you will

Re: [Asterisk-Users] billing realtime

2006-04-26 Thread Jon Farmer
Nick Hoffman wrote: Hi Jon. If a customer has 10 minutes of call credit left and he makes 2 concurrent calls, how do you know to cut off the 2 calls at the 5 minute mark rather than cut off both calls after 10 minutes? That is the problem I am asking about :-) -- Jon Farmer Telford,

RE: [Asterisk-Users] billing realtime

2006-04-26 Thread Josh McAllister
: Wednesday, April 26, 2006 7:27 AM To: [EMAIL PROTECTED] Cc: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] billing realtime Nick Hoffman wrote: Hi Jon. If a customer has 10 minutes of call credit left and he makes 2 concurrent calls, how do you know to cut off the 2 calls

[Asterisk-Users] billing realtime

2006-04-25 Thread random cluster
Hi all I think this could be en old question. I would like to do a realtime billing prepaid system, mainly using asterisk. I have found few things; I can not get CDR function into agi because asterisk set them once the call is absolutely finish (at least main values