Setup Ozeki NG SMS Gateway to send e-mail messages on all outgoing SMS
messages
Ozeki NG SMS Gateway can be setup to be able to send e-mail
messages to the user about each outgoing SMS text message. Normally messages
are forwarded from the user to the Service Provider. Now with this guide you
can configure additional routes for sending messages that will allow to send
e-mail messages to the user about outgoing messages.
How the system works
After you configured your system according to the configuration
guide below, it will work as follows: For example, you login as admin user to
Ozeki NG SMS Gateway. You create a text message and send it out via a service
provider, for example, an SMPP service provider and the message will be
forwarded to the recipient and - at the same time - an email message will also
be sent to the mail box of the user (Figure 1).
Learn the whole process and find the detailed configuration guide below.
Figure 1 - Messages are sent as text messages and as email messages, as well
Configuration guide
In this example I login as admin user to Ozeki NG SMS
Gateway and I send out SMS messages via SMPP
connection. Now I will configure the system to send email messages about
outgoing SMS text messages (Figure 2).
Figure 2 - Admin user and SMPP connection
First you need to install a Loopback connection (Click
on Add new service provider connection). Click on Loopback settings
and make the telephone number overridable by checking Overridable
(Figure 3).
Figure 3 - Make the telephone number overridable
Also install a Forwarder user
and on the Configuration pane of the user make the sender address
overridable by checking Overridable option (Figure 4).
Figure 4 - Make the sender address overridable
Install an E-mail user, as
well. Enable the SMS to E-mail forwarding option and then configure the
settings on SMTP server, Recipient, SMTP authentication,
and Encoding tab (Figure 5).
Figure 5 - Email user configuration
Now configure Inbound routes. First create a new
inbound route. Specify the Source as Loopback; the
Destination as Forwarder and set the Mode to Copy
(Figure 6). In this way you can ensure that the message will be forwarded from
Loopback service provider to Forwarder user.
Figure 6 - Message from Loopback to Forwarder user
Then create a new inbound route again. Set the
Source to Loopback; the Destination to e-mail
and the Mode to Copy (Figure 7). Therefore, messages will also
be forwarded to the email user of Ozeki NG SMS Gateway.
Figure 7 - Messages from Loopback to E-mail user
Now configure Outbound routes. Set Source to
admin and Destination to Loopback (Figure 8). In this way
messages will be sent from user admin to Loopback connection.
Figure 8 - Configure outbound routes
Create a new outbound route. Specify Source as
Forwarder and Destination as SMPP (Figure 9). This route
allows to forward messages from Forwarder user to SMPP connection.
Figure 9 - Message from Forwarder to SMPP
Routing summary
If you followed the configuration above, messages will be
forwarded in the following way (in this example I send messages from user
admin via SMPP connection):
1. step: Messages are sent from admin to Loopback connection
(Figure 10).
2. step: Messages are sent from Loopback to user e-mail and
forwarder (Figure 11).
3. step: Messages are sent out from user e-mail to the mail box of
the recipient as e-mail messages.
4. step: Messages are sent from user forwarder to the recipients as
SMS text messages via SMPP connection (Figure 12).
Figure 10 - Message from admin to Loopback
Figure 11 - Message from Loopback to user e-mail and forwarder
Figure 12 - Messages from user forwarder to the recipients via SMPP connection
Test
Finally I created and send a test message with the above
configuration (Figure 13).
Figure 13 - Test message
On Figure 14 you can see that Ozeki NG SMS Gateway has sent
the message.
Figure 14 - Sent test message in Ozeki NG SMS Gateway