[Serusers] Problem with ser-radius accounting

Greger V. Teigre greger at teigre.com
Wed Nov 29 11:28:22 CET 2006


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 at xxx.pt"
>
>         Calling-Station-Id = "sip:211069021 at xxx.pt"
>
>         Called-Station-Id = "sip:0969830612 at xx.pt"
>
>         Sip-Translated-Request-URI = "sip:09643243612 at 22.18.31.10"
>
>         Acct-Session-Id = 
> "597816CF-EFCF-4AD8-B61D-F34301FE0B1B at 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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061129/7df417e1/attachment.htm>


More information about the sr-users mailing list