Try User-Name =~ '@isp1realm$' instead of Realm. Realm attribute might not work in preprocess as it's not set yet.
You can use unlang to check for multiple values in 2.0 but I don't know how to implement this function in SQL in 1.1.x. Ivan Kalik Kalik Informatika ISP Dana 16/9/2007, "Ashraf Al-Basti" <[EMAIL PROTECTED]> piše: >Dear, >i have added this to huntgroups but nothing happened; if i want to use >mysql database as a backend is there any way to do that? > >[EMAIL PROTECTED] wrote: >> You can use huntgroups: >> >> isp1 Realm == isp1realm >> Calling-Statin-Id = numbe1, >> Calling Station-Id = number2 >> >> Ivan Kalik >> Kalik Informatika ISP >> >> Dana 13/9/2007, "Ashraf Al-Basti" <[EMAIL PROTECTED]> piše: >> >> >>> Dear All, >>> i want to setup a freeradius as a proxy radius for a wholesale, and want >>> to limit the access by using the calling-station-id; so [EMAIL PROTECTED] >>> can >>> connect only from any calling-station-id that belong to isp1, (ex, >>> 555111, 333222) and [EMAIL PROTECTED] can connect only from any >>> calling-station-id that belong to isp2.... >>> i have all the calling station id which belong to the ISPs, but i didnt >>> have the username for every ISP, and want to use the realm instead of >>> the username to do that. >>> can i use the checkval to check for the calling-station-id and realm, or >>> is there anyway to do that? >>> >>> >>> - >>> List info/subscribe/unsubscribe? See >>> http://www.freeradius.org/list/usershtml >>> >>> >>> >> >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html >> >> > >- >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

