In this FAQ you will see how to configure sending of SMS messages via SMPP feature on 2N gateways. First of all you can read a brief introduction how do these features work and after that there are several important steps which have to be met for proper settings of this feature:
This FAQ applies for following gateways:
Note: As a very first step please make sure that the license for SMPP feature is uploaded into your 2N gateway. This license is sold as a package for 10 users (you can buy licence for 10, 20, 30, etc. users) and you can have up to 200 licensed users in the gateway. If you want to verify that you have uploaded the correct license in your gateway, go section "Management -> License key". You should see a licenses called SMSS and SMSUx in the "Active" row. SMSS indicates that SMPP feature is enabled and SMSUx indicates number of licensed users where x stands for this number (see the picture below). If there will not be a license for SMPP (SMSS) then you will not see tab "Messaging" on the top bar!
In the first step go to section "Messaging –> Modules grouping" and enable SMS server – check the appropriate check-box. Next add GSM modules to SMS groups in order to facilitate incoming/outgoing SMS routing. It can be done based on your requirements e.g. according to the GSM provider, etc. The last step in this section is to assign SMS groups created in the previous step to the User groups if you want to use messaging with different routing rules (e.g. to different company departments). The GSM gateway can contain up to 32 User groups and up to 32 SMS groups (4 in case of smaller gateways - BRI, VoiceBlue Next, VoiceBlue Max)
Note: in this section you can also enable AutoCLIP routing for SMS. Set the maximum time for which the automatic SMS routing record (response) will be saved in the AutoCLIP table. It means that once you send an email to some specific GSM number and after some time the mobile user responds to this message and sends a SMS message to SIM card inserted in the GSM module from which the email was previously sent, then this message will be automatically resent directly to the user who sent an email.
Note: newly you can also specify the message expire time. In case, that SMS message is not sent, in case it is received but not read or in case that DLR message has been received and not read you can specify after how long these SMS messages should be erased from gateway database.
As a next step you need to skip to the section "Messaging –> Users", click on the "Add" button and create new SMS user(s) who will send and receive SMS messages. There are several parameters in this section which have to be set.
You can see all parameters from this section in the picture below where was created user "Diafaan" with the login "Diafaan" and password "Diafaan". Once you fill in all parameters, click on the "OK" button. The user will be added and after that you have to make one more click to the "Save settings" button in the bottom right corner of the page (blue circle label in the picture).
Now specify the routing rules for incoming SMS messages – this is done in the "Messaging –> User Group –> Incoming SMS routing" menu where you click on the "Add" button. There are several parameters which can be set or modified (see the picture below). Three most important ones are:
Note: The rules are applied for incoming SMS sequentially, starting from the first rule. If all the set rules are met in a row, the SMS is routed according to the row.
As a last step you need to specify routing rules for outgoing SMS – it is done in the "Messaging –> User Group –> Outgoing SMS routing" menu where you click on the "Add" button. In this section you will specify mainly these parameters:
Note: do not forget to enable the SMS server as shown in the first step (there is a check-box)!
In the picture below there is shown settings for User Group 0. Messages from all users in this User group are routed via SMS group 0. It means that these messages will be transferred to SMS and sent only via GSM modules assigned to SMS group 0. It is all GSM modules in our example (as you can see in the picture from step 1).
Diafaan SMPP server has a standard installation wizard guide which will easily navigate you through the installation process. After the application is installed start it up and you will be welcomed by step by step wizard which will help you setup the application for our scenario.
First thing you are going to see after you start the application is window to setup credentials for the application. You need to fill in user name and password for your Administrator account on Diafaan SMPP server application. Choose any username and password you want and click on Next.
On the next window you need to select type of gateway that you will be using for sending SMS messages. In our case we want to create an SMPP Gateway so select that value and click on Next
Now we need to setup the connection to the SMPP gateway. There are few parameters that we need to setup:
When you click next a new window will appear where you can add some description to the SMPP gateway. If you don't want to add any description just skip this part and click on next right away.
Next you can create a connector, which will allow you to route incoming SMS messages. I have chosen to route the incoming SMS message to my email address therefore I have chosen the Email connector
On the next window I have chosen option "Do not to receive email" and filled in the login information for my email server and email account. This information can usually be found at your email server provider. Do not forget to enable this function by allowing parameter "Forward received SMS messages to email". After you finish setting your email account information click on next and finish the setup wizard tool.
After you have finished setting up the application you can finally start using sending SMS messages. In the main windows of the application select your SMPP gateway and click on tab Send SMS message. You only need to fill in phone number to which you want to send the SMS message (the phone number should be in national format!!) and text of the SMS message. When you are done, click on Send
You can check status of your SMS message by clicking on the Send log tab
You can check any SMS messages you have received in Receive log tab or your email if you have setup connector for receiving SMS messages.