How to send sms from Telnyx

This document shows information on how to send sms through Telnyx using Ozeki 10 SMS Gateway. Telnyx is an SMS service provider based in Chicago, U.S.A., so it is primarily providing SMS service to companies in United States of America. You can talk with the customer service of Telnyx in English, so subscribing to their service can be done without issues. If you use Ozeki 10 SMS Gateway, it is very easy to create a connection to the Telnyx SMS service. Follow the instructions below to setup this connection in 10 minutes. This article shows the installation steps with some screenshots. We hope you will find this example easy to understand. Let's begin now!

How to send SMS from Telnyx
Figure 1 - How to send SMS from Telnyx

What is the best way to send sms from Telnyx?

To send sms from Telnyx start with the following simple to use tutorial steps:

  1. Visit ozeki-sms-gateway.com and click on download to download Ozeki 10 SMS Gateway, then install the downloaded exe file. Click on the Ozeki 10 icon to open the GUI. To send sms from Telnyx you can proceed with the setup steps in this management console.
  2. In the Ozeki management console start the SMS Gateway app. This can be achieved by clicking on the desktop icon or by navigating to the app in the Ozeki Start menu. The SMS Gateway app is used to send sms from Telnyx.
  3. To send your first texts from Telnyx the only thing left is to install the Telnyx connection by navigating to the 'Add new connection...' link.

How does Telnyx SMS work?

Telnyx is an SMS service provider and their sms messaging service works the same way as the service of other SMS service providers. They use SMS protocols, such as SMPP client connections, UCP/EMI protocol connections and HTTP SMS or REST SMS connections to connect their server computer to other SMS aggregators and to GSM telephone service provider. Telnyx makes its money by reselling the sms messages at a premium. Telnyx provides an a secure HTTP SMS API, that let's you to use to their sms messaging service using HTTP API requests. Each sms is a single web request. Web requests are HTTP requests or REST api requests.

Detailed instructions to send sms from Telnyx

To send sms from Telnyx:

  1. Launch the Ozeki management console
  2. Find the panel on the left hand side titled 'Connections'
  3. Click on 'Add new connection...' in the 'Connections' panel
  4. Find the Telnyx connection
  5. To send sms from Telnyx you have to install this connection
  6. Type in the Telnyx account details
  7. To send sms messages, use the Test tab
  8. Enter the recipient, the text and click send
  9. Read the logs to see if your sms was successfully sent to Telnyx

Configuration steps in Ozeki 10 SMS gateway (Step-by-step configuration)

The first step within the configuration steps is opening the Ozeki Management Console. Then, you need to install a connection to be able to communicate. Do this by clicking on the 'Add new connection sign' shown by the red arrow in the picture below (Figure 2).

open the ozeki management console
Figure 2 - Open the Ozeki Management Console

You will see that you have plenty of connections to choose from. To setup the Telnyx connection, you need to click on the 'Install' link next to the Telnyx client sign. Setting up the Telnyx connection will allow you to send SMS messages using the Telnyx v2 API (Figure 3).

setup the telnyx connection
Figure 3 - Setup the Telnyx connection

To continue the installation process you need configure the Telnyx account. Open the 'General' tab where you have to provide the API key of your Telnyx account to be able to start sending messages (Figure 4).

configure the telnyx account
Figure 4 - Configure the Telnyx account

Open the 'test' tab to send a test SMS text using your recently setup Telnyx connection. Enter your desired SMS into the box below and then click on the 'Send' sign (Figure 5).

send sms from telnyx
Figure 5 - Send SMS from Telnyx

You can send an SMS text from C# through the Telnyx connection. Build a single API to work with different SMS services. This means you can send and receive messages across multiple platforms using one interface (Figure 6).

Figure 6 - Send SMS from C# through Telnyx

Use a database to send sms from Telnyx

If you have a Telnyx connection setup, you can easily send and receive texts from MSSQL or another database. To send and receive sms, Microsoft SQL Server, SQL Express, Access, Oracle, MySQL, MongoDB or any other ODBC/OleDB compliant database can be used. This functionality is available through two database tables: ozekimessagin and ozekimessageout.

The ozekimessageout table will be used for sending sms and the other, the ozekimessagein table is going to be used to store incoming sms. If you want to send an sms, all that needs to be done is use an SQL INSERT command to create an SQL record in the ozekimessageout table. Ozeki will automatically pick up the sms and it will send it to the recipient. During the delivery procedure it will update the status field in the database table to inform you when the SMS was sent from your system, when was it received by the recipient and if an error occured, why wasn't it delivered.

use a database for sms storage
Figure 7 - SMS to SQL database

This solution is great, because sms messages stored in the database can be easily linked to users, customers and other business data. Another benefit is that most business applications are database driver, so it makes sense to use the database for SMS as well.

Send sms using C# .Net through Telnyx

Automated sms solutions perform much better than human employees. Because of this fact most companies choose to build automated text messaging services. Ozeki's C# SMS API provides an outstanding tool to achieve this goal. This C# api is great because it not only works with on-line SMS aggregators and mobile service providers; it works with the android sms gateway to allow you to send texts wirelessly.. By implementing this single API, you can reach many SMS carriers with a single code base.

Send SMS from C# through Telnyx
Figure 8 - Send SMS from C# through Telnyx

Email to sms using Telnyx

If you configure Telnyx, you can easily provide an email to sms and sms to email functionality to your customers. Any email client that can send an email to an sms e-mail address will be able to send sms. The format of the email address is telnum@hostname. An example e-mail address would look like this: 079677035@domain. It is also possible to put the recipient mobile number into the subject line. In either case the email text will be sent as the text message to the specified phone number.

Are there any Telnyx competitors?

You can easily find several alternative SMS services on the Internet. If you setup Ozeki SMS Gateway, you can connect to several SMS services and mobile telephone network operators at the same time. It is good to use multiple providers, because it allows you to reach mobile network that are only accessible directly and it allows you to comply with regulations effecting local networks. The most popular alternative to using Telnyx is to connect an Android mobile phone to your SMS Gateway PC and send sms directly to the mobile network (Figure 10). This lets you system work even if Telnyx fails.

telnyx alternatives
Figure 9 - How to handle Telnyx service failure

What to do in case the Telnyx service fails?

Reliable IT systems avoid a single point of failure. Since Ozeki can be setup on multiple computers in your office, and Ozeki offers the ability for you to reroute texts to other SMS aggregators or GSM service providers automatically, with the help of Ozeki SMS Gateway, you can build a reliable, fail safe SMS service. All you have to do is setup multiple SMS service provider connections and configure one of the SMS routing options: to do load balancing, least cost SMS routing or backup routing. All of these SMS routing options will ensure that your SMS messages will be delivered even if a particular SMS service is out of operation.

Conclusion

Now, you can pause and catch your breath. We hope you didn’t get lost in the explanations. To review the above article we can state, that to setup a connection to the text message service of Telnyx is not too complicated. The HTTP SMS service of Telnyx is not difficult to setup, and although it does not provide the same performance as an SMPP sms service, it is still a good option to use in 2021. The biggest benefit of Telnyx is that an account can be setup in a short time on their website.

With Ozeki 10 SMS gateway you get access to cost control, which is normally not provided by SMS service providers. You can limit the number of messages leaving your system, so you don't have to worry about getting overcharged. To achieve this you can setup SMS credit limits for your customers, employees and SMS applications. To generate montly or weekly reports, you can use SQL logging and reporting. With the Ozeki SQL logging you can save all your SMS messages into your own SQL database. This gives you the ability to keep an eye on and control your SMS communication, and you will be able to trace back any SMS in case a problem occurs.

More information