I am testing the v1.1 dll. With one of the service providers the delivery report works but with another provider it doesnt work. When enquired with the provider they said that we are not setting the 'registered_delivery' flag of the 'submit_sm' SMPP PDU to 1. I am using the below code for testing
Code: Select all
resp = this._SMPPclient.Submit(SMS.ForSubmit()
.From(ShortCode.ToString(), (byte)this._SMPPAccount.SourceTON, (byte)this._SMPPAccount.SourceNpi)
.To(strMobNo, (byte)this._SMPPAccount.DestinationTON, (byte)this._SMPPAccount.DestinationNpi)
.Coding(coding)
.Text(ConvertedMessage)
.ExpireIn(TimeSpan.FromDays(1))
.DeliveryReceipt()
);
Code: Select all
void _SMPPclient_evSubmitComplete(object sender, SubmitSmResp data)
{
if (data.Request.RegisteredDelivery == 1)
{
}
}
Code: Select all
SMPPclient.SystemType = "";