use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class ChargingSbb method rejectSmsByDiameter.
private void rejectSmsByDiameter(ChargingData chargingData, RoCreditControlAnswer evt) throws SmscProcessingException {
Sms sms = chargingData.getSms();
if (logger.isInfoEnabled()) {
logger.info("ChargingSbb: accessRejected for: resultCode =" + (evt != null ? evt.getResultCode() : "timeout") + ", chargingType=" + chargingData.getChargingType() + ", message=[" + sms + "]");
}
try {
// sending of a failure response for transactional mode / delaying for charging result
MessageDeliveryResultResponseInterface.DeliveryFailureReason delReason = MessageDeliveryResultResponseInterface.DeliveryFailureReason.invalidDestinationAddress;
if (sms.getMessageDeliveryResultResponse() != null) {
sms.getMessageDeliveryResultResponse().responseDeliveryFailure(delReason, null);
sms.setMessageDeliveryResultResponse(null);
}
sms.getSmsSet().setStatus(ErrorCode.OCS_ACCESS_NOT_GRANTED);
boolean storeAndForwMode = MessageUtil.isStoreAndForward(sms);
if (storeAndForwMode) {
sms.setStored(true);
}
// if (smscPropertiesManagement.getDatabaseType() == DatabaseType.Cassandra_1) {
// persistence.archiveFailuredSms(sms);
// } else {
String sourceAddrAndPort = null;
String messageType = null;
EventType eventType = null;
switch(sms.getOriginationType()) {
case SMPP:
EsmeManagement esmeManagement = EsmeManagement.getInstance();
Esme esme = null;
if (esmeManagement != null)
esme = esmeManagement.getEsmeByClusterName(sms.getOrigEsmeName());
eventType = EventType.IN_SMPP_REJECT_DIAMETER;
if (esme != null) {
sourceAddrAndPort = esme.getRemoteAddressAndPort();
// shouldn't have null value
messageType = esme.getSmppSessionType() == Type.CLIENT ? CdrDetailedGenerator.CDR_MSG_TYPE_SUBMITSM : CdrDetailedGenerator.CDR_MSG_TYPE_DELIVERSM;
}
break;
case HTTP:
messageType = CdrDetailedGenerator.CDR_MSG_TYPE_HTTP;
eventType = EventType.IN_HTTP_REJECT_DIAMETER;
break;
default:
break;
}
if (eventType != null) {
CdrDetailedGenerator.generateDetailedCdr(sms, eventType, sms.getSmsSet().getStatus(), messageType, 0, -1, sourceAddrAndPort, null, -1, smscPropertiesManagement.getGenerateReceiptCdr(), smscPropertiesManagement.getGenerateDetailedCdr());
}
if (MessageUtil.isNeedWriteArchiveMessage(sms, smscPropertiesManagement.getGenerateArchiveTable())) {
persistence.c2_createRecordArchive(sms, null, null, !smscPropertiesManagement.getReceiptsDisabling(), smscPropertiesManagement.getIncomeReceiptsProcessing());
}
// }
smscStatAggregator.updateMsgInRejectedAll();
// TODO: if CCR gives some response verbal reject reason
// we need replace CdrGenerator.CDR_SUCCESS_NO_REASON with this
// reason
CdrGenerator.generateCdr(sms, CdrGenerator.CDR_OCS_REJECTED, CdrGenerator.CDR_SUCCESS_NO_REASON, smscPropertiesManagement.getGenerateReceiptCdr(), MessageUtil.isNeedWriteArchiveMessage(sms, smscPropertiesManagement.getGenerateCdr()), false, true, smscPropertiesManagement.getCalculateMsgPartsLenCdr(), smscPropertiesManagement.getDelayParametersInCdr());
} catch (PersistenceException e) {
throw new SmscProcessingException("PersistenceException when storing into Archive rejected by OCS message : " + e.getMessage(), SmppConstants.STATUS_SUBMITFAIL, MAPErrorCode.systemFailure, SmscProcessingException.HTTP_ERROR_CODE_NOT_SET, null, e);
}
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class MoSbbTest method testMo4_Gsm8.
@Test(groups = { "Mo" })
public void testMo4_Gsm8() throws Exception {
if (!this.cassandraDbInited)
return;
// SmppSessionsProxy smppServerSessions = new SmppSessionsProxy();
// this.sbb.setSmppServerSessions(smppServerSessions);
AddressString serviceCentreAddressDA = new AddressStringImpl(AddressNature.international_number, NumberingPlan.ISDN, "1111");
SM_RP_DA sm_RP_DA = new SM_RP_DAImpl(serviceCentreAddressDA);
ISDNAddressString msisdn = new ISDNAddressStringImpl(AddressNature.international_number, NumberingPlan.ISDN, "4444");
SM_RP_OAImpl sm_RP_OA = new SM_RP_OAImpl();
sm_RP_OA.setMsisdn(msisdn);
AddressField destinationAddress = new AddressFieldImpl(TypeOfNumber.InternationalNumber, NumberingPlanIdentification.ISDNTelephoneNumberingPlan, "5555");
ProtocolIdentifier protocolIdentifier = new ProtocolIdentifierImpl(12);
DataCodingScheme dataCodingScheme = new DataCodingSchemeImpl(4);
UserDataHeader decodedUserDataHeader = new UserDataHeaderImpl();
UserDataHeaderElement informationElement = new ConcatenatedShortMessagesIdentifierImpl(false, 55, 3, 1);
decodedUserDataHeader.addInformationElement(informationElement);
UserData userData = new UserDataImpl("abc 01234567890", dataCodingScheme, decodedUserDataHeader, isoCharset);
SmsTpdu tpdu = new SmsSubmitTpduImpl(false, false, false, 150, destinationAddress, protocolIdentifier, null, userData);
// isoCharset
SmsSignalInfo sm_RP_UI_0 = new SmsSignalInfoImpl(tpdu, null);
ForwardShortMessageRequestImpl event0 = new ForwardShortMessageRequestImpl(sm_RP_DA, sm_RP_OA, sm_RP_UI_0, false);
AsnOutputStream aos = new AsnOutputStream();
event0.encodeAll(aos);
ForwardShortMessageRequestImpl event = new ForwardShortMessageRequestImpl();
AsnInputStream ais = new AsnInputStream(aos.toByteArray());
ais.readTag();
event.decodeAll(ais);
long dueSlot = this.pers.c2_getDueSlotForTime(new Date());
PreparedStatementCollection psc = this.pers.getStatementCollection(new Date());
int b1 = this.pers.checkSmsExists(dueSlot, ta1.getTargetId());
long b2 = this.pers.c2_getDueSlotForTargetId(psc, ta1.getTargetId());
assertEquals(b1, 0);
assertEquals(b2, 0L);
MAPProviderProxy proxy = new MAPProviderProxy();
MAPDialogSmsProxy dialog = new MAPDialogSmsProxy(new MAPServiceSmsProxy(proxy), null, null, null);
event.setMAPDialog(dialog);
Date curDate = new Date();
MAPApplicationContext act = MAPApplicationContext.getInstance(MAPApplicationContextName.shortMsgMORelayContext, MAPApplicationContextVersion.version2);
dialog.setApplicationContext(act);
this.sbb.onForwardShortMessageRequest(event, null);
b2 = this.pers.c2_getDueSlotForTargetId(psc, ta1.getTargetId());
dueSlot = b2;
b1 = this.pers.checkSmsExists(dueSlot, ta1.getTargetId());
assertEquals(b1, 1);
assertEquals(b2, dueSlot);
assertEquals(dialog.getResponseCount(), 1);
assertEquals(dialog.getErrorList().size(), 0);
SmsSet smsSet = this.pers.c2_getRecordListForTargeId(dueSlot, ta1.getTargetId());
assertEquals(smsSet.getDestAddr(), "5555");
assertEquals(smsSet.getDestAddrTon(), SmppConstants.TON_INTERNATIONAL);
assertEquals(smsSet.getDestAddrNpi(), SmppConstants.NPI_E164);
assertEquals(smsSet.getInSystem(), 0);
assertEquals(smsSet.getDueDelay(), 0);
assertNull(smsSet.getStatus());
assertFalse(smsSet.isAlertingSupported());
Sms sms = smsSet.getSms(0);
assertNotNull(sms);
assertEquals(sms.getSourceAddr(), "4444");
assertEquals(sms.getSourceAddrTon(), SmppConstants.TON_INTERNATIONAL);
assertEquals(sms.getSourceAddrNpi(), SmppConstants.NPI_E164);
assertEquals(sms.getMessageId(), DBOperations.MESSAGE_ID_LAG + 1);
assertEquals(sms.getMoMessageRef(), 150);
assertEquals(sms.getDataCoding(), 4);
assertNull(sms.getOrigEsmeName());
assertNull(sms.getOrigSystemId());
assertNull(sms.getServiceType());
assertEquals(sms.getEsmClass() & 0xFF, 67);
assertEquals(sms.getRegisteredDelivery(), 0);
assertEquals(sms.getProtocolId(), 12);
assertEquals(sms.getPriority(), 0);
assertEquals(sms.getReplaceIfPresent(), 0);
assertEquals(sms.getDefaultMsgId(), 0);
assertEquals(sms.getTlvSet().getOptionalParameterCount(), 0);
assertNull(sms.getScheduleDeliveryTime());
assertDateEq(sms.getValidityPeriod(), MessageUtil.addHours(curDate, 24 * 3));
assertEquals(sms.getDeliveryCount(), 0);
assertEquals(sms.getShortMessageText(), "abc 01234567890");
assertEquals(sms.getShortMessageBin(), decodedUserDataHeader.getEncodedData());
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class MtTest method SuccessError2Test.
/**
* MAP V3, SRI error absentSubscriber
* Validity period is expired -> no RSDS and next scheduling
*/
@Test(groups = { "Mt" })
public void SuccessError2Test() throws Exception {
if (!this.cassandraDbInited)
return;
MAPServiceSmsProxy serviceSri = (MAPServiceSmsProxy) this.sriSbb.mapProvider.getMAPServiceSms();
MAPServiceSmsProxy serviceMt = (MAPServiceSmsProxy) this.mtSbb.mapProvider.getMAPServiceSms();
MAPServiceSmsProxy serviceRsds = (MAPServiceSmsProxy) this.rsdsSbb.mapProvider.getMAPServiceSms();
SmscPropertiesManagement smscPropertiesManagement = SmscPropertiesManagement.getInstance();
MProcManagement.getInstance("Test");
ArrayList<SmsDef> lst = new ArrayList<SmsDef>();
SmsDef sd1 = new SmsDef();
lst.add(sd1);
sd1.valididtyPeriodIsOver = true;
SmsSet smsSet = prepareDatabase(lst);
Sms sms1 = smsSet.getSms(0);
UUID smsId = sms1.getDbId();
SmsProxy smsx1 = this.pers.obtainArchiveSms(procDueSlot, smsSet.getDestAddr(), smsId);
assertNull(smsx1);
SmsSet smsSetX = SmsSetCache.getInstance().getProcessingSmsSet(procTargetId);
assertNotNull(smsSetX);
Sms smsX = this.pers.obtainLiveSms(procDueSlot, procTargetId, procId[0]);
assertEquals(smsX.getSmsSet().getInSystem(), 0);
assertEquals(SmsSetCache.getInstance().getProcessingSmsSetSize(), 1);
assertNull(smsSet.getStatus());
assertEquals(smsSet.getInSystem(), 0);
assertNull(smsSet.getInSystemDate());
assertEquals(smsSet.getDueDelay(), 0);
assertNull(smsSet.getDueDate());
assertFalse(smsSet.isAlertingSupported());
// initial onSms message
SmsSetEvent event = new SmsSetEvent();
event.setSmsSet(smsSet);
this.sriSbb.onSms(event, null, null);
MAPDialogSmsProxy dlg = serviceSri.getLastMAPDialogSms();
// now ano message delivery because of a message ValidityPeriod is expired
assertNull(dlg);
// MAPApplicationContextVersion acv = dlg.getApplicationContext().getApplicationContextVersion();
// assertEquals(acv, MAPApplicationContextVersion.version3);
// ArrayList<MAPTestEvent> lstEvt = dlg.getEventList();
// assertEquals(lstEvt.size(), 2);
// assertNull(serviceMt.getLastMAPDialogSms());
//
// lstEvt = dlg.getEventList();
// assertEquals(lstEvt.size(), 2);
// assertEquals(dlg.getLocalAddress().getGlobalTitle().getDigits(), smscPropertiesManagement.getServiceCenterGt());
// assertEquals(dlg.getRemoteAddress().getGlobalTitle().getDigits(), msdnDig);
//
// MAPTestEvent evt = lstEvt.get(0);
// assertEquals(evt.testEventType, MAPTestEventType.componentAdded);
// SendRoutingInfoForSMRequest sriReq = (SendRoutingInfoForSMRequest) evt.event;
// assertEquals(sriReq.getMsisdn().getAddress(), msdnDig);
// assertEquals(sriReq.getServiceCentreAddress().getAddress(), smscPropertiesManagement.getServiceCenterGt());
//
// evt = lstEvt.get(1);
// assertEquals(evt.testEventType, MAPTestEventType.send);
//
// assertNull(serviceRsds.getLastMAPDialogSms());
//
// // SRI response
// MAPErrorMessage mapErrorMessage = new MAPErrorMessageAbsentSubscriberSMImpl(null, null, null);
// ErrorComponent evt2 = new ErrorComponent(dlg, 0L, mapErrorMessage);
// this.sriSbb.onErrorComponent(evt2, null);
// this.sriSbb.onDialogDelimiter(null, null);
//
// PreparedStatementCollection[] pscc = this.pers.c2_getPscList();
// long l1 = 0;
// for (PreparedStatementCollection psc : pscc) {
// l1 = this.pers.c2_getDueSlotForTargetId(psc, procTargetId);
// if (l1 != 0)
// break;
// }
// smsId = sms1.getDbId();
// smsx1 = this.pers.obtainArchiveSms(l1, smsSet.getDestAddr(), smsId);
// assertNotNull(smsx1);
// smsSetX = SmsSetCache.getInstance().getProcessingSmsSet(procTargetId);
// assertNull(smsSetX);
// smsX = this.pers.obtainLiveSms(l1, procTargetId, procId[0]);
// assertNull(smsX);
// assertEquals(SmsSetCache.getInstance().getProcessingSmsSetSize(), 0);
//
// dlg = serviceRsds.getLastMAPDialogSms();
// assertNull(dlg);
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class MtTest method testMProc_TempFail.
@Test(groups = { "Mt" })
public void testMProc_TempFail() throws Exception {
if (!this.cassandraDbInited)
return;
MProcManagement mProcManagement = MProcManagement.getInstance();
SmscManagement smscManagement = SmscManagement.getInstance("Test");
SmppManagement smppManagement = SmppManagement.getInstance("Test");
smscManagement.setSmppManagement(smppManagement);
mProcManagement.setSmscManagement(smscManagement);
smscManagement.registerRuleFactory(new MProcRuleFactoryDefault());
DBOperations.getInstance().stop();
smscManagement.start();
try {
mProcManagement.destroyMProcRule(1);
} catch (Exception e) {
}
try {
mProcManagement.destroyMProcRule(2);
} catch (Exception e) {
}
// mProcManagement.createMProcRule(1, MProcRuleFactoryDefault.RULE_CLASS_NAME,
// "networkidmask 0 newnetworkidaftertempfail 1");
mProcManagement.createMProcRule(1, MProcRuleFactoryDefault.RULE_CLASS_NAME, "networkidmask 0 newnetworkidafterpermfail 1");
MAPServiceSmsProxy serviceSri = (MAPServiceSmsProxy) this.sriSbb.mapProvider.getMAPServiceSms();
MAPServiceSmsProxy serviceMt = (MAPServiceSmsProxy) this.mtSbb.mapProvider.getMAPServiceSms();
MAPServiceSmsProxy serviceRsds = (MAPServiceSmsProxy) this.rsdsSbb.mapProvider.getMAPServiceSms();
SmscPropertiesManagement smscPropertiesManagement = SmscPropertiesManagement.getInstance();
MProcManagement.getInstance("Test");
ArrayList<SmsDef> lst = new ArrayList<SmsDef>();
SmsDef sd1 = new SmsDef();
lst.add(sd1);
SmsSet smsSet = prepareDatabase(lst);
Sms sms1 = smsSet.getSms(0);
// UUID smsId = sms1.getDbId();
// SmsProxy smsx1 = this.pers.obtainArchiveSms(procDueSlot, smsSet.getDestAddr(), smsId);
// assertNull(smsx1);
// SmsSet smsSetX = SmsSetCache.getInstance().getProcessingSmsSet(procTargetId);
// assertNotNull(smsSetX);
// Sms smsX = this.pers.obtainLiveSms(procDueSlot, procTargetId, procId[0]);
// assertEquals(smsX.getSmsSet().getInSystem(), 0);
// assertEquals(SmsSetCache.getInstance().getProcessingSmsSetSize(), 1);
// initial onSms message
SmsSetEvent event = new SmsSetEvent();
event.setSmsSet(smsSet);
this.sriSbb.onSms(event, null, null);
MAPDialogSmsProxy dlg = serviceSri.getLastMAPDialogSms();
// assertFalse(this.mtSbb.isMAPVersionTested(MAPApplicationContextVersion.version1));
// assertFalse(this.mtSbb.isMAPVersionTested(MAPApplicationContextVersion.version2));
// assertFalse(this.mtSbb.isMAPVersionTested(MAPApplicationContextVersion.version3));
// assertFalse(this.mtSbb.isNegotiatedMapVersionUsing());
// SRI response
IMSI imsi = new IMSIImpl(imsiDig);
ISDNAddressString networkNodeNumber = new ISDNAddressStringImpl(AddressNature.international_number, org.restcomm.protocols.ss7.map.api.primitives.NumberingPlan.ISDN, nnnDig);
LocationInfoWithLMSI locationInfoWithLMSI = new LocationInfoWithLMSIImpl(networkNodeNumber, null, null, false, null);
SendRoutingInfoForSMResponse evt1 = new SendRoutingInfoForSMResponseImpl(imsi, locationInfoWithLMSI, null, null, null);
evt1.setMAPDialog(dlg);
// MAPErrorMessage mapErrorMessage = new MAPErrorMessageAbsentSubscriberSMImpl(null, null, null);
// ErrorComponent evt2 = new ErrorComponent(dlg, 0L, mapErrorMessage);
MAPErrorMessage mapErrorMessage = new MAPErrorMessageUnknownSubscriberImpl(null, null);
ErrorComponent evt2 = new ErrorComponent(dlg, 0L, mapErrorMessage);
this.sriSbb.onErrorComponent(evt2, null);
this.sriSbb.onDialogDelimiter(null, null);
// ....................
// assertFalse(this.mtSbb.isMAPVersionTested(MAPApplicationContextVersion.version1));
// assertFalse(this.mtSbb.isMAPVersionTested(MAPApplicationContextVersion.version2));
// assertTrue(this.mtSbb.isMAPVersionTested(MAPApplicationContextVersion.version3));
// assertFalse(this.mtSbb.isNegotiatedMapVersionUsing());
dlg = serviceMt.getLastMAPDialogSms();
// MAPApplicationContextVersion vers = dlg.getApplicationContext().getApplicationContextVersion();
// assertEquals(vers, MAPApplicationContextVersion.version3);
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class MtTest method SuccessError2ATest.
/**
* MAP V3, SRI error absentSubscriber
* Validity period is expired -> no RSDS and next scheduling
* + receiptRequest
*/
@Test(groups = { "Mt" })
public void SuccessError2ATest() throws Exception {
if (!this.cassandraDbInited)
return;
MAPServiceSmsProxy serviceSri = (MAPServiceSmsProxy) this.sriSbb.mapProvider.getMAPServiceSms();
MAPServiceSmsProxy serviceMt = (MAPServiceSmsProxy) this.mtSbb.mapProvider.getMAPServiceSms();
MAPServiceSmsProxy serviceRsds = (MAPServiceSmsProxy) this.rsdsSbb.mapProvider.getMAPServiceSms();
SmscPropertiesManagement smscPropertiesManagement = SmscPropertiesManagement.getInstance();
MProcManagement.getInstance("Test");
ArrayList<SmsDef> lst = new ArrayList<SmsDef>();
SmsDef sd1 = new SmsDef();
sd1.receiptRequest = true;
lst.add(sd1);
sd1.valididtyPeriodIsOver = true;
SmsSet smsSet = prepareDatabase(lst);
Sms sms1 = smsSet.getSms(0);
UUID smsId = sms1.getDbId();
SmsProxy smsx1 = this.pers.obtainArchiveSms(procDueSlot, smsSet.getDestAddr(), smsId);
assertNull(smsx1);
SmsSet smsSetX = SmsSetCache.getInstance().getProcessingSmsSet(procTargetId);
assertNotNull(smsSetX);
Sms smsX = this.pers.obtainLiveSms(procDueSlot, procTargetId, procId[0]);
assertEquals(smsX.getSmsSet().getInSystem(), 0);
assertEquals(SmsSetCache.getInstance().getProcessingSmsSetSize(), 1);
assertNull(smsSet.getStatus());
assertEquals(smsSet.getInSystem(), 0);
assertNull(smsSet.getInSystemDate());
assertEquals(smsSet.getDueDelay(), 0);
assertNull(smsSet.getDueDate());
assertFalse(smsSet.isAlertingSupported());
// initial onSms message
SmsSetEvent event = new SmsSetEvent();
event.setSmsSet(smsSet);
this.sriSbb.onSms(event, null, null);
MAPDialogSmsProxy dlg = serviceSri.getLastMAPDialogSms();
// now ano message delivery because of a message ValidityPeriod is expired
assertNull(dlg);
// MAPApplicationContextVersion acv = dlg.getApplicationContext().getApplicationContextVersion();
// assertEquals(acv, MAPApplicationContextVersion.version3);
// ArrayList<MAPTestEvent> lstEvt = dlg.getEventList();
// assertEquals(lstEvt.size(), 2);
// assertNull(serviceMt.getLastMAPDialogSms());
//
// lstEvt = dlg.getEventList();
// assertEquals(lstEvt.size(), 2);
// assertEquals(dlg.getLocalAddress().getGlobalTitle().getDigits(), smscPropertiesManagement.getServiceCenterGt());
// assertEquals(dlg.getRemoteAddress().getGlobalTitle().getDigits(), msdnDig);
//
// MAPTestEvent evt = lstEvt.get(0);
// assertEquals(evt.testEventType, MAPTestEventType.componentAdded);
// SendRoutingInfoForSMRequest sriReq = (SendRoutingInfoForSMRequest) evt.event;
// assertEquals(sriReq.getMsisdn().getAddress(), msdnDig);
// assertEquals(sriReq.getServiceCentreAddress().getAddress(), smscPropertiesManagement.getServiceCenterGt());
//
// evt = lstEvt.get(1);
// assertEquals(evt.testEventType, MAPTestEventType.send);
//
// assertNull(serviceRsds.getLastMAPDialogSms());
//
// // SRI response
// MAPErrorMessage mapErrorMessage = new MAPErrorMessageAbsentSubscriberSMImpl(null, null, null);
// ErrorComponent evt2 = new ErrorComponent(dlg, 0L, mapErrorMessage);
// this.sriSbb.onErrorComponent(evt2, null);
// this.sriSbb.onDialogDelimiter(null, null);
//
// PreparedStatementCollection[] pscc = this.pers.c2_getPscList();
// long l1 = 0;
// for (PreparedStatementCollection psc : pscc) {
// l1 = this.pers.c2_getDueSlotForTargetId(psc, procTargetId);
// if (l1 != 0)
// break;
// }
// smsId = sms1.getDbId();
// smsx1 = this.pers.obtainArchiveSms(l1, smsSet.getDestAddr(), smsId);
// assertNotNull(smsx1);
// smsSetX = SmsSetCache.getInstance().getProcessingSmsSet(procTargetId);
// assertNull(smsSetX);
// smsX = this.pers.obtainLiveSms(l1, procTargetId, procId[0]);
// assertNull(smsX);
// assertEquals(SmsSetCache.getInstance().getProcessingSmsSetSize(), 0);
//
// for (PreparedStatementCollection psc : pscc) {
// l1 = this.pers.c2_getDueSlotForTargetId(psc, taR.getTargetId());
// if (l1 != 0)
// break;
// }
// // here we are checking of existence of failure receipt
// ArrayList<SmsSet> lst01 = pers.c2_getRecordList(l1);
// assertEquals(lst01.size(), 1);
// SmsSet smsSet2 = lst01.get(0);
// assertEquals(smsSet2.getSmsCount(), 1);
// Sms sms2 = smsSet2.getSms(0);
// UUID idReceipt = sms2.getDbId();
//
// dlg = serviceRsds.getLastMAPDialogSms();
// assertNull(dlg);
}
Aggregations