How to send deliver_sm_resp only

.NET library for SMPP protocol
Locked
huiz84
Posts: 3
Joined: Mon Jun 17, 2013 8:26 am

How to send deliver_sm_resp only

Post by huiz84 »

Hi,

i need send deliversmresp back to my ussd gateway.

According to my vendor, i should
" sending the deliver_sm_resp and should be no submit_sm packet send back to USSD Gateway, since the user has been triggered the exit. "

please help.
alt
Site Admin
Posts: 992
Joined: Tue Apr 25, 2006 9:45 am

Re: How to send deliver_sm_resp only

Post by alt »

Vendor tells that you don't need to send SubmitSm after DeliverSm when USSD dialog is finished.
huiz84
Posts: 3
Joined: Mon Jun 17, 2013 8:26 am

Re: How to send deliver_sm_resp only

Post by huiz84 »

How to send back deliver_sm_resp without submit sm?
alt
Site Admin
Posts: 992
Joined: Tue Apr 25, 2006 9:45 am

Re: How to send deliver_sm_resp only

Post by alt »

DeliverSmResp is sent automatically after finishing event handler for evDeliverSm event.
You can change DeliverSmResp properties in the object data.Response.

Code: Select all

data.Response.Status = CommandStatus.ESME_RSYSERR;
Locked