Delivery Report works with some providers & not with others
Posted: Sun Sep 22, 2013 11:16 am
Hi,
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
I also tested with the even evSubmitComplete, and also found out that RegisteredDelivery is coming as 1.
I am setting the Systemtype property to empty string. Is this causing the delivery report not to work.
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 = "";