[Serusers] Ser2 and radius - Accounting request doesn't send User-Name Attribute
tzieleniewski
tzieleniewski at o2.pl
Mon Mar 12 14:57:26 CET 2007
Hi,
I am using radius for accounting and I have the following problem that whenever SER sends an Accounting message to Radius which contains the Acct-Status-Type = Start it doesn't send the User-Name attribute.
Strange is that the User-Name is send with the massage with Acct-Status-Type = Stop.
This disables radius to perform the correct accounting statistics because radius is unable to map the start and end of the session.
Can it be somehow enabled in ser to send User-Name parameter in the first message?
Below is an example of such two corresponding accounting messages:
Mon Mar 12 14:46:17 2007
SER-Attr = ""
Acct-Session-Id = "9e6a674c-0fcf-db11-94ea-00148539376e at sen"
Sip-To-Tag = "36974326"
SER-From = "\"Sen Server\" <sip:tzl at voip.touk.pl>;tag=406e674c-0fcf-db11-94ea-00148539376e"
SER-Flags = 8
SER-Original-Request-ID = "sip:110 at voip.touk.pl"
Sip-Method = "INVITE"
Sip-Cseq = 2
Sip-Translated-Request-ID = "sip:hellboy at 192.168.0.105:7060"
Sip-Source-IP-Address = 192.168.0.165
Sip-From-Tag = "406e674c-0fcf-db11-94ea-00148539376e"
SER-To = "<sip:110 at voip.touk.pl>;tag=36974326"
SER-Digest-Username = "tzl"
SER-Request-Timestamp = 1173707170
Calling-Station-Id = "sip:tzl at voip.touk.pl"
Sip-Source-Port = 5067
SER-Digest-Realm = "voip.touk.pl"
Sip-Response-Code = 200
Called-Station-Id = "sip:110 at voip.touk.pl"
SER-Response-Timestamp = 1173707177
Acct-Status-Type = Start
Service-Type = IAPP-Register
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 127.0.0.1
Acct-Unique-Session-Id = "16bd1ddc2a514fa0"
Timestamp = 1173707177
Mon Mar 12 14:47:10 2007
SER-Attr = ""
Acct-Session-Id = "9e6a674c-0fcf-db11-94ea-00148539376e at sen"
Sip-To-Tag = "36974326"
SER-From = "\"Sen Server\" <sip:tzl at voip.touk.pl>;tag=406e674c-0fcf-db11-94ea-00148539376e"
SER-Flags = 8
SER-Original-Request-ID = "sip:hellboy at 192.168.0.105:7060"
Sip-Method = "BYE"
Sip-Cseq = 4
Sip-Translated-Request-ID = "sip:hellboy at 192.168.0.105:7060"
Sip-Source-IP-Address = 192.168.0.165
Sip-From-Tag = "406e674c-0fcf-db11-94ea-00148539376e"
SER-To = "<sip:110 at voip.touk.pl>;tag=36974326"
SER-Request-Timestamp = 1173707230
Calling-Station-Id = "sip:tzl at voip.touk.pl"
Sip-Source-Port = 5067
Sip-Response-Code = 200
Called-Station-Id = "sip:110 at voip.touk.pl"
SER-Response-Timestamp = 1173707230
Acct-Status-Type = Stop
Service-Type = IAPP-Register
User-Name = "tzl at voip.touk.pl"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 127.0.0.1
Acct-Unique-Session-Id = "4a9f1334616db4a4"
Stripped-User-Name = "tzl"
Realm = "voip.touk.pl"
Timestamp = 1173707230
More information about the sr-users
mailing list