Perfect, thanks.


        if((Service-Type == 'Call-Check') || (User-Name =~ /^%{Calling-Station-ID}$/i)){
                update control {
                        Auth-Type := 'CSID'
                }
        }
        else{
                ldap
        }