xlat: something like eval()? problems with avp into in another avp
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Wed Sep 16 16:24:13 CEST 2015
> On 16 Sep 2015, at 14:53, Jorge Pereira <jpereiran at gmail.com> wrote:
>
> Hi,
>
> I would like to know how "expand" an avp into in another avp. below my
> example.
%{xlat:} is the xlat you're looking for to xlat your xlat.
Can't remember if it's in v3.0.x though.
%{map:} can also be used to evaluate AVP maps, again, not sure if it's in v3.0.x.
If you run with -Xx the server should tell you which xlats were registered, but again, that may only be in v3.1.x. Hmm a pattern is emerging...
Alan dislikes them, I think more on principle, but they are occasionally useful.
-Arran
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150916/369bb03d/attachment.sig>
More information about the Freeradius-Users
mailing list