use of org.mobicents.smsc.slee.services.smpp.server.events.SendMtEvent in project smscgateway by RestComm.
the class SriSbb method executeForwardSM.
private void executeForwardSM(SmsSet smsSet, LocationInfoWithLMSI locationInfoWithLMSI, String imsi, int networkId) {
smsSet.setImsi(imsi);
smsSet.setLocationInfoWithLMSI(locationInfoWithLMSI);
ISDNAddressString networkNodeNumber = locationInfoWithLMSI.getNetworkNodeNumber();
MtSbbLocalObject mtSbbLocalObject = this.getMtSbbObject();
if (mtSbbLocalObject != null) {
ActivityContextInterface schedulerActivityContextInterface = this.getSchedulerActivityContextInterface();
schedulerActivityContextInterface.attach(mtSbbLocalObject);
SendMtEvent event = new SendMtEvent();
event.setSmsSet(smsSet);
event.setImsiData(imsi);
event.setLmsi(locationInfoWithLMSI.getLMSI());
event.setNetworkNode(networkNodeNumber);
event.setInformServiceCenterContainer(this.getInformServiceCenterContainer());
event.setSriMapVersion(this.getSriMapVersion());
event.setCurrentMsgNum(this.getCurrentMsgNumValue());
event.setTimerID(this.getDeliveryTimerID());
// event.setSendingPoolMsgCount(this.getSendingPoolMsgCountValue());
this.fireSendMtEvent(event, schedulerActivityContextInterface, null);
}
}
Aggregations