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
installing script BasicTextInputAndOutput compile errors
sp_NewPost Add Reply sp_NewTopic Add Topic
January 25, 2019
8:33 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

January 25, 2019
1:50 pm
Patrick
Guest
Guests

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 ?

January 24, 2019
1:36 pm
Patrick
Guest
Guests

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.

January 24, 2019
12:16 pm
Patrick
Guest
Guests

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 ?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
1 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