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"
Submit response problem
-
- Posts: 1
- Joined: Sun Aug 30, 2015 1:09 pm
Re: Submit response problem
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.
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.