On 11 Jun 2015, at 08:12, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 11 Jun 2015, at 05:39, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
int-require-by { if (!&Acct-Session-Id) { update reply { Reply-Message := "Acct-Session-Id is required" } reject } }
int-required-by { if ("%{xlat:%%{%{Tmp-String-0}}}" == '') { update reply { Reply-Message := 'Acct-Session-Id is required' } reject } }
update { Tmp-String-0 := 'Acct-Session-Id' } int-required-by
Or I guess int-required-by { if ("%{xlat:%%{%{Tmp-String-0}}}" == '') { update reply { Reply-Message := "%{Tmp-String-0} is required" } reject } } Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2