authenticate {
        Auth-Type PAP {
                pap
        }
        Auth-Type CHAP {
                chap
        }
        Auth-Type MS-CHAP {
                mschap
        }
        Auth-Type Perl {
                perl
        }
        eap
}

authorize { 
  preprocess 
  abills_preauth 
  mschap 
  files 
#  sql
  abills_auth 
 } 
 
preacct { 
  preprocess 
  abills_acc 
 } 

post-auth { 
  Post-Auth-Type REJECT { 
     abills_postauth 
   }
# Post-Auth-Type REJECT {
#   sql
#  } 
}
