how to use != == =~ and !~ on multiple keys?
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?
Mike 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.
On 10/22/06, Joe Maimon <jmaimon@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.
Joe, Thanks for your answer, but I'm afraid I don't understand what you mean. Can you please clarify or point me to a reference where I can find this?
Mike wrote:
On 10/22/06, Joe Maimon <jmaimon@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)
On 10/23/06, Joe Maimon <jmaimon@ttec.com> wrote:
On 10/22/06, Joe Maimon <jmaimon@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"?
participants (2)
-
Joe Maimon -
Mike