[EMAIL PROTECTED] wrote:
> I'm trying to write my own module and come into some problems.
> I'm trying to access request attributes using pairfind() as mentioned in
> the Wiki.  I can get normal attributes without problem but having
> problem with VSAs.
> I tried to access some Cisco VSAs like h323-conf-id, h323-call-origin by
> using something like PW_H323_CONF_ID, CISCO_H323_CONF_ID, H323_CONF_ID
> but compiler told me those are "undeclared".

   Because they're not defined in src/include/radius.h

> How do I access those VSAs?

   You can use the name to look up the DICT_ATTR structure, and then 
look at the attribute value from there.

   Or, read the rest of the code to see how it handles VSA's.  Grep for 
"pairfind", and look at the code.

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

Reply via email to