[Serusers] SER+Radius Accounting Not Working

Bruno Lopes F. Cabral bruno at openline.com.br
Thu Dec 30 21:45:26 CET 2004


Hi there

can you please post me a
grep Bye /etc/radiusclient/dictionary
you're using? I wish to know why your log
shows somewhat different than mine, which
you can see in this thread, here:

http://lists.iptel.org/pipermail/serusers/2004-November/013175.html

please take a look on it (just 3 messages)
to see if it helps on what you're facing.

I managed to get double Starts and single
Stops, but not much more.

Cheers
!3runo

P.S. BTW, are you using 0.8.14 or other SER version?

Lucas Aimaretto wrote:
> Hi list. I have this problem. There's something that's not working,
> because, when ever I set up a call, I receive both messages INVITE and
> BYE instantly. I think the correct way would it be to send Start
> messages (Acct-Status-Type = Start) upon INVITEs and Stop messages
> (Acct-Status-Type = Stop) upon BYEs. But this is not happening. Look ...
> 
> radrecv: Accounting Request from host c0a801fd code=4, id=205,
> length=270
>     Acct-Status-Type = Start
>     Service-Type = Sip-Session
>     Sip-Response-Code = 200
>     Sip-Method = Invite
>     User-Name = "1992001 at 192.168.1.253"
>     Calling-Station-Id = "sip:1992001 at 192.168.1.253:5060;user=phone"
>     Called-Station-Id = "sip:1992005 at 192.168.1.253:5060;user=phone"
>     Sip-Translated-Request-URI = "sip:1992005 at 192.168.1.178:11005"
>     Acct-Session-Id = "6dfb6640367b1ab7 at 192.168.1.113"
>     Sip-To-Tag = "54061171"
>     Sip-From-Tag = "39eeac148f846cb9"
>     Sip-CSeq = "1544"
>     NAS-IP-Address = 192.168.1.253
>     NAS-Port-Id = 5060
>     Acct-Delay-Time = 0
> Sending Accounting Ack of id 205 to c0a801fd (nas linux)
> 
> radrecv: Accounting Request from host c0a801fd code=4, id=206,
> length=270
>     Acct-Status-Type = Start
>     Service-Type = Sip-Session
>     Sip-Response-Code = 200
>     Sip-Method = Bye
>     User-Name = "1992001 at 192.168.1.253"
>     Calling-Station-Id = "sip:1992001 at 192.168.1.253:5060;user=phone"
>     Called-Station-Id = "sip:1992005 at 192.168.1.253:5060;user=phone"
>     Sip-Translated-Request-URI = "sip:1992005 at 192.168.1.178:11005"
>     Acct-Session-Id = "6dfb6640367b1ab7 at 192.168.1.113"
>     Sip-To-Tag = "54061171"
>     Sip-From-Tag = "39eeac148f846cb9"
>     Sip-CSeq = "1544"
>     NAS-IP-Address = 192.168.1.253
>     NAS-Port-Id = 5060
>     Acct-Delay-Time = 0
> Sending Accounting Ack of id 206 to c0a801fd (nas linux)
> 
> Do you see? ...Both outputs show an Acct-Status-Type = Start, but first
> output refers to an INVITE and second output refers to BYE message. And
> the strange thing is that both messages arrive instantly, as soon as the
> peer answers the phone. Why??? I don't think this is correct, isn't it?




More information about the sr-users mailing list