Support forum
There are two issues in the logs with the message ID.
1. I do not see a submit_sm_resp packet in the log that returns the message id for the message. But this could be an issue with the forum.
2. The 'id:' field in the DLR contains two leading space characters and this is not expected by Diafaan SMS Server (it is also not according to the specifications).
At the moment the SMPP Gateway can only handle one space character between the 'id:' and the message ID, we will add the functionality to handle two space characters in the next version of Diafaan SMS Server.
Since your license is still in the free update and support period, I will send you an email with a plugin for the SMPP Gateway with the new functionality later today.
Regards, Henk
10:10 pm
Hello,
Change done MessageIdFormat to Alphanumeric without any change
Trace bellow
regards,
TX
2026/04/27 20:06:13.189 > 000000430000000400000000001199CE0005004544470001013234313632383238323938000000000000010000001448656C6C6F2066726F6D206E6174796162697021
2026/04/27 20:06:13.189 - command:submit_sm status:ok sequence:1153486 source:EDG dest:+24162828298 short_message:Hello from natyabip!
2026/04/27 20:06:13.486 0000001180000005000000000000000B00
2026/04/27 20:06:15.302 - command:deliver_sm_resp status:ok sequence:11
2026/04/27 20:06:21.071 < 0000007D00000005000000000000000C0001013234313632383238323938000500454447000400000000000000004E69643A20203537326230633536207375626D697420646174653A3236303432373230303720646F6E6520646174653A3236303432373230303720737461743A44454C49565244206572723A303030
2026/04/27 20:06:21.071 - command:deliver_sm status:ok sequence:12 source:+24162828298 dest:EDG receipt:id: 572b0c56 submit date:2604272007 done date:2604272007 stat:DELIVRD err:000
Hello,
The SMPP Gateway in Diafaan SMS Server should handle one extra space after the 'id:' in the DLR without issues so I do not think that this is the causes of the problem.
It is more likely that the message ID format in the SMPP Gateway settings does not match the message ID format that the SMPP server uses. This is a common issue with SMPP because the message ID format is not defined consistently in different versions of the SMPP specifications.
Can you try if setting the 'MessageIdFormat' property in the advanced settings of the SMPP Gateway to 'Alphanumeric' works correctly with your SMPP server?
If this does not work correctly then I would like to see the full DLR string that you receive from the SMPP server, preferably in a communication log of the SMPP Gateway together with the outgoing message.
Regards, Henk
11:26 am
Hi,
We are facing a DLR matching issue on Diafaan SMPP Server.
DLRs are received correctly from the SMSC, but the Message ID inside the delivery receipt contains leading spaces.
Example:
Submitted Message ID:
7d16996f
DLR received:
id: 7d16996f
Due to the extra spaces after id:, Diafaan does not automatically match the DLR with the original message.
We would like to know:
Is there any way in Diafaan to trim or ignore leading/trailing spaces in the Message ID during DLR matching?
Can the Message ID parsing be customized (e.g., via scripting or configuration)?
Has anyone experienced similar issues with non-standard DLR formats and how did you handle it?
At the moment, we are trying to avoid relying on the SMSC to fix the formatting.
Any guidance or workaround would be highly appreciated.
Thanks.
1 Guest(s)
Add Reply
Add Topic
Offline
Quote