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
URGENT - Block International SMS
sp_NewPost Add Reply sp_NewTopic Add Topic
January 22, 2020
9:40 am
Henk Helmantel
Admin
Forum Posts: 1511
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello SMSer,

I would like to see the configuration file of Diafaan SMS Server (menu options 'File-Export-Configuration') and the event log (menu options 'File-Export-Event log') after sending a message with a number that should be blocked. You can send these two files to email address dms@diafaan.com.

Regards, Henk

January 21, 2020
8:09 pm
SMSer
Guest
Guests

I've try to put some numbers under [deny] header in whitelist option in connector advance setting but the number still sent by the gateway. Please let me know how to block it

January 20, 2020
4:48 pm
Henk Helmantel
Admin
Forum Posts: 1511
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The 'Only for to address' option in the Gateways settings of each connector must be set separately for each gateway and in each connector. If this does not work as expected, I would like to see the configuration file of Diafaan SMS Server (menu options 'File-Export-Configuration'). You can send the file to email address dms@diafaan.com.

The NumberWhiteList option in the advanced settings of each gateway only works for incoming messages. If you want to block or allow numbers in outgoing messages, you can use the NumberWhiteList option in the advanced settings of the connectors.

Regards, Henk

January 20, 2020
3:20 pm
Paul
Guest
Guests

I totally forgot to give you the specs

4.3.0.2

Using an SQL connector to the GSM Modem gateway

January 20, 2020
3:17 pm
Paul
Guest
Guests

I have also added this to my whitelist on my gateway

[allow,nobreak]
+64*
02*

With no effect

January 20, 2020
3:12 pm
Paul
Guest
Guests

Henk,

So I have gone into my Connector, edit connector properties, gateways. I have then ticked Only for to address and set the parameters as

02*,+64*

But other numbers outside this sequence are still being sent through the gateway

January 20, 2020
3:02 pm
Henk Helmantel
Admin
Forum Posts: 1511
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

[* Edited to add the NumberWhiteList option *]
Hello Paul,

The number templates feature in Diafaan SMS Server does not block messages, it only converts the destination numbers from one format to another.

There are three ways to block messages in Diafaan SMS Server:

- The message specific routing options in the 'Gateways' settings of each connector.

- The NumberWhitelist option of each connector can be used to block or allow outgoing messages for specific number ranges.

- The HTTP callback functionality to block some of the messages completely so that they are not even accepted in Diafaan SMS Server.

Regards, Henk

January 20, 2020
2:45 pm
Paul
Guest
Guests

Hi Henk,

Happy New Year

So we have used this number template which for the past few months has worked great for us.

regex:[^\d]replace:template:640[64]########;640[64]#########;640[64]##########;640[64]###########;02[642]########;02[642]#########;02[642]##########;02[642]###########

Just recently we have had a customer that is sending sms to international numbers and has racked up a huge bill.

How can we stop international sms?

Many thanks

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 680

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1156

Posts: 3946

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1511