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
Prohibit sending when number is missing +
sp_NewPost Add Reply sp_NewTopic Add Topic
January 13, 2021
11:07 am
Henk Helmantel
Admin
Forum Posts: 1312
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Allan,

The best option, if possible, is to change the number format of the destination numbers in the NumberTemplate setting of the connector(s). But this is only possible if the local numbers can be recognized and changed into the international number format consistently.

Diafaan SMS Server has two ways to block messages with specific number formats. you can use the Message specific routing using the To Address to allow only numbers in a specific format to be sent with the gateway(s), all other messages will fail with a 'Gateway not available' error.

Another way to block messages is to use the HTTP callback function, in combination with a C# (in version 4.5 or higher) or PHP script. With this option you can block the messages completely so that they do not enter Diafaan SMS Server at all.

Regards, Henk

January 13, 2021
9:48 am
Allan
Guest
Guests

Due to an error in the software that generates our SMSes , we have a large number of messages missing ´+'
The SMS server interprets these messages as international messages , and sends them to the wrong country.

Is there any way I can block/reject or otherwise ensure that messages are only sent if the contain + and countrycode.

Regards
Allan

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 616

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1024

Posts: 3513

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1312