Delivery Report works with some providers & not with others

.NET library for SMPP protocol
Locked
hishhash2
Posts: 17
Joined: Mon Jan 30, 2012 11:24 am

Delivery Report works with some providers & not with others

Post by hishhash2 » 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

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()
                                            );
I also tested with the even evSubmitComplete, and also found out that RegisteredDelivery is coming as 1.

Code: Select all

void _SMPPclient_evSubmitComplete(object sender, SubmitSmResp data)
        {
            if (data.Request.RegisteredDelivery == 1)
            {
            }
        }
I am setting the Systemtype property to empty string. Is this causing the delivery report not to work.

Code: Select all

SMPPclient.SystemType = "";
jfl
Posts: 7
Joined: Sun Oct 20, 2013 12:33 pm

Re: Delivery Report works with some providers & not with oth

Post by jfl » Sun Oct 20, 2013 12:38 pm

I am busy evaluating this product. This seems like a show stopper as delivery reports are crucial to our clients. Have you managed to solve the problem in the meanwhile?
hishhash2
Posts: 17
Joined: Mon Jan 30, 2012 11:24 am

Re: Delivery Report works with some providers & not with oth

Post by hishhash2 » Mon Oct 21, 2013 7:42 am

Infact i am still waiting for a reply. Not sure why this question went un-noticed :(

But i am assuming that i've doing something wrong while setting the delivery receipt request....
hishhash2
Posts: 17
Joined: Mon Jan 30, 2012 11:24 am

Re: Delivery Report works with some providers & not with oth

Post by hishhash2 » Tue Oct 22, 2013 7:23 am

The issue is solved now. It was a account configuration error from the Service provider side... :roll:

The first posted code will work perfectly fine....
Locked