hi, minor patch applied: --- policy.conf 2012-06-14 12:21:44.431408916 +0100 +++ /tmp/policy.conf 2012-06-27 11:53:09.170949750 +0100 @@ -268,9 +268,9 @@ # Realm begins with a dot # e.g. "user@.site.com" # - if (User-Name !~ /@\\./) { + if (User-Name =~ /@\\./) { update reply { - Reply-Message+ = "Rejected: Realm begins with a dot" + Reply-Message += "Rejected: Realm begins with a dot" } reject } @@ -326,7 +326,7 @@ # if (!Chargeable-User-Identity) { update control { - Chargable-User-Identity := "%{cui: SELECT cui FROM cui WHERE clientipaddress = '%{Client-IP-Address}' AND callingstationid = '%{Calling-Station-Id}' AND username = '%{User-Name}'}" + Chargeable-User-Identity := "%{cui: SELECT cui FROM cui WHERE clientipaddress = '%{Client-IP-Address}' AND callingstationid = '%{Calling-Station-Id}' AND username = '%{User-Name}'}" } } 1) fixes wrong check 2) fixes wrong operator (typo/space) 3) fixes speeling mistak in Chargeable-User-Identity server now runs again alan