Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Question about SMPP DLRonStatus200 option.
sp_NewPost Add Reply sp_NewTopic Add Topic
December 6, 2017
1:55 pm
Jaime Cruz
Guest
Guests

Nice, thanks for your help.

December 6, 2017
11:52 am
Henk Helmantel
Admin
Forum Posts: 740
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Jaime,

I have confirmed that the 'additional_status_info_text' field is indeed causing the malformed package error. At the moment this field is not null terminated and that can cause a problem with SMPP clients that use a strict syntax check on the SMPP packets. We will fix this in the next update of Diafaan SMS Server.

Users of Diafaan SMS Server with a license that is still in the free update and support period can request a plugin for the SMPP Connector when they are affected by this problem and need a fix before the next update is released.

Regards, Henk

December 6, 2017
4:17 am
Jaime Cruz
Guest
Guests

Hi All,
I'm testing the Diafaan trial server for a couple of weeks and it's a very configurable software with great options, I'm using the following schema:

SMPP Client -> Diafaan SMPP Connector -> Scripting Gateway

In the SMPP Connector we set the SendDlrOnStatus200 = Delivered & MessageIdFormat=GUID & The rest parameters are Diafaan default.
We see that Diafaan send a Deliver_sm after each received Submit_sm but our SMPP Client received the Deliver_sm as a bad smpp packet.
We do a wireshark and see that the wireshark tag the Diafaan Deliver_sm as a "Malformed Packet".

Here is the Wireshark set of packets description:
SmppClientIP DiafaanIP SMPP 197 SMPP Submit_sm
DiafaanIP SmppClientIP SMPP 119 SMPP Submit_sm - resp: "Ok"
DiafaanIP SmppClientIP SMPP 310 SMPP Deliver_sm[Malformed Packet]
SmppClientIP DiafaanIP SMPP 83 SMPP Deliver_sm - resp: "Ok"

The following is the Deliver_sm that the DiafaanSMS sends, as I see it looks good.
id:adb4eac3-2a03-494e-8f67-90f0e0f5ee2e sub:001 dlvrd:001 submit date:1712051437 done date:1712051437 stat:DELIVERD err:000 text:

Also the diafaanSMS adds four optional parameters to the Deliver_sm
Optional parameter: receipted_message_id (0x001e)
Optional parameter: message_state (0x0427)
Optional parameter: network_error_code (0x0423)
Optional parameter: additional_status_info_text (0x001d)

Now, this is an assumption based on other Deliver_sm packets that I have seen happen without this "Malformed packet" error:
it seems that the parameter additional_status_info_text is wrong as I do not see it in other Deliver_sm, but I'm not an expert on the SMPP protocol to know it.

So, my query is to know if the malformed package error indicated by the trace in Wireshark is correct and what Diafaan option would allow me to solve it.

thank you very much for your help.

Jaime

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 439

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 656

Posts: 2250

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 740