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.
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?
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.
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
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 593
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1248