Code: Select all
private void Client_evSubmitSm(object sender, SubmitSm data)
{
if (data.DestinationAddress.Address.EndsWith("9900")) cmdStatus = CommandStatus.ESME_RSUBMITFAIL;
if (data.DestinationAddress.Address.EndsWith("9903")) cmdStatus = CommandStatus.ESME_RSYSERR;
if (data.DestinationAddress.Address.EndsWith("9907")) cmdStatus = CommandStatus.ESME_RQUERYFAIL;
data.Response.Header.Status = cmdStatus;
}
Do I need to do something more?