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 ? thanks,
Date: Sat, 9 Aug 2008 10:45:10 +0200> From: aland@deployingradius.com> To: freeradius-users@lists.freeradius.org> 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 http://www.freeradius.org/list/users.html
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM