need help on accounting respond

Do Nguyen Ha hadn at fpt.net
Tue Jun 10 04:07:08 CEST 2008



> hi all
>
> i need help on account of freeradius
>
> Accounting Respond Message:
>
> AttributeID  Vendor ID Sub Attribute ID  Status   Attribute Name 
> Type       Value
> 26                  9              101                  O 
> h323-credit-amount  String      Customer balance at the  time of 
> authentication
> 26                  9              103                  M+ 
> h323-return-code      Integer      5
> 26                  9              109                  O 
> h323-billing-model    Integer      Type of billing service for a  specific 
> call:
> 
> 0 = credit customer (post-paid)
> 
> 1= debit card (prepaid)
> 
> 2= limited service (prepaid)
> 
> 3= limited service (postpaid)
> 26                  9              110                  O 
> h323-currency         String         Customer currency in the form of 
> 3-character value from ISO 4217 (e.g. USD)
>
>
> now i want freeradius reply to the client with Accounting Respond with the 
> structure of message above
>
> the M+ : is required
>
> where do i edit to make it works
>
>
>
> Thanks
>
> Ha`

> Message: 4
> Date: Mon, 09 Jun 2008 13:16:34 +0100
> From: "Ivan Kalik" <tnt at kalik.net>
> Subject: Re: Fw: need help on accounting respond
> To: "FreeRadius users mailing list"
> <freeradius-users at lists.freeradius.org>
> Message-ID: <ahvE3AEn.1213013794.6975800.tnt at kalik.co.yu>
> Content-Type: text/plain; charset=ISO-8859-2
>
> Wherever you keep user details - users file, sql, ldap, ...
>
> Ivan Kalik
> Kalik Informatika ISP
>
>


Hi IvanKalik

can you give me an example of it
i use MySQL, at this time only testing with some subscribers
the radacct table is now empty, what information should i put
could you give me an example of radacct table

i send attached file which is the sample of Accounting request

Thanks

Ha` 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radius - with Accounting Request.pcap
Type: application/octet-stream
Size: 3052 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080610/27c90c1b/attachment.obj>


More information about the Freeradius-Users mailing list