SMS sender page in Drupal provided by Ozeki SMS Module
On this page you will find detailed information
on how you can implement SMS functionality to your Drupal web site. After you
downloaded and installed Ozeki NG SMS Gateway
you need to download Ozeki SMS module (available below this page). This
module allows to implement SMS sender page in a Drupal web site from which
users can send SMS messages. If you
follow the instructions and watch the video tutorial you can implement a
reliable and efficient SMS service into your web site.
Prerequisites
In order to setup this solution you need to find a way
to connect your system to the mobile network. You can do this
by using an Internet connection or you can
setup a wireless connection by attaching a GSM phone/GSM modem to your
computer. To help you make a
decision, we have prepared a webpage for you:
Internet based SMS connections vs. GSM modem based (wireless) SMS
connections.
Depending
on what you select, you need the following prerequisites.
Prerequisites for Internet based connection to
the Mobile network
If you wish to connect your system to an SMS service
provider over the Internet you need the following components:
Figure 1/a - Prerequisites for Ozeki NG SMS
Gateway IP SMS connection
In this case you need to find an SMS service
provider who can reach the mobile phones in your area. This SMS
service provider should be able to provide SMS service through
the Internet. To find such a provider, you can check our
website where we list some of them:
SMPP SMS Service providers.
Once you have found such a provider, you need to sign up for
their service to get the connection parameters. You can use these
parameters
to configure your Ozeki NG SMS Gateway software.
Prerequisites for wireless (GSM modem) connection
to the Mobile network
If you wish to connect your system to the mobile
network wirelessly, you need a GSM modem or GSM phone, that you
can attach to your computer with a data cable. In this case your Ozeki
NG SMS Gateway software will operate this phone and will send and receive
SMS messages wirelessly. To setup this connection method, you need the
following components:
Figure 1/b - Prerequisites for Ozeki NG SMS
Gateway GSM modem connection
Your checklist (for GSM modem connection):
*The SIM card will come with a plan, that will
determine how much money you will spend on each SMS.
System architecture
If you meet the requirements above you can start to
configure your system. It will function as follows: after you downloaded the
OzekiSMS module, you can select the "SMS sender page" module in it to install.
A form will appear after the installation in the content field of your web site
that will be available with a link in the menu or with an URL. Then users only
need to enter the recipient and the message text, and click on "Send message"
button. Ozeki NG SMS Gateway will forward the message to the recipient
(Figure 2). It
connects to the mobile network either with GSM
modem connection or IP SMS connection.

Figure 2 - System architecture diagram
Configuration steps
To configure your system to be able to send SMS messages from
Drupal follow the steps below and watch the video tutorial.
First, download and extract
ozekisms.zip to your computer. In our
example I extracted it to the desktop
(Figure 3).

Figure 3 - Ozeki SMS module
You need to copy this module so right click on it and select
"Copy" option (Figure 4).

Figure 4 - Copy Ozeki SMS module
Paste the module into the modules folder of Drupal. The relative
path to Drupal should be \sites\default\modules (Figure 5).

Figure 5 - Full path of Ozeki SMS module
Start your browser and open your Drupal web site (Figure 6).

Figure 6 - Open Drupal homepage
Log into your Drupal web site with your username and password
(Figure 7).

Figure 7 - Log into Drupal
Click on "Administer" in the menu and click on "Modules" under
"Site building" pane (Figure 8).

Figure 8 - Drupal administer menu
In Ozeki SMS part enable "Ozeki SMS module" and click on "Save
configuration" (Figure 9).

Figure 9 - Check Ozeki SMS module
You can configure this module by clicking on "Site
configuration" menu item. Select "Ozeki SMS module settings" (Figure 10).

Figure 10 - Select Ozeki SMS module settings menu item
On the form provide the following values:
IP address: this is the IP address of the computer where Ozeki NG SMS Gateway
has been installed
HTTP Port number: the port number of the built-in HTTP server of the gateway
Username and password: the username and password you use to log into Ozeki NG
SMS Gateway
HTTP GET string: the module will use this string to send out SMS messages.
(If you leave the default settings unchanged (even you leave the default username:
"admin" and password: "abc123") and Ozeki NG SMS Gateway has been installed to
the same computer as Drupal, then this module also will work properly.)
This HTTP GET string can be used with any other SMS gateway that has a built-in
HTTP server.
Finally save the settings by clicking on "Save configuration"

Figure 11 - Settings
To test the system I click on "Send an SMS" link in the menu
(the SMS sending page is available via this link). I provide the recipient phone
number and compose the message. Finally, I click on "Send message" button. These
are the steps of SMS sending with this module (Figure 12).

Figure 12 - Send SMS message
If you take a look at Ozeki NG SMS Gateway you can see the
message has been sent to the recipient (Figure 13).

Figure 13 - Sent SMS message in Ozeki NG SMS Gateway
Thank you for reading this guide. If you still have further
questions please contact us at
info @ ozekisms.com
Related pages:
Further readings:
|