Fw: need help on accounting respond

2008-06-09 Thread Do Nguyen Ha
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-modelInteger  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`
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Fw: need help on accounting respond

2008-06-09 Thread Ivan Kalik
Wherever you keep user details - users file, sql, ldap, ...

Ivan Kalik
Kalik Informatika ISP


Dana 9/6/2008, Do Nguyen Ha [EMAIL PROTECTED] piše:

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-modelInteger  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`



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


need help on accounting respond

2008-06-09 Thread Do Nguyen Ha




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-modelInteger  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 [EMAIL PROTECTED]
Subject: Re: Fw: need help on accounting respond
To: FreeRadius users mailing list
freeradius-users@lists.freeradius.org
Message-ID: [EMAIL PROTECTED]
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` 


radius - with Accounting Request.pcap
Description: Binary data
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html