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
Gateway or Connector to ignore non numeric numbers
sp_NewTopic Add Topic
December 24, 2025
10:47 am
Henk Helmantel
Admin
Forum Posts: 1556
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Sarfaraz,

In the basic- and full editions of Diafaan SMS Server you can use an HTTP callback script (preferably a C# callback script) to block specific messages. The script can allow only messages with numbers with a specific number format and block all other messages.

Another way to block messages is to use the gateway routing options of the connector(s), in the Gateways settings of each connector you can set the option 'Only for to address' to a regular expression for each gateway. The messages are not routed to the gateway if the destination number does not match the regular expression.

With he first option the rejected messages do not enter Diafaan SMS Server at all and you do not see them in the send log. With the second option the rejected messages are shown in the send log with an error.

Regards, Henk

December 23, 2025
5:02 pm
Sarfaraz
Guest
Guests

Hello Hank,

Hope you are doing well. Its been a long time.

We have been facing one issue, sometime customers are sending raw list of numbers like 088-39120383, 99200752/9004479, 44715~58538, 66(0870047076, 32802881091-, 44e89, 44NA, and so on. Is there a way by which the gateway or connector reject such numbers, don't send them ahead and just remove them, also no need to log such number in the MessageLog.

Do let me know if there is work round for such use case.

Thanks and have a great day!!!

Forum Timezone: Europe/Amsterdam
Most Users Ever Online: 529
Currently Online:
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 695
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1186
Posts: 4044
Newest Members:
, Henk Helmantel
Administrators: Henk Helmantel: 1556