13 May
2013
13 May
'13
12:30 p.m.
Maja Wolniewicz wrote:
update reply { Chargeable-User-Identity = "%{md5:${policy.cui_hash_key}%{tolower:%{User-Name}}%{%{Operator-Name}:-}}" }
produces (10) ERROR: %{md5:changeme%{tolower:%{User-Name}}%{%{Operator-Name}:-}} (10) ERROR: ^ Empty expansion is invalid
is it right behaviour?
I would say yes.
It works in FR2.
Hmm... a lot of things worked by accident in v2. The v3 code has a LOT of cleanups and fixes. You can work around this by doing: %{md5:changeme%{tolower:%{User-Name}}%{%{Operator-Name}:-""}} Which also works in v2. Alan DeKok.