SMS

 

SMS providers

The first step is to configure the SMS providers.

Consider:

  • Each of the listed providers is compatible with uContact.

  • Required parameters may vary by provider.

  • Each provider will provide the necessary data for its correct configuration.

  • The WhatsApp providers are also configured on this screen.

 

 

SMS providers screen

 

To access the SMS providers screen you must be logged into the uContact portal, then go to the menu on the left side of the screen and select the option Providers SMS / WhatsApp.

 

 

 

 

Upon entering we will see two sections:

 

SMS providers
Here we must select the type of API for each provider through the drop-down menu. It should be noted that the options displayed are currently compatible with uContact.

  • DinstarWeb: Communication by web service.

  • Quality: API developed for Quality Telecom.

  • GMG: Communication with API CMG SMS.

  • Twilio: Communication with API Twilio SMS.

  • Nexmo: Communication with API Nexmo SMS.

  • InfoBip:  Communication with API InfoBip SMS.

  • URLSMS:  Communication by URL GET.

  • URLSMSAuth: Communication by URL GET with basic authentication.

  • SMSMasivo: Communication by URL GET.

  • URLPOSTSMS: Communication by URL POST.

  • URLPOSTSMSAuth: Communication by URL POST with basic authentication.

On the right is a table with the providers already created.

After selecting an SMS Provider we will see the fields to configure the provider, these fields may vary as required by the API.

Example:

 

The data will be provided by the SMS provider available to the company.

Possible parameters

URL (SMSEndpoint): 

User (SMSUsername)
Takes the user for the SMS sending service.

Password (SMSPassword)
Takes the password for the SMS sending service.

SMS Form
(In the case that the API or hardware allows) Outbound name of the SMS.

Ports
Port number from which the SMS comes out.

SMS RegExp (SMSNumberRegexp)
Property that validates the format of the cell numbers to which they are sent, in order to have more practical control of whether or not it is sent, for example, ^(09\d{7})$ this function will validate that the number to cell phone is 09XXXXXXX.

SMS Encoding: The provider’s encoding type will determine how the text will be displayed.

After completing the fields we press the "Save" button and the provider will be added to the list.

To delete a Provider we simply select it from the list and, once we see its data loaded, we press the "Delete" button.

This table shows how regular expressions are user in the control:

.   Dot, any character (may or may not match line terminators, read on).

\d   A digit: [0-9].

\D   A non-digit: [^0-9]

\s   A white space character: [ \t\n\x0B\f\r].

\S   A non-white space character: [^\s].

\w   A word character: [a-zA-Z_0-9].

\W   A non-word character: [^\w].

\    Escape the next meta-character (it becomes a normal/literal character).

^    Match the beginning of the line.

.    Match any character (except newline).

$    Match the end of the line (or before newline at the end).

|    Alternation (‘or’ statement).

()   Grouping.

[]   Custom character class.

  • Match 0 or more times

+      Match 1 or more times

?      Match 1 or 0 times

{n}    Match exactly n times

{n,}   Match at least n times

{n,m}  Match at least n but not more than m times.