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
Sending sms message to azure service bus queues
sp_NewPost Add Reply sp_NewTopic Add Topic
August 31, 2018
9:19 am
Henk Helmantel
Admin
Forum Posts: 1517
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The scripts in Diafaan SMS Server use the .NET framework version 2.0 and the scripts can only use .NET assembly DLLs that are also targeted to .NET framework 2.0.

The error indicates that the assembly 'C:\Diafaan\dllSMSSB.dll' is not loaded in Diafaan SMS Server and therefore the dllSMSSB namespace cannot be found.

Regards, Henk

August 30, 2018
10:50 pm
Luis Villar
Guest
Guests

Dear Henk,I have created a DLL with VisualStudio 2015 for framework 4.5 and tried referencing from within the C# conector.

// addReference C:\Diafaan\dllSMSSB.dll

using dllSMSSB;

but I get the following message when compiling

"The type or namespace named dllSMSSB could not be found (are you missing a using directive or an asseblu reference")

the DLL is in the directory folder in the addReference line.

I appreciate any help you can give me.

Luis

August 24, 2018
4:53 am
Luis
Guest
Guests

Thanks!

August 21, 2018
7:18 pm
Henk Helmantel
Admin
Forum Posts: 1517
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Luis,

I have no experience with Azure service bus queues but if I take a quick look at the documentation it should be possible to forward received SMS message to Azure with an HTTP request in the Scripting Connector.

The format of the HTTP call to Azure is very specific, there is a lot of extra information needed in the headers of the HTTP calls but this is all possible with the normal WebClient and HttpWebRequest classes in C#. The best approach is to use Visual Studio to write and test the functionality to forward the message and when this works, copy it to the script in the Scripting Connector. It is much easier to debug the code in Visual Studio then in Diafaan SMS Server.

Regards, Henk

August 20, 2018
10:10 pm
Luis Villar
Guest
Guests

Hi Henk,

Has anybody tried sending the SMS message to Azure service bus queues or topics using the C# Connector?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
6 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: 1160

Posts: 3961

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1517