if (&Calling-Station-Id && &Calling-Station-Id =~ /^121.32/) { Should stop the module failure message. I've had to do a similar change across all my unlang when I started logging it to stop it logging errors unnecessarily. On 24/07/2016 02:06, "Arran Cudbard-Bell" <a.cudbardb@freeradius.org> wrote:
On 23 Jul 2016, at 07:40, Laura Steynes <laura.steynes72@gmail.com> wrote:
Hi All,
I am seeing this in detail logs Module-Failure-Message = "Failed retrieving values required to evaluate condition"
This is in response to authorize section entry:
if (Calling-Station-Id =~ /^121.32/) { update reply { Reply-Message := "Geographical Access Failure" } reject }
Hosts in that range do get the reject, but not the message, many google posts/blogs all seem to point that my entry is correct, it is probably something so obvious that I cant see the trees for the woods.
Yeah, you don’t have Calling-Station-ID set…
-Arran - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html