On Tue, 27 Aug 2002, Alan DeKok wrote:
> "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.
Well, actually it does call xlat.
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 10 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html