I have 2 numbers and 2 realms i'm trying to proxy. what i want to happen is i want it to proxy by realm first and if they don't have a realm then proxy by the number they dialed. and as i understand it the user file processed until a match is found..
with just this listed it will proxy based upon phone number but not based on realm. it sends the username and the realm to the proxy server and then i have to set up proxying on that server also if i want to send the realm to the proper server.. these two are put together because they are both the same number but sometimes the phone company sends me one number and sometimes they send me a different number DEFAULT Called-Station-Id == "5735309", Proxy-To-Realm := "realm2" DEFAULT Called-Station-Id == "5309", Proxy-To-Realm := "realm2" DEFAULT Called-Station-Id == "5730606", Proxy-To-Realm := "realm1.net" ---------------------------------------------- this is what i tryed to add to make it proxy based upon realm befor the phone number so i put this befor the DEFAULT entries for phone number .. #DEFAULT # Realm == "realm1.net", # Proxy-to-Realm := "realm1.net" # # #DEFAULT # Realm == "realm2", # Proxy-to-Realm := "realm2" but when i entered it into the config and restarted the radius server these lines below would not work. for some reason it caused them to not work. DEFAULT Called-Station-Id == "5735309", Proxy-To-Realm := "realm2" DEFAULT Called-Station-Id == "5309", Proxy-To-Realm := "realm2" this line still worked DEFAULT Called-Station-Id == "5730606", Proxy-To-Realm := "realm1.net" and proxy.conf still worked.. but the problem is getting it to proxy based upon realm then phone number. -- Business website -- www.realm2 Personal website -- www.tblx.net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html