[Serdev] radius account multiple start message

Maxim Sobolev sobomax at portaone.com
Tue Mar 15 10:56:33 UTC 2005


You need to use transaction stateful processing (t_newtran() and 
friends) to get rid of those dupes.

-Maxim

Raymond Chen wrote:
>  
> 
> Dear all, 
> 
>  
> 
> Does anyone know why acc radius accounting sends two start message to 
> radius server?
> 
>  
> 
> Ready to process requests.
> 
> rad_recv: Accounting-Request packet from host 203.88.192.42:32848, 
> id=244, length=274
> 
>         Acct-Status-Type = Start
> 
>         Service-Type = IAPP-Register
> 
>         Sip-Response-Code = 200
> 
>         Error-Cause = Invite
> 
>         User-Name = "xxxxxxxxxx at xxxxxxxx"
> 
>         Calling-Station-Id = "sip:xxxxxxxxxxxx at xxxxxxxxx"
> 
>         Called-Station-Id = "sip:xxxxxxxxx at xxxxxxxxxx"
> 
>         Sip-Translated-Request-URI = "sip:xxxxxxxxxxxx at xxxxxxxxxx:5060"
> 
>         Acct-Session-Id = 
> "4206B172-1E53-4C1A-ACFB-3DD8EBC1F7E8 at xxxxxxxxxxxx"
> 
>         Sip-To-Tag = "237A3818-260E"
> 
>         Sip-From-Tag = "3683941213"
> 
>         Sip-CSeq = "23911"
> 
>         NAS-IP-Address = xxxxxxxxxxxxx
> 
>         NAS-Port = 5060
> 
>         Acct-Delay-Time = 0
> 
>  
> 
> rad_recv: Accounting-Request packet from host 203.88.192.42:32848, 
> id=245, length=274
> 
>         Acct-Status-Type = Start
> 
>         Service-Type = IAPP-Register
> 
>         Sip-Response-Code = 200
> 
>         Error-Cause = Bye
> 
>         User-Name = "862061241200 at xxxxxxx"
> 
>         Calling-Station-Id = "sip:xxxxxxxx at xxxxxxx"
> 
>         Called-Station-Id = "sip:xxxxxxxxx at xxxxxxxx"
> 
>         Sip-Translated-Request-URI = "sip:xxxxxxxxxx at xxxxxxxxxxxx:5060"
> 
>         Acct-Session-Id = "4206B172-1E53-4C1A-ACFB-3DD8EBC1F7E8 at xxxxxxxxxxx"
> 
>         Sip-To-Tag = "237A3818-260E"
> 
>         Sip-From-Tag = "3683941213"
> 
>         Sip-CSeq = "23911"
> 
>         NAS-IP-Address = xxxxxxxxxxxx
> 
>         NAS-Port = 5060
> 
>         Acct-Delay-Time = 0
> 
>  
> 
> rad_recv: Accounting-Request packet from host 203.88.192.42:32848, 
> id=246, length=264
> 
>         Acct-Status-Type = Stop
> 
>         Service-Type = IAPP-Register
> 
>         Sip-Response-Code = 200
> 
>         Error-Cause = 8
> 
>         User-Name = "xxxxxxxxxxx at xxxxxxxxxxxx"
> 
>         Calling-Station-Id = "sip:xxxxxxxxxxxxx at xxxxxxxxxxx"
> 
>         Called-Station-Id = "sip:xxxxxxxxx at xxxxxxxxxx"
> 
>         Sip-Translated-Request-URI = "sip:862061241200 at xxxxxxxxxxx:5060"
> 
>         Acct-Session-Id = "4206B172-1E53-4C1A-ACFB-3DD8EBC1F7E8 at xxxxxxxxxxx"
> 
>         Sip-To-Tag = "3683941213"
> 
>         Sip-From-Tag = "237A3818-260E"
> 
>         Sip-CSeq = "101"
> 
>         NAS-IP-Address = xxxxxxxxxx
> 
>         NAS-Port = 5060
> 
>         Acct-Delay-Time = 0
> 
> .
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev




More information about the Serdev mailing list