Default RegisteredDelivery value and PriorityDelivery value

Smpp v3.4 client

Moderator: alt

Locked
mrudula
Posts: 20
Joined: Thu Jul 08, 2010 9:20 am

Default RegisteredDelivery value and PriorityDelivery value

Post by mrudula » Fri Dec 31, 2010 9:01 am

We are using client DLL and when we are binding to a smpp gateway it is by default passing value RegisteredDelivery=0 - and PriorityDelivery=0 we have not passed this value from our application.

Can you confirm default values being passed when SMPP is bind..? Also suggest how can we disable passing these values?

Thanks
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Default RegisteredDelivery value and PriorityDelivery va

Post by alt » Fri Dec 31, 2010 10:46 am

You can change any property before sumbit.

Code: Select all

                List<SubmitSm> req = client.PrepareSubmit(
                      mode,
                      byte.Parse(tbSrcAdrTON.Text),
                      byte.Parse(tbSrcAdrNPI.Text),
                      tbSrcAdr.Text,
                      byte.Parse(tbDestAdrTON.Text),
                      byte.Parse(tbDestAdrNPI.Text),
                      tbDestAdr.Text,
                      coding,
                      tbSend.Text);

                foreach (SubmitSm sm in req)
                {
                    sm.RegisteredDelivery = 1;
                }

                List<SubmitSmResp> resp = client.Submit(req);
Locked