On 26/03/2013 13:52, Emmanuel BILLOT wrote: > authorize { > if (Called-Station-Id =~ /^.*:([-a-zA-Z]+)$/) { > update control { > Tmp-String-0 := "%{1}" > } > } > > switch "%{Tmp-String-0}" { That needs to be: switch "%{control:Tmp-String-0}" {