rule.setAttendantAliases(aliases);
String newAliases = aliases.replaceAll(",\\s*", " "); rule.setAttendantAliases(newAliases);
    private void migrateAttendant(Integer attendantId, String aliases, String extension) {        AutoAttendant autoAttendant = m_dialPlanContext.getAutoAttendant(attendantId);        AttendantRule rule = new AttendantRule();        rule.setName(RULE_NAME_PREFIX + autoAttendant.getName());        rule.setEnabled(true);        rule.setExtension(extension);        rule.setAttendantAliases(aliases);        ScheduledAttendant sa = new ScheduledAttendant();        sa.setAttendant(autoAttendant);        sa.setEnabled(true);        rule.setAfterHoursAttendant(sa);        m_dialPlanContext.addRule(0, rule);    }