how to use != == =~ and !~ on multiple keys?

Mike needacoder at gmail.com
Mon Oct 23 15:03:20 CEST 2006


On 10/23/06, Joe Maimon <jmaimon at ttec.com> wrote:
> > On 10/22/06, Joe Maimon <jmaimon at ttec.com> wrote:
> >
> >> > I have the following keys in a radius request:
> >> >
> >> >        Cisco-AVPair = "src-codec=g729 g711A64k g711U64k g7231 gsmFR
> >> > NS:iLBC-15k2 "
> >> >        Cisco-AVPair = "dst-codec=g729 "
> >> >
> >> > When using the != == =~ and !~ conditionals with Cisco-AVPair key,
> >> > which one(s) are checked?
> >>
> >> In the order provided by the order they were written on the check line
> >> until there is either a match or none.
> >
>
> Ah, you meant which AVpair is checked?
>
> All until match. (at least its supposed to)

So that means that != and == become set operations (!= for not present
and == for present)?  And =~ is "any contains" and !~ is "none
contains"?



More information about the Freeradius-Users mailing list