Wi5stars-How to configure the device to send SMS with an external gateway (HTTP Method)
Have any questions?
How to configure the device to send SMS with an external gateway (HTTP Method)

Before you begin

You must have reseller access to complete this task.

Procedure

Wi5stars can send SMS, for example, to provide username and password or notifications to guests, using an external SMS Gateway.  

Use the below steps to configure Wi5stars to send SMS using an external gateway:

  1. Starting from the reseller level, click the dropdown menu.
  2. Click Edit>SMS Gateway.
  3. In the SMS Gateway Type field, select HTTP Request.
  4. In the Number field, define the phone number associated with the gateway to receive SMS.
  5. On the Request Type, define the type of request to execute for the specified URL.
  6. On the URL address, set the URL that Wi5stars will call to send the SMS (ask your SMS provider which URL to use).

In the URL, you can use variables like %Number%, %NumberPlus% (number with international code with +), %NumberNoIntPrefixZero% (number without zeros in the international code), %Message% representing the guests’ mobile number and the SMS text to send.
You can also use the variables %UserName% and %Password%, that is, your SMS provider authentication password that you set on the field Gateway Username and Gateway Password. 

Example:  
http://gateway.skebby.it/api/send/smseasy/advanced/http.php?method=send_sms_classic&username=XXXX&password=YYYYY&text=%message%&recipients[]=%NumberNoIntPrefixZero%&sender_string=YOURCOMPANY
http://gateway.skebby.it/api/send/smseasy/advanced/http.php?method=send_sms_classic&username=%UserName%&password=%Password%&text=%message%&recipients[]=%NumberNoIntPrefixZero%&sender_string=YOURCOMPANY

7. On Gateway Username and Gateway Password set the credentials that Wi5stars will use on the variables %UserName% and %Password% for authentication with your SMS provider services.
You can leave it empty if you defined it directly in the URL address.
8. On Type of Country Calling Code choose the kind of International code required by your SMS provider.
10. Click Save on the top right corner.

To allow the system to send SMS to guests, you have to give/provide SMS credit to the manager. To do this, there are two ways: 

a. Log in to Wi5stars using a manager account, go to the manager contextual menu, and click on Buy SMS
b. Log in to Wi5stars using an admin account, edit the manager for which you want to provide SMS, go to the SMS Gateway section and set on Total Number of SMS Purchased the number of SMS you want to provide. 

How can my manager configure the device to send SMS with an external gateway?

To perform the configuration at the manager level, follow these steps:

  1. Starting from the manager level, click the dropdown menu.
  2. Click Edit>SMS Gateway.
  3. In the SMS Gateway Type field, select HTTP Request.
  4. In the Number field, define the phone number associated with the gateway to receive SMS.
  5. On the Request Type, define the type of request to execute for the specified URL.
  6. On the URL address, set the URL that Wi5stars will call to send the SMS (ask your SMS provider which URL to use).

In the URL, you can use variables like %Number%, %NumberPlus% (number with international code with +), %NumberNoIntPrefixZero% (number without zeros in the international code), %Message% representing the guests’ mobile number and the SMS text to send.
You can also use the variables %UserName% and %Password%, that is, your SMS provider authentication password that you set on the field Gateway Username and Gateway Password. 

Example:  
http://gateway.skebby.it/api/send/smseasy/advanced/http.php?method=send_sms_classic&username=XXXX&password=YYYYY&text=%message%&recipients[]=%NumberNoIntPrefixZero%&sender_string=YOURCOMPANY
http://gateway.skebby.it/api/send/smseasy/advanced/http.php?method=send_sms_classic&username=%UserName%&password=%Password%&text=%message%&recipients[]=%NumberNoIntPrefixZero%&sender_string=YOURCOMPANY

7. On Gateway Username and Gateway Password set the credentials that Wi5stars will use on the variables %UserName% and %Password% for authentication with your SMS provider services.
You can leave it empty if you defined it directly in the URL address.
8. On Type of Country Calling Code choose the kind of International code required by your SMS provider.
10. Click Save on the top right corner.

If there aren’t any SMS settings at the manager level, Wi5stars will use those set at the reseller or system level.