Lokesh,
You need to have the same dictionary for the server and the client.
radiusclient-ng is the client library used as ser client and freeradius
is the server.
radiusclient.conf is used to configure the client library.
g-)
Lokesh Kumar wrote:
Hello,
I got problem with the radius accounting, I am getting accounting
packets but they doesn’t mention start or stop time of call rather all
the time saying Acct-Status-Type = Failed
Here is one packet
Tue Nov 21 17:34:58 2006
Acct-Status-Type = Failed
Service-Type = IAPP-AP-Check
Sip-Response-Code = 487
Sip-Method = 1
User-Name = "211069021(a)xxx.pt"
Calling-Station-Id = "sip:211069021@xxx.pt"
Called-Station-Id = "sip:0969830612@xx.pt"
Sip-Translated-Request-URI = "sip:09643243612@22.18.31.10"
Acct-Session-Id =
"597816CF-EFCF-4AD8-B61D-F34301FE0B1B(a)192.168.0.47"
Sip-To-Tag = "38CA5520-DF9"
Sip-From-Tag = "26232679627249"
Sip-Cseq = "2"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 127.0.0.1
Client-IP-Address = 127.0.0.1
Acct-Unique-Session-Id = "d26959cb062c7786"
Timestamp = 1164130498
I looked into the dictionary.ser which is present in
/usr/local/etc/ser/dictionary.ser and that dictionary had commented
out start and stop attributes. If I uncomment them and comment Failed
attribute then ser gets crashed.
According to ser-radius how to… .. there should be a dictionary.ser
file in /usr/local/etc/radiusclient-ng/ directory, but I tried
different versions of radiusclient-ng.. it doesn’t come with any of
the version, though documents mention it comes with radiusclient-ng
library.
Though I tried many options with the dictionary.ser file by including
it in radiusclient-ng and in freeradius server, but no success.
I followed exactly the ser-radius how to but no luck . infact tried
with many other probable configure options but it is just not getting
solved.
I am using ser-0.9.6 version
Please help
I will be very thank full
Lokesh
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/543 - Release Date:
11/20/2006
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers