"Aaron T. Weiker" <[EMAIL PROTECTED]> wrote:
> Once again I think I'm pushing the envelope.
>
> I'm trying to put an SQL query into my huntgroup file using the
> following syntax:
> tollfree Calling-Station-ID =3D=3D `%{sql: SELECT '%i' FROM
> AllowedTollFree WHERE NPANXX =3D LEFT('%i', 6)`
One of the issues is that the SQL xlat code does NOT call xlat
recursively.
Try hard-coding the SELECT to *not* use %i, and see if it works. If
so, then the sql_xlat() function has to be patched to get excited over
'%', and to call radius_xlat().
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html