SEND SMS ALERT FROM YOUR SYSTEM: Twitter Joomla HP Openview WhatsUp Gold Sharepoint Notes
Home Solutions Applications Industries Products About (5 MB)
for Windows 10, Windows 7,8, Windows Server 2019, 2016, 2012 R2
Operating System
free 20 day trial version

Contact Us!
If you wish to get further information, do not hesitate to contact us!


Useful information
How to send SMS with a GSM modem attached to your PC?

This solution is best if you are planning to send or receive up to 4000 SMS per day. Read more:
  • Prerequisites
  • Setup instructions
  • Video tutorial

    How to send SMS through the Internet?

    If you wish to send more then 4000 SMS per day, it is a good idea to use an Internet SMS service provider. Read more:
  • Prerequisites
  • Setup instructions
  • Automate phone calls!

    Ozeki Phone System XE - VoIP PBX Software is an excellent tool for making automated phone calls.

    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 and watch the video tutorial about the configuration process.


    Send SMS to Active Directory users (part 1/2, configure your modem)

    Send SMS to Active Directory users (part 1/2, configure your system)

    Contents of this page:

    What are the prerequisites of this solution?

    Please note the follows:

    • 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

    How will the SMS system work

    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:

    Instructions for Active Directory SMS configuration

    Figure 3 demonstrates the server computer. This computer is the controller of domain. Its IP address is

    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).

    Figure 4 - Mobile field of users

    Ozeki NG SMS Gateway configuration

    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.

    Figure 9 - Contacts are listed

    Webserver configuration

    I have downloaded file to the desktop. Then copy active-directory-sms folder (Figure 10).

    Figure 10 - Download and extract

    And paste it into webservers's root www folder folder (Figure 11).

    Figure 11 - Paste active-directory-sms into webservers's root www folder

    Database configuration

    Next, open create-table-script.txt file and copy its content (Figure 12).

    Figure 12 - Copy the content of create-table-script

    And paste the content into a database management application and execute it (Figure 13).

    Figure 13 - Execute the content of create-table-script

    PHP configuration

    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).

    Figure 15 - Delete comment

    Now restart the webserver service (Figure 16).

    Figure 16 - Restart webserver

    Test Active Directory SMS messaging

    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 (, 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 ( 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 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:

    Download Ozeki NG SMS Gateway to start SMS messaging >>>

    Back to the top

    Copyright © 2000- - Ozeki Ltd |
    Legal | Privacy | Terms of use | 8188 | | Login