(RADIATOR) Re: prepaid: negative value in timebalance

Hugh Irvine hugh at open.com.au
Fri Jul 23 23:18:24 CDT 2004


Hello Jafaar -

You should probably keep a copy of the Timestamp when you decrement the 
TIMELEFT column and check it to make sure you have not already 
performed the subtraction when processing a duplicate.

regards

Hugh


On 23 Jul 2004, at 18:04, Jaafar Bin Sarim wrote:

> Hello Hugh
>
> How are you doing?
>
> just a question regarding prepaid;
> Since the accounting STOP packet is used for prepaid, what do you 
> suggest
> if there is retransmission of STOP packets ?
>
> Thank you
>
>
> Best Regards
> Jaafar Sarim
>
> On Thu, 6 May 2004, Hugh Irvine wrote:
>
>>
>> Hello Jaafar Sarim -
>>
>> I don't think there is any fix, as presumably Radiator is simply doing
>> a subtraction based on the accounting stops?
>>
>> What exactly is the problem? And as usual a copy of the configuration
>> file and a trace 4 debug are essential to understand what is 
>> happening.
>>
>> regards
>>
>> Hugh
>>
>>
>> On 6 May 2004, at 14:15, Jaafar Bin Sarim wrote:
>>
>>> Hello Hugh
>>>
>>> When user's prepaid card has reached zero value, any login attempts
>>> that follows (got rejected of course), the TIMEBALANCE field is 
>>> updated
>>> with a negative value.
>>>
>>> Is there any fix ?
>>>
>>> Thank you.
>>>
>>>
>>> Example:
>>> NAME        STATUS 	TIMEBALANCE
>>> ----------  ------	-----------
>>> 00000270    E       	-2922   <----------- negative value
>>> 00000450    A            3000
>>>
>>>
>>>
>>> Best Regards
>>> Jaafar Sarim
>>>
>>>
>>
>> NB: have you included a copy of your configuration file (no secrets),
>> together with a trace 4 debug showing what is happening?
>>
>> -- 
>> Radiator: the most portable, flexible and configurable RADIUS server
>> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
>> -
>> Nets: internetwork inventory and management - graphical, extensible,
>> flexible with hardware, software, platform and database independence.
>> -
>> CATool: Private Certificate Authority for Unix and Unix-like systems.
>>
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list