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
Inbound SMS on basic from Clickatell
sp_NewPost Add Reply sp_NewTopic Add Topic
July 27, 2015
9:40 am
Henk Helmantel
Admin
Forum Posts: 551
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

It is important that you only replace the single line with the new code. You have probably also replaced the next line in the script with the code and that results in the compile error.

To make sure that you only replace the single line in the script you can load the original 'ClickatellCallbackScript.cs' script in an editor like Notepad and replace the line with the new code in the editor. You can then copy and paste the new script in Diafaan SMS Server. When you use an editor like Notepad, changing the script may be easier and more precise since it is easy to select more text than you intend with built-in scripting editor in Diafaan SMS Server.

You do not have to change anything in the resulting script, if you replace the empty string "" with the IP number of Clickatell the script won't work anymore.

Regards, Henk

July 27, 2015
7:48 am
Steven
Guest
Guests

I added the new line and get an line 86 } Expected error. In the "" do I put clickatell IP? That is what I have done. Thanks. Can send screen shot to you?

July 25, 2015
10:53 am
Henk Helmantel
Admin
Forum Posts: 551
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The empty messages are probably caused by HTTP calls to the script that are not originating from Clickatell. The source of these HTTP calls could be a process on your network but it could also be hacking attempts from the Internet.

The 'ClickatellCallbackScript.cs' script does not filter out these invalid HTTP calls but it is not very difficult to add this functionality to the script. You can just replace the line:

PostReceiveMessage(toAddress, fromAddress, messageText, messageType, messageId, sendTime, receiveTime, pdu);

with:

if (fromAddress != "") {
PostReceiveMessage(toAddress, fromAddress, messageText, messageType, messageId, sendTime, receiveTime, pdu);
}

Regards, Henk

July 24, 2015
6:55 pm
Steven
Guest
Guests

I now have the scripting gateway working. However I still get these odd messages in that are blank. No sender or message. How can I block those? Also is there a way to play a notification that a new message has arrived back? The client has multiple windows open and would have to monitor closely the inbox. A sound would be sweet, but I can't find an option for that. Thanks so much for your help

Steve

July 22, 2015
9:37 am
Henk Helmantel
Admin
Forum Posts: 551
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Steven,

The 'ClickatellCallbackScript.cs' gateway script in the Diafaan SMS Server Scripting Pack should compile without errors. It is possible that the default script of the Scripting Gateway is not replaced correctly with the 'ClickatellCallbackScript.cs' and that you have left some (or all) code of the default gateway script intact.

Can you try to remove the whole script from the Scripting Gateway with the key commands CTRL-A and DEL in the scripting editor and then copy and past the clean 'ClickatellCallbackScript.cs' script code back to the Scripting Gateway?

Regards, Henk

July 22, 2015
4:21 am
Steven
Guest
Guests

Hello, Im a bit new to the software, and need some help from the community. I have a clickatell account setup for all outbound. Its working perfectly. I am now trying to set up inbound. I have added the clickatell script and ran the compile button and get two errors not mentioned in the instructions.
Unexpected preprocessor directive
Type or name space definition, or end of life expected

I need some help if anyone has set this up. I told the client this was possible and bought the basic licenses. Now I just need some quick help..

Thanks so much..

Steve

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 364

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 532

Posts: 1844

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 551