Re: Calls Online

James B. Hrdy ( (no email) )
Thu, 12 Mar 1998 16:10:18 +0000

And I found some else out this statement should be an insert to the calls,

I see inserted stop records, but no start records,

> > SQL Statement: UPDATE CallsOnline Set AcctStatusType=2, CallDate=Now()
> > WHERE NA
> > SIdentifier='208.238.9.2'

> James B. Hrdy wrote:
> >
> > However, when a user is authenticated it will give the following,
> >
> > Resp Time: 311 Auth: 3/0 -> 3 Acct: 4/0/0 -> 4
> > radrecv: Request from host d0ee0902 code=4, id=76, length=91
> > User-Name = "tristate"
> > NAS-Identifier = 208.238.9.2
> > NAS-Port = 20112
> > NAS-Port-Type = Async
> > Acct-Status-Type = Start
> > Acct-Delay-Time = 0
> > Acct-Session-Id = 842348345
> > Acct-Authentic = RADIUS
> > Framed-Protocol = PPP
> > Framed-Address = 208.238.9.52
> >
> > SQL Statement: UPDATE CallsOnline Set AcctStatusType=2, CallDate=Now() WHERE NA
> > SIdentifier='208.238.9.2'
> >
> > Shouldnt the Set AcctStatus Type=2 be 1 (for a start) ?
>
> What is happening here is that RadiusNT is mis-interpreting the
> Acct-Session-ID as a reset. I believe the reason why its doing
> that is because Acct-Session-ID is a STRING, not an int. The
> debug from 2.2.41 shows strings in quotes, and yours is not.
> Here is an example from a start record:
>
> radrecv: Request from host 7f000001 code=4, id=2, length=57
> NAS-Identifier = 127.0.0.1
> NAS-Port = 0
> User-Name = "tristate"
> Acct-Session-Id = "1705542"
> Acct-Status-Type = Start
>
> You should check your dictionary types in your database and make
> sure they are correct.
>
> --
> Dale E. Reed Jr. (daler@iea-software.com)
> _________________________________________________________________
> IEA Software, Inc. | RadiusNT, Emerald, and NT FAQs
> Internet Solutions for Today | http://www.iea-software.com
>
> ----------------------------------------------------------
> RadiusNT Mailing List lists@iea-software.com
>
>

James B. Hrdy
email: jhrdy@greensoft.com
web: http://www.greensoft.com/billing
GreenSoft Solutions, Inc.
Voice: 785.843.8683 ext 203
1617 St. Andrews Drive Suite 212
Fax: 785.840.0055
Lawrence, Ks.
United States of America