Support forum
The source code for the script is valid, I have just tested it to be sure that it works with the latest version of Diafaan SMS Server and it should work without any changes to the source of the script.
If the text file is deleted it means that the script is sending a message to the send queue of Diafaan SMS Server, not necessarily a message that can be sent out with one of the gateways but the message must at least be visible as a sent or failed message in the send log of Diafaan SMS Server.
Regards, Henk
1:50 pm
Hello Henk,
I am using Scripting Connector C# with the sample code BasicTextInputAndOutput.cs to handle the sending/receiving of SMS messages via input and output txt-files. When I add a txt-file to the out-folder, the file is deleted almost immediately, so I assume that it is processed by the enabled script. Nevertheless I don't receive an SMS-message and I also cannot find any logging about it.
I checked the sourcecode and I see that the host var is initialized as null. Do I have to change this value to have the SMS messages effectively sent ?
1:36 pm
Hello Henk,
I've solved my problem. It was caused by a bad copy. Not all original lines of the default code were removed before copying the new code.
12:16 pm
Hello Henk,
I'm preparing the migration from our old DIAFAAN Oproep voor Netwerken installation to SMS server.
I have installed DIAFAAN SMS Server and want to send SMS messages, triggered by input files, and start postmessage processes triggered by output files.
I have activated Scripting connector for C# code and copied the code from the default script BasicTextInputAndOutput in the Editor of SMS server without changing the code.
Compile gives some errors on IScript and IScriptHost.
I do not succeed to Activate the script because of the errors.
How can I solve this ?
Most Users Ever Online: 529
Currently Online:
5 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: 1159
Posts: 3956
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1515