[Asterisk-Users] Re: billing realtime

2006-04-26 Thread Tony Mountifield
In article [EMAIL PROTECTED], Darren Wiebe [EMAIL PROTECTED] wrote: 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. This is exactly the problem I am trying to solve

[Asterisk-Users] Re: billing realtime

2006-04-26 Thread Tony Mountifield
In article [EMAIL PROTECTED], Senad Jordanovic [EMAIL PROTECTED] 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

RE: [Asterisk-Users] Re: billing realtime

2006-04-26 Thread Senad Jordanovic
[EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Senad Jordanovic [EMAIL PROTECTED] 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

Re: [Asterisk-Users] Re: billing realtime

2006-04-26 Thread Jon Farmer
Tony Mountifield wrote: 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. Yes, this is a issue that needs to be considered. Also each call might be on a

[Asterisk-Users] Re: billing realtime

2006-04-26 Thread Tony Mountifield
In article [EMAIL PROTECTED], Jon Farmer [EMAIL PROTECTED] wrote: Tony Mountifield wrote: 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. Yes, this

Re: [Asterisk-Users] Re: billing realtime

2006-04-26 Thread Jon Farmer
Won't the called party hear the warning as well if you do that? Jon FarmerTelford, Shropshire, UK - Original Message From: Tony Mountifield [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Wednesday, 26 April, 2006 3:08:18 PM Subject: [Asterisk-Users] Re: billing realtime

[Asterisk-Users] Re: billing realtime

2006-04-26 Thread Tony Mountifield
In article [EMAIL PROTECTED], Jon Farmer [EMAIL PROTECTED] wrote: Won't the called party hear the warning as well if you do that? Yes, you're right. If you don't want the called party to hear the warning, just redirect the caller to the announcing extension, and allow the called party to hangup