code: protected void addNewConferenceRecord(String accountSid, CallDetailRecord callRecord, String friendlyName){
          final ConferenceDetailRecord.Builder conferenceBuilder = ConferenceDetailRecord.builder();
          Sid sid = Sid.generate(Sid.Type.CONFERENCE);
          conferenceBuilder.setSid(sid);
          conferenceBuilder.setDateCreated(DateTime.now());
  
          conferenceBuilder.setAccountSid(new Sid(accountSid));
          conferenceBuilder.setStatus(ConferenceStateChanged.State.RUNNING_INITIALIZING+"");
          conferenceBuilder.setApiVersion(callRecord.getApiVersion());
          final StringBuilder UriBuffer = new StringBuilder();
          UriBuffer.append("/").append(callRecord.getApiVersion()).append("/Accounts/").append(accountSid).append("/Conferences/");
          UriBuffer.append(sid);
          final URI uri = URI.create(UriBuffer.toString());
          conferenceBuilder.setUri(uri);
          conferenceBuilder.setFriendlyName(friendlyName);
          conferenceBuilder.setMasterMsId(localMsId);
  
          ConferenceDetailRecord cdr = conferenceBuilder.build();
          storage.getConferenceDetailRecordsDao().addConferenceDetailRecord(cdr);
      }
docs: addNewConferenceRecord
  @param accountSid
  @param callRecord
  @param friendlyName