Diafaan SMS Server does not offer an easy way to decode the SMS receipt information when you set the 'HandleAsReceivedMessageWithTLV' option. But you can use a Scripting Connector to decode the XML record and update the MessageLog table but this requires some experience in programming in C# or Visual Basic.NET.
If you have a valid license of Diafaan SMS Server that is still in the free update and support period, I can provide you with a sample script. You can send a request for the script to email@example.com, please include the serial number or purchase order number of your license in the email.
Following on from this thread, I have the same question. It is still a little unclear exactly how you can get your hands on the xml exposed by setting the ReceiptHandling to output the delivery receipt as HandleAsReceivedMessageWithTLV. I can see it staring at me in the in the ReceiveLog tab of the SMPP gateway, but I have no idea how I would use a script gateway or connector to programmatically extract this outputted xml. I have tried both scripting routes, but haven't managed to get it to work. I might be overlooking the obvious though. I want to be able to extract the xml, convert it into text and update a modified version of the messageLog table. Are you able to provide an explanation of how this can be achieved, highlighting the particular script type required and events, etc. Some sample code would also be good
Thanks in advance.
When you set the "ReceiptHandling" property of the SMPP Gateway to "HandleAsReceivedMessage" or "HandleAsReceivedMessageWithTLV" the receipts from the SMPP server for previously sent messages are handled as received messages instead of delivery reports. This allows you to handle the receipts yourself instead of depending on the send log of Diafaan SMS Server to check what the status of the message is.
Changing the "ReceiptHandling" property does not affect the performance but it has some other consequences. When you set the property to "HandleAsReceivedMessage" or "HandleAsReceivedMessageWithTLV", the send log is not updated anymore when a delivery report is received. That means that you cannot see in the send log anymore if the message is delivered to the mobile phone or when it could not be delivered.
If you select "HandleAsReceivedMessageWithTLV", the message parameters are encoded as an XML text with separate fields for all TLV fields of the SMPP packet.
You can find more information about the "ReceiptHandling" property in the online manual.
Hope you are doing good. We are wanting to explore the HandleAsReceivedMessage or any other option to read the full SMPP delivery confirmation response and update accordingly to the MessageLog table as we want to add some more fields to the MessageLog table. Can you let us know how can we do this and also keeping in mind that it should not affect the performance and not make it slow. Please let us know with some example so we can work on it with our development team.
Thanks and have a great day!!!
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 574
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1187