if (smsSet2.getCorrelationId() == null) { smsSet2.setCorrelationId(smsSet.getCorrelationId());
.append(smsEvent.getSmsSet().getImsi()) .append(CdrGenerator.CDR_SEPARATOR) .append(smsEvent.getSmsSet().getCorrelationId()) .append(CdrGenerator.CDR_SEPARATOR) .append(smsEvent.getOriginatorSccpAddress())
/** * Creating a new SmsSet for Sms * @param sms */ public static void createNewSmsSetForSms(Sms sms) { SmsSet smsSet = new SmsSet(); smsSet.setDestAddr(sms.getSmsSet().getDestAddr()); smsSet.setDestAddrNpi(sms.getSmsSet().getDestAddrNpi()); smsSet.setDestAddrTon(sms.getSmsSet().getDestAddrTon()); smsSet.setCorrelationId(sms.getSmsSet().getCorrelationId()); smsSet.setNetworkId(sms.getSmsSet().getNetworkId()); smsSet.addSms(sms); }
if (sms.getSmsSet().getCorrelationId() != null) { if (addedCorrId) { boundStatement.setString(Schema.COLUMN_CORR_ID, sms.getSmsSet().getCorrelationId()); } else { boundStatement.setString(Schema.COLUMN_IMSI, sms.getSmsSet().getCorrelationId()); boundStatement.setString(Schema.COLUMN_CORR_ID, sms.getSmsSet().getCorrelationId());
smsSet.setDestAddrNpi(sms0.getSmsSet().getDestAddrNpi()); smsSet.setDestAddrTon(sms0.getSmsSet().getDestAddrTon()); smsSet.setCorrelationId(sms0.getSmsSet().getCorrelationId());