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
Email Gateway Routing Rules
sp_NewPost Add Reply sp_NewTopic Add Topic
April 6, 2016
9:59 am
Henk Helmantel
Admin
Forum Posts: 553
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Doug,

The destination email address in the SMTP mail to the Email Connector can include a message type. The message type is a short text to describes how Diafaan SMS Server should send the message, for instance the message type 'sms.unicode' tells Diafaan SMS Server to send the message as a Unicode message if possible. The message type can also be used to route the message to one or more specific gateway(s).

You can also use your own message type definitions. For example, instead of using the email address '+123456789@host.com', you can use '+123456789.pager@host.com' to set the message type to 'pager'. Everything in the email address between the first dot and the '@' is regarded as the message type and everything in the email address before the first dot (and before the '@') is the destination number of the SMS/pager message.

In the 'Gateways' settings of the Email Connector you can set the routing rules for each of the gateways, depending on the message type of the message. To allow only message with message type 'pager' to be sent with one of the gateways, click on the gateway name and set the option 'Only for message type' to 'pager'. To allow all messages except the ones with message type 'pager' to be sent with one of the gateways set the option 'Only for message type' to '-pager'.

You can find more information about message routing in Diafaan SMS Server in the Route messages page of the manual.

Regards, Henk

April 5, 2016
9:03 pm
Doug
Guest
Guests

Greetings,

I am in the process of testing your current version (3.2.0.1) and have a desire for a routing rule, but am unsure if it can be accommodated.

We have a large number of legacy applications that only support alerts via SMTP. My goal in Diafaan is to have a single Email Connector that can look at the email as written to determine which Gateway to use. For example, I currently have two Gateways, one uses WCTP to send to pagers, and the other uses Clickatell to send SMS messages to phones.

I want to make it so I can send email to the Diafaan server in the form of number@sms or number@pager and have it send the ones that match *@sms to Clickatell and the ones that match @pager to the WCTP Gateway for our paging provider.

I know I can do this with separate Email Gateways on different port numbers, but in some instances I have an app that only supports a single SMTP server and that I want to go to some SMS and some Pager addresses. This would allow me to just build a recipient list that can be easily processed.

Any thoughts?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
8 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: 1847

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 553