Multiple NAS

Rana Dhekial dhekial at
Tue Aug 12 00:26:00 CEST 2008

Hi Alan,
How do I create conditional statement to uniquely identify differenent NAS vendors to use its sql.conf ?  Is it something like
if ( NAS-IP-Address = "cisco's IP address" )
$INCLUDE ${confdir}/sql1.conf
else ( NAS-IP-Address = "Asterisk's IP address" )
$INCLUDE ${confdire}/sql2.conf 
in the "radiusd.conf" file ?
> Date: Sat, 9 Aug 2008 10:45:10 +0200> From: aland at> To: freeradius-users at> Subject: Re: Multiple NAS> > Rana Dhekial wrote:> > So the idea is to create multiple tables in the database where> > Freeradius is writing and store Cisco's accounting info to say> > radacct_1, Asterisk's to radacct_2, OpenSER's to radacct_3 tables.> > You can update the table name on the fly. In 2.0.5, set> SQL-Table-Name, and then edit the SQL queries to replace the references> to ${acct_table} with %{%{SQL-Table-Name}:-${acct_table}}> > Alan DeKok.> -> List info/subscribe/unsubscribe? See
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list