Open
Description
I have SMSC devices that only support SMPP 3.3 protocol, But it will randomly send deliver_sm through TX or RX.
I want to be compatible with it. I found the following method
I modify the method like :
public void processDeliverSm(Command pduHeader, byte[] pdu,
ResponseHandler responseHandler) throws IOException {
boolean enableReceiveDeliverSm = Boolean.getBoolean("enableReceiveDeliverSm");
if (bindTxDeliverSmEnabled) {
processDeliverSm0(pduHeader, pdu, responseHandler);
} else {
responseHandler.sendNegativeResponse(pduHeader.getCommandId(),
SMPPConstant.STAT_ESME_RINVBNDSTS, pduHeader
.getSequenceNumber());
}
}
Is that correct?
Metadata
Metadata
Assignees
Labels
No labels