Support forum
4:17 pm
1 day and then 7 days. the duration between 1st and 7th day is rather long. besides, message will usually be expired after max 3 days.
i suggest 1 day, 2 days and 3 days
The 'OnStatusRequest' function in the Scripting Gateway is called with fixed intervals until a positive or negative status is reported with a call to the 'PostSendResultUpdate' function. The interval times are:
1. 30 seconds
2. 30 minutes
3. 3 hours
4. 1 day
5. 7 days
Regards, Henk
5:21 pm
1. gateway timeout -> i have fixed it
2. how many times will OnStatusREquest be called before postsendresultupdate is called and at what interval? can i change it? it seems to be stopped after 24hours.
"the script calls PostSendResult with a positive status code, the last parameter of this call is set true. This instructs Diafaan SMS Server to fire the OnStatusRequest event one or more times depending on the message status."
1. You can find a number of example scripts for the Scripting Gateway in the Scripting Pack on the download page of our website.
2. The generic HTTP gateway does not support delivery reports and does not store the response of the HTTP call, this is only possible with a customized script.
3. Can you send me the script that generates this error and the configuration file of Diafaan SMS Server (menu options 'File-Export-Configuration')? You can send these two files to email address dms@diafaan.com.
Regards, Henk
10:46 am
1. i would be nice if u can provide API GUIDE for scripting gateway
2. does your generic gateway record down httpget response (messageId) ? if yes, i can push result to http server and call PostSendResultUpdate to update delivery report.
since your generic gateway can work out of the box, it does save me and other customers a lot of development work to re-write a similar generic gateway.
2. using scripting gateway, i experienced "300, Gateway.Error.Timeout" from time to time. but calling the same HTTP API using generic gateway, never has "300, Gateway.Error.Timeout" . pls kindly advise
6:58 pm
The httpget callback is as simple as http://localhost?msgid=&status=
6:38 pm
Pls tell me which functions to receive callback and the callback api format (http get) to deliver DLR status
I am afraid that ready made scripts contain too many functions.
Your help is much appreciated.
Hello Peter,
The generic HTTP Gateway option does not support delivery reports. The procedure to receive delivery reports is different for each HTTP API and that means that the only way to properly implement this is with a customized script.
You can use the Scripting Gateway to make a script in C# or Visual Basic.NET that can both send messages and receive delivery reports. The Scripting Pack on the download page of this website has some example scripts that you can use as a start.
Another way to create a script is to add a specific HTTP Gateway (for instance for the BulkSMS service), then set the 'ShowAdvancedOptions' in the advanced settings of the BulkSMS HTTP Gateway to 'True' and click on "Edit 'BulkSMS' script" in the BulkSMS options. You then see a script with the capabilities to send SMS messages and receive delivery reports and SMS messages. You can use this script as a base for your own customized script.
Regards, Henk
11:43 am
i am using generic gateway. I need handset DLR. how can we provide handset DLR to SMPP connector? i am using another smpp server software which allows me to input message id and DLR status via HTTP API call. then the server will relay back DLR to smpp client.
Most Users Ever Online: 529
Currently Online:
8 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 HelmantelAdministrators: Henk Helmantel: 1488