Submit response problem

.NET library for SMPP protocol
Locked
azeri_ismayil
Posts: 1
Joined: Sun Aug 30, 2015 1:09 pm

Submit response problem

Post by azeri_ismayil » Sun Aug 30, 2015 1:14 pm

Hello,
When I try to send async message the SMSC returns two or more submit response in one message. I cant handle two response in evSubmitComplete event.
This is Wireshark message:
30 65.110633000 10.220.37.27 192.168.65.5 SMPP 106 SMPP Submit_sm - resp: "Ok", Submit_sm - resp: "Ok"
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Submit response problem

Post by alt » Fri Sep 11, 2015 8:56 am

Hi,

I think it happens only when you send long text. In this case you actually send several text parts in several SubmitSm PDUs.

LONG TEXT (LocalTextId):
- SubmitSm (sequence_number1) -> SubmitSmResp (MessageId1) EMSE_ROK
- SubmitSm (sequence_number2) -> SubmitSmResp (MessageId2) EMSE_ROK


In order to make sure that SMPP server accepted all text parts you need to check that for corresponding sequence_numbers you receive responses with status EMSE_ROK and MessageId of the server.
Locked