dynamically selecting, which attribute to evaluate

2010-12-01 Thread Stefan A.
Hello, I'm trying to dynamically select Attributes to check their values. I have an application, which puts attribute (representing Prepaid Tickets) into the Accept table. All possible TicketTypes are defined in the dictionary. Example: Ticket245-trigger-reactivation = 200 Depending on

Re: dynamically selecting, which attribute to evaluate

2010-12-01 Thread Alan DeKok
Stefan A. wrote: and then to evaluate TicetType specific Attributes... if (reply:%{control:TicketType}-trigger-reactivation != ){ You can't really do two levels of expansion like that, sorry. Why does it not expand the %{control:TicketType} to Ticket245 in this situation? You

RE: dynamically selecting, which attribute to evaluate

2010-12-01 Thread Stefan A.
: Wednesday, December 01, 2010 2:18 PM To: FreeRadius users mailing list Subject: Re: dynamically selecting, which attribute to evaluate Stefan A. wrote: and then to evaluate TicetType specific Attributes... if (reply:%{control:TicketType}-trigger-reactivation != ){ You can't really

Re: dynamically selecting, which attribute to evaluate

2010-12-01 Thread Alan DeKok
Stefan A. wrote: :-( but thanks, Alan, Unfortunately, I've never have been able to build FR with perl on my x86 Solaris 10 boxes... but we well keep trying ;-) It should be possible. For the meantime, would it be feasable to update control { temp_attribute :=

Re: dynamically selecting, which attribute to evaluate

2010-12-01 Thread Johan Meiring
On 2010/12/01 07:46 PM, Alan DeKok wrote: For the meantime, would it be feasable to update control { temp_attribute := reply:%{control:TicketType}-trigger-reactivation } and later if (%{control:temp_attribute} != ){ do the rest } sigh I said: You can't really do