Quick Start Guide
This QuickStart guide explains how to setup your SMS gateway quickly to evaluate it's functionality, and how to send your first SMS. The information provided here will help you start using the software as soon as you have downloaded and installed it. You can learn how to login, how to configure connectivity to the mobile network, and how to compose and send SMS messages.
Video tutorial: How to send SMS using a GSM modem from a computer.
Prerequisites
To setup your system, you need a mobile phone subscription, that comes with a SIM card. (You can get such a subscription and a SIM card at any GSM shop). In addition to the SIM card you need a mobile phone or a GSM modem that can be used to send and receive SMS messages from a PC . You also need a data cable that can be used to connect your modem to your computer. To the computer you need to Download and Install Ozeki NG SMS Gateway.Your checklist:
Ozeki NG SMS Gateway can be obtained by opening the download page: Download Ozeki NG SMS Gateway! |
If you use GSM modem open the following page: Installation of a Multitech GSM modem |
Opening Ozeki NG SMS Gateway software
After you have downloaded and installed Ozeki NG - SMS Gateway, the first thing you will do is login to the user interface (the management console). You can login using Internet Explorer or Mozilla Firefox, by opening the login window. The login window can be accessed at the http://127.0.0.1:9501 URL, but in most cases it will show up right after the installation of the program, along with the Installation Complete dialog box. You can also open the login window by clicking the Manage Ozeki NG program icon in the Desktop (Figure 2).
If the login window does not show up, you can try to open it by entering its URL in the browser: http://127.0.0.1:9501/.
If it still won't show up, you should consult the Login problems page. You are very likely to find some advice there to solve this problem.
In the login window, enter your username and password in the respective fields. The default username is admin, and the default password is what you supplied durin installation (Figure 2). For security reasons your password should be a combination of letters and digits (at least one or two of the latter), and it should consist of at least 6 characters. You can change the password in the Authentication tab of a Standard user. (The admin user is a standard user.) See Figure 9 below. (See also the Standard User page.)
Change the password
In the login form of the Ozeki NG SMS Gateway, provide 'admin' as the login username and provide the password that was supplied during the installation process.
If you misspell your password, the login window will show up with a blank username and password field again.
Add a service provider
To be able to send SMS messages, you need to install and
configure a service provider connection.
You can do it by clicking the
Add service provider link or the Addbutton
in the top right-hand corner of the Service providers panel on the
left of the interface.
You can also add a service provider connection by clicking the Add service provider item in the Service providers menu.
Choose SMPP Connection
After you have clicked one of these, the Add service provider panel will show up on the right of the interface. The panel contains a list of service provider connection options you can install and use for communication with the SMS network.
To send and receive SMS messages using a GSM modem, you need to attach a GSM Modem for SMS messaging to your computer with a datacable or you need to setup an IP SMS connection over the Internet. In this example we will setup a GSM modem. To install a GSM modem, click the Install link in the respective entry in the list (Figure 5).
To send and receive SMS messages using a GSM device (modem or phone), you need to select and install the GSM Modem in the list.
Configure GSM/GPRS Modem Connection
When you have installed the GSM Modem connection, a configuration panel will show up on the right of the interface. On this form you need to select the port your device is connected to and you need to click Autodetect (Figure 6). The Autodetect feature is going to recognize the GSM phone or GSM modem you have attached to your computer.
After the modem has been detected, specify the telephone number assigned to your GSM modem and the service provider connection name. ( You can pick any name you want to identify the connection.)
Enter the information in the respective edit boxes. Remember to enter the phone numberin international format: starting with "+". Note that the phone number to be specified in the Telephone number edit box is a mandatory value. If you leave the edit box blank, and if the outgoing SMS message does not carry a sender phone number either, the sending will be unsuccessful.
Once you have configured the service provider connection, you can get back to the Management Console interface by clicking the Management Console tab in the top right hand corner.
After your connection is configured, you can send and receive messages.
Send the first SMS message
To compose and send an SMS message, click the Compose
button in the toolbar, which is in the header of the Management Console.
After clicking it, the Compose a text message panel will show up.
Here, select the message type and the service provider connection in the
respective dropdown menus.
Then, enter the recipient phone number in international format
(starting with +) in the To (phone number) edit box.
Compose the message in the Message text edit box.
Click OK when you are finished (Figure 7).
Setup users and applications
If you want to have multiple users, you might want to create a user account. To create an SMS user account, you need to install and configure a user. You can start to install and configure a user on the Management Console interface.
Add a standard user
To add a user, click the Add new user or application... button at the bottom of the the Users and Applications panel on the right of the Management Console (Figure 8).
This will bring up an interface consisting of two panels.
The panel on the left contains a list of users that have been installed.
In the bar at the bottom of the panel you can read how many users have been
installed.
The panel on the right contains a list of users that can be installed.
Each user in the left-hand panel is listed with a unique name
(and the user type stated in brackets).
Each user in the right-hand panel is listed with the name of
its type and a brief description of what it can be used for.
Install a standard user
A standard user can use the HTTP user interface to login to the program. To add a standard user or any other type of user, click the Install link in the respective entry in the list (Figure 9).
When installing a user (type), you need to give it a unique username. Clicking the Install link will bring up the Standard user installation panel. Here, you need to enter a unique username in the Username field.
This will take you to the Configuration panel with the Authentication tab.
Setup authentication
The Username field contains the unique username you have
provided in the previous panel.
The Password field contains a password offered by the program.
You can and should change it. Your password should be a combination of letters
and digits (at least one or two of the latter). From now on, the username and
password you have provided can be used to login to the program (Figure 10).
To modify the configuration or to view server events related to an installed user, open the panel of the user's account. To do this, click the name of the user in the Users and Applications panel of the Management Console. In the panel of the user's account, click the link of the task you wish to perform (Figure 11).
To uninstall the user, click the Uninstall link.
Configure routing rules (Optional)
To send and receive SMS messages you need to configure the
routing.
For incoming SMS messages, you need to configure the inbound routing.
The configuration of the inbound routing allows the program to decide which
user(s) to deliver an SMS message to.
For outgoing SMS messages you need to configure the outbound routing.
The configuration of the outbound routing allows the program to decide
which SMS service provider connection to use to send out an SMS message.
To find out more about routing, check out the
Inbound Routing and
the Outbound Routing page.
To learn more about the importance and convenience of configuring outbound
routing, check out the Least Cost
Routing page.
Configure Inbound Routing (Optional)
An incoming message can be destined to one or more users. To define which of the users should receive a copy of an incoming SMS message, you have to set inbound routing rules.
A routing rule is a set of directives. The routing rules make up a routing table. A routing table can contain any number of rules. Each routing rule is a row in the table.
The program goes through the routing rules from top to bottom. It checks if the properties of a message match the directives of a routing rule. If a rule does not apply to the message, the program will go on to the next rule.
If there is a match, the message will be delivered to the user specified in the rule. The position and the mode of this rule defines whether the program will compare other rules with a message and deliver it to another user (if there is a match).
If the rule is in the last row, there are no other rules to match, and the routing will finish.If a rule matches a message, but it is in move mode, the routing will finish, and the subsequent rules will be ignored.
If there is a match, but the rule is in copy mode, the routing will continue. If there is another match, the message will be delivered to another user as well.
If a message with certain properties is destined to more than one user, a separate rule needs to be set for each user.
The order of the rules in the table matters only if the mode directive of a rule is move. It should only be move in the last of the rules intended to apply to a message with certain properties.
To set a rule in the inbound routing table, take the following steps:
Click the Edit button in the top right-hand corner of the Inbound routing panel. This panel can be found in the client area (the middle section) of the Management Console (Figure 12).
This will bring up a panel where you can choose to add, edit or delete a routing rule. These tasks have respective buttons. Click the Add button.
Next, fill in the edit boxes and select the respective items from the dropdown menus. Give a rule any name you like in the Route name edit box.
Select the GSM service provider connection in the Source (Service provider) menu. Which service provider the message comes from is one of the properties of the message.
Next, enter the conditions in their respective edit boxes: the sender's phone number, the recipient's phone number and the keyword. The keyword is the first word of the SMS message. If you do not wish to specify one or any of these conditions, enter "ANY" in the edit box next to the condition.
Select the destination from the dropdown menu. The destination is the user that a message is destined to. If you select ANY, all the installed users will receive the message the rule applies to.
Select the mode in the Mode menu. If you select
move (Figure 12), the routing will stop (if the rule matches a message).
The user specified in this rule will be the last to receive the message. In
this case, no other users specified in subsequent
rules will receive a copy of the message, even if those rules match the
message as well.
To make the program match subsequent rules with the message, select
copy .
Click OK when you have finished editing the rule.
Then the rule will be included in the inbound routing table.
You can change the position of a rule in the routing table.
To move a rule one position higher, click the green arrow beside it.
To move a rule one position lower, click the red arrow beside it.
Configure Outbound Routing (Optional)
An outgoing message can be sent out using one of the GSM service providers you are connected to. You can configure the outbound routing for the program to decide which service provider connection to use to send out a message.
To define which of the GSM service provider connections to use to send out an SMS message, you have to set outbound routing rules.
The outbound routing rules make up an outbound routing table. Each row in the table is a rule. Each rule consists of directives, which the program compares with the properties of the SMS message.
The engine goes through the routing rules from top to bottom. It checks if the properties of a message match the directives of a routing rule. If there is a match, the routing will be performed, and the message will be sent out using the GSM service provider connection specified in the rule.
The message will be sent out according to the first rule that applies to a message. Consequently, all subsequent rules will be ignored. Unlike with inbound routing, outbound routing does not allow a message to be delivered (or sent) in multiple copies.
To set a rule in the outbound routing table, take the following steps:
Click the Edit button in the top right-hand corner of the Outbound routing panel. This panel can be found in the client area (the middle section) of the Management Console.
This will bring up a panel where you can choose to add, edit or delete a routing rule. These tasks have respective buttons. Click the Add button (Figure 14).
Next, fill in the edit boxes and select the respective items from the dropdown menus. Give a rule any name you like in the Route name edit box.
Specify the user in the Source (User) dropdown menu.
Specify the conditions in the respective edit boxes. Enter the sender phone number, the recipient phone number and the keyword. The keyword is the first word of the SMS message.
Finally, specify the GSM service provider connection to send out the SMS message by selecting it in the Destination (Service provider) dropdown menu.
Click OK when you have finished editing the rule.
Then the rule will be included in the outbound routing table (Figure 15).
You can change the position of a rule in the routing table.
To move a rule one position higher, click the green arrow in its row.
To move a rule one position lower, click the red arrow in its row.
FAQs
Does the software run as a Windows Service?
Indeed, the software operates as a Windows service quietly in the background. This setup offers the convenience of not requiring manual login to the computer for the software to function. Additionally, in the event of a server reboot, the service automatically initiates.
The software runs as a windows service by default. Is there a way to run it as an application?
Certainly.
To achieve this, utilize a command shell (cmd.exe) and initiate the software
with the /run command line parameter from the program files/Ozeki directory.
To run the software in application mode, execute the following command:
"C:\Program Files\Ozeki\OzekiNG - SMS Gateway>OzekiNG.exe /run"
What kind of user interface is available for Ozeki NG SMS Gateway?
Ozeki NG SMS Gateway offers a web-based user interface, accessible through a web browser. The recommended browsers include Mozilla Firefox 2.0 and Internet Explorer 6.0 or newer versions. To access the software's user interface, input the "http://127.0.0.1:9501/" URL into your browser, which will display the login screen where you can use the default username and password.
What is the default username and password?
Username: admin
Password: abc123
It is highly advisable to promptly modify the default password following installation.
Can I access the web based user interface remotely?
Yes, the user interface can be accessed from your LAN or the Internet. However, remote access may necessitate adjustments to your firewall settings.
To remotely access the user interface, use a web browser and input the GUI's URL into the address bar. When accessing from a remote computer, replace the "127.0.0.1" address with the IP address (or hostname) of the computer where Ozeki NG SMS Gateway is installed. For instance, if the gateway is installed on a computer with an IP address of 152.66.115.1, input "http://152.66.115.1:9501/" into your browser.
If you have a DNS server and create a DNS "A" record pointing to your public IP address, you can utilize the DNS name. For example, if your DNS entry "smsgateway.mydomain.com" points to "152.66.115.1", input "http://smsgateway.mydomain.com:9501" into your browser to access the user interface.
If you prefer not to use the default port 9501, you can modify it by accessing the "Client connectivity" tab within the "Edit/Server preferences" form in the Ozeki NG user interface. Changing the port to 80, the default HTTP port, enables access to the user interface without specifying a port number in the URL. For instance, you can input "http://127.0.0.1" or "http://152.66.115.1" or "http://smsgateway.mydomain.com" into your browser.
If the Ozeki NG login screen fails to appear, it is likely due to your firewall blocking remote access to port 9501 on the computer where Ozeki NG SMS Gateway is installed.
More information