Page 1 of 1

Default RegisteredDelivery value and PriorityDelivery value

Posted: Fri Dec 31, 2010 9:01 am
by mrudula
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

Re: Default RegisteredDelivery value and PriorityDelivery va

Posted: Fri Dec 31, 2010 10:46 am
by alt
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);