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
Using Diafaan SMS Server in stead of Diafaan Oproep server
sp_NewPost Add Reply sp_NewTopic Add Topic
October 16, 2019
11:40 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

October 16, 2019
8:51 am
Edwin Scheffer
Guest
Guests

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

October 14, 2019
1:36 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

October 14, 2019
9:18 am
Edwin Scheffer
Guest
Guests

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

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488