Need help on Acocunting Respond

Do Nguyen Ha hadn at fpt.net
Thu Dec 11 12:00:24 CET 2008


Hi all

i use the FreeRadius to work with Cisco Softswitch SIP Server
i follow the instruction:
http://freeradius.org/radiusd/man/rlm_attr_filter.html
preacct
Filters Accounting-Request packets. 
accounting
Filters Accounting-Response packets. 

i edit the following file :
    site-enable/default :
        #  Filter attributes from the accounting response.
        #attr_filter.accounting_response
    preprocess :   with_cisco_vsa_hack = yes
    acct_users :   
        DEFAULT
            User-Name := "%{Stripped-User-Name:-%{User-Name}}",
            h323-return-code := "h323-return-code=0"


the problem i got in the Accounting respond :
Sending Accounting-Response of id 139 to 172.26.0.8 port 1645
        User-Name := "0873000001"
        h323-return-code := "h323-return-code=0"
how do i run the sql query or do something to get the h323-return-code in the Accounting Request


Thanks
Ha`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081211/5f436210/attachment.html>


More information about the Freeradius-Users mailing list