Support forum
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.
Regards, Henk
8:51 am
Hi Henk,
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.
Regards,
Edwin Scheffer
Hello Edwin,
You are correct, Diafaan SMS Server does not have an OCX component.
The best ways to connect an external application with Diafaan SMS Server is either the HTTP API or a common database table.
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.
Regards, Henk
9:18 am
Hi,
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.
Regards,
Edwin Scheffer/Centric
Most Users Ever Online: 529
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 681
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1160
Posts: 3961
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1517