Configuration guide for Active Directory SMS implementation
On this page you will find a detailed
configuration guide that explains how to setup Ozeki NG SMS Gateway to send
SMS messages to Active Directory users. Please download active-directory-sms.zip
and watch the video tutorial about the configuration process.
To ensure that LDAP contacts will appear in Ozeki NG SMS Gateway you need to
use version 3.15.17 or newer of Ozeki NG SMS
Gateway.
Use at least version 5 of PHP
The example below has been tested with Windows
Server 2003
This solution also requires a stable connection to the mobile
network. You can easily connect your system to the mobile network either
with Internet connection or with a wireless connection. Internet connection (IP SMS
connection) refers to a direct connection to the SMS Center of service provider
while wireless connection can be setup with a GSM modem or GSM phone attached
to the PC. The following webpage compares the two connection options:
Internet based SMS connections vs. GSM modem based (wireless) SMS
connections.
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 - IP SMS connection checklist
An SMS service provider needs to be found in order to
setup the Internet connection. This service provider should be able to
reach the mobile phones in your area and must support 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 chose the 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.
GSM modem connection checklist
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
If you follow the configuration guide below, you will get an
SMS system that works as follows:
For proper operation, you need to create a website that allows sending SMS
messages to users. Once it is ready, you can enter this site with you login
name and password. Select AD users to whom you wish to send SMS messages. Here
you can select those users who have entered their telephone number at Mobile field
previously. After selecting the recipients, you can compose the message text
and click on Send message button. Ozeki NG SMS Gateway processes this messages
and forwards it to the respective users (Figure 2).
Figure 2 - System architecture
If you have any further question please contact us right now:
info@ozekisms.com
Figure 3 demonstrates the server computer. This computer is the
controller of ozekisms.org domain. Its IP address is 192.168.91.156.
Figure 3 - Server computer
For demonstration, I have created some test users. The mobile
phone numbers of users are also provided in the Mobile field in
Telephones tab in Active Directory
(Figure 4).
In this example, Ozeki NG SMS Gateway and the webserver has
been installed to another computer.
Start Ozeki NG SMS Gateway. Login as user admin. Click on Configure
and in in Advanced tab find the
Addressbook section. Set Type
of addressbook to LDAP Addressbook and click on OK (Figure 5).
Figure 5 - LDAP addressbook type
Still in Advanced tab go to Sender address
section and enable Overridable function (Figure 6).
Figure 6 - Enable overridable
In Service providers section select the service provider (SMPP)
and in SMPP settings tab enable Overridable option (Figure 7).
Figure 7 - Enable overridable option for the service provider
In Addressbook configuration specify the LDAP settings
in General tab. Host is the IP address of the server
computer where Active Directory is configured. Base DN is
"dc=ozekisms,dc=org". Click on OK (Figure 8).
Figure 8 - Configure the Addressbook
On Figure 9 you can see that all contacts have been polled from
Active Directory and
listed in Ozeki NG SMS Gateway.
Enter Windows directory and open php.ini
(Figure 14).
Figure 14 - Open php.ini
Enable the LDAP extension: find the line
;extension=php_ldap.dll and delete the
comment (;) at the start of the line. So the final line should be look
like this: extension=php_ldap.dll (Figure 15).
Open active-directory-sms site. If you login as admin (enter
smsadmin as username and abc123 as password) you will arrive at
Administer settings page (Figure 17).
Figure 17 - Login as admin
Here you can set the IP address (127.0.0.1), the port number
(9501), the username (admin) and the password (abc123) of Ozeki
NG SMS Gateway. If you specified these parameters click on Save settings
button. Below this page you can also specify the Host (192.168.91.156)
and the Base DN ("dc=ozekisms,dc=org"). Again click on Save settings
button (Figure 18).
Figure 18 - Administer settings
You can also login as a user (in this example I login as
test2@ozekisms.org) with your Active Directory login name and password (Figure 19).
Figure 19 - Login as user
In this case you can select contacts to whom you want to send
SMS text message, you can write your message and by clicking on Send
message button you can send the message to the selected contacts (Figure 20).
Figure 20 - Send SMS message
Ozeki NG SMS Gateway sent out the message to users I selected
in the previous step as user test2 (Figure 21).
Figure 21 - Sent messages in Ozeki NG SMS Gateway
If you have any further question please contact us right now:
info@ozekisms.com