Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

delivery from Database
sp_NewPost Add Reply sp_NewTopic Add Topic
September 8, 2020
11:17 am
Henk Helmantel
Forum Posts: 1502
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The Generic HTTP Gateway in Diafaan SMS Server does not have an option to update the delivery status of a message. When you want to send a message over HTTP and also handle the delivery report you can use a Scripting Gateway or a specific HTTP Gateway with a modified script.

To be able to change the script of a specific HTTP Gateway you have to take the following steps:
- Add a new HTTP Gateway for a specific service, e.g. BulkSMS
- Open the Advanced settings of the new HTTP Gateway
- Set the 'ShowAdvancedOptions' to 'True' and click on 'Save'
- Open the Advanced settings of the HTTP Gateway again
- Click on 'Edit BulkSMS script' in the BulkSMS settings

We do not have an example script for the specific message flow that you describe but you can modify the BulkSMS script to perform the steps that you describe.

Regards, Henk

September 8, 2020
7:49 am


The scheme is as follows:
SMPP connector sends sms to HTTP gateway. The gateway saves the delivery report in the MySQL database. How can I transfer this report to the SMPP connector?

September 7, 2020
2:00 pm
Henk Helmantel
Forum Posts: 1502
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Vit,

You can use the SQL Connector in Diafaan SMS Server to store the outbound and inbound messages in a MySQL database. By default, the SQL Connector only stores the messages that are sent from the same SQL Connector but it is also possible to write the status of all the messages to the database.

To save the status of all messages to a MySQL database, first create a new SQL Connector for your MySQL database and then set the option 'Log all messages to SQL Connector ...' in the advanced general options to the name of the new SQL Connector.

Regards, Henk

September 6, 2020
5:13 pm


I'm testing trial version of diafaan server.
All my settings were successful !!
But I do not understand how I can retrieve the status of the delivered message from the mysql database.
I tried through http-callback, but the attempt failed (
Can you help solve this issue and send an example script

Thanks in advance for your reply

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 678

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1149

Posts: 3929

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1502