You can use the MessageGuid field to fill in your own message ID, this field is transferred transparently from the MessageOut table to the MessageLog table and is not used internally by Diafaan SMS Server.
The message flow in Diafaan SMS Server is as follows: The SQL Connector reads the messages from the MessageOut table and removes the messages from the table or marks them as read. The messages are placed in the internal send queue of Diafaan SMS Server and are sent with one of the available gateways. By default, Diafaan SMS Server tries to send the messages up to 3 times with each available gateway until the message is accepted by the SMS server, it is marked as failed when it cannot be sent by one of the gateways. The message is then placed in the MessageLog table.
If one of the gateways receives a delivery report for a message (either 'delivered on the phone' or 'could not be delivered') the corresponding record in the MessageLog table is updated with the latest status. Diafaan SMS Server does not try to send the message again if it could not be delivered to the phone.
Thank you very much for your answer. I
s there also a description of the columns in the MessageOut and MessageLog tables.
How can we connect a MessageLog table entry to an entry in the MessageOut table.
Our application must be able to tell whether a message in the MessageOut is send correctly, this means that we must find the row in the table MessageLog is some way.
How is a resend of a message handled, is there a new row created in the mesagelog table and how can we connect this row to the messageout table?
A description of the flow of the different tables would be very appreciated.
Hope you can help me on this also.
You are correct, Diafaan SMS Server does not have an OCX component.
The HTTP API of Diafaan SMS Server is implemented in the Web Connector, you can find a simple C# example to send a message here.
At this moment we use Diafaan Oproep server from a self build service (C#) using the oproep.ocx. We want to upgrade to Diafaan SMS service but understand there is no OCX available for this version.
How can we interface with Diafaan SMS server from our self build service for sending messages by HTTP directly?
Can we call the HTTP API methods directly from our service?
Please advice me.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 549
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1093