Nice, thanks for your help.
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.
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.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 511
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 973