public Long registerUser(String login,String Userpass,String lastname,String firstname,String email,Date age,String street,String additionalname,String fax,String zip,long states_id,String town,long language_id,String phone,String baseURL,boolean generateSipUserData,String jNameTimeZone){
  boolean sendConfirmation=baseURL != null && !baseURL.isEmpty() && 1 == cfgManagement.getConfValue("sendEmailWithVerficationCode",Integer.class,"0");
  return registerUser(login,Userpass,lastname,firstname,email,age,street,additionalname,fax,zip,states_id,town,language_id,phone,baseURL,generateSipUserData,jNameTimeZone,sendConfirmation);
}

public Long registerUser ( String login , String Userpass , String lastname , String firstname , String email , Date age , String street , String additionalname , String fax , String zip , long states_id , String town , long language_id , String phone , String baseURL , boolean generateSipUserData , String jNameTimeZone ) { boolean sendConfirmation = baseURL != null && ! baseURL . isEmpty ( ) && 1 == cfgManagement . getConfValue ( "sendEmailWithVerficationCode" , Integer . class , "0" ) ; return registerUser ( login , Userpass , lastname , firstname , email , age , street , additionalname , fax , zip , states_id , town , language_id , phone , baseURL , generateSipUserData , jNameTimeZone , sendConfirmation ) ; }
method to register a new user , user will automatically be added to the default user_level ( 1 ) new users will be automatically added to the organisation with the id specified in the configuration value default_domain_id
