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
how to get the full SMPP response and update to MessageLog table
sp_NewPost Add Reply sp_NewTopic Add Topic
December 8, 2013
3:10 pm
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Kev,

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 dms@diafaan.com, please include the serial number or purchase order number of your license in the email.

Regards, Henk

December 6, 2013
6:50 pm
Kev
Guest
Guests

Hi Henk,

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.

Kev

August 18, 2013
3:00 pm
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Sarfaraz,

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.

Regards, Henk

August 17, 2013
5:08 pm
Sarfaraz
Guest
Guests

Hello Henk,

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!!!
SarfaraZ

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 671

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1140

Posts: 3897

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1487