hello,

how do I access the second, third, etc. value for a duplicate attribute in sql.conf ?
I have read doc/variables.txt and I did not figure out.
Can it be done ?


I have tried the following constructs:
%{Attribute}{2}
%{Attribute{2}}
%{Attribute}[2]
%{Attribute[2]}
in sql.conf and none worked.

I have the following problem for a request containing:

Cisco-AVPair = h323-ivr-out=dnis-number:xxxxxxx
Cisco-AVPair = h323-ivr-out=blacklist-test:yes
Cisco-AVPair = h323-ivr-out=ani-number:yyyyyyy
Cisco-AVPair = h323-ivr-out=transactionID:2491

with with_cisco_vsa_hack = yes I get:

h323-ivr-out=dnis-number:xxxxxxx
h323-ivr-out=blacklist-test:yes
h323-ivr-out=ani-number:yyyyyyy
h323-ivr-out=transactionID:2491

how do I access (in sql.conf) the second value for h323-ivr-out attribute ?

thanks,
razvan radu



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

Reply via email to