SMS Gateway: HTTP and SMPP providers for Odoo SMS, delivery status, routing
by Aerya IT Solutions https://aerya.net$ 65.74
In-App Purchases
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
SMS Gateway: HTTP and SMPP providers for Odoo SMS, delivery status, routing
Send the text messages of Odoo (campaigns, order and delivery messages, the SMS composer) through the gateway you choose. Describe any HTTP gateway as a profile, or use the ready profiles for Jasmin (SMPP) and Textbelt. The delivery status of each message comes back into the Odoo SMS status, countries can use different gateways, and every message is logged.
Delivery report addresses are signed for each message; a forged or repeated report changes nothing
Works without a public address too: open messages can be read on a schedule
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.
Screenshots of Odoo 18 Enterprise with the data of a fictitious company; the messages went through a Jasmin SMS gateway in a test setup.
request building, answer reading, message size, routing by country, forged and repeated delivery reports, status polling, recorded answers of Jasmin and Textbelt, and every screen in a browser
no warnings, on the four versions
Community and Enterprise
Any HTTP gateway as a profile
A profile holds the address, the fields or JSON body with placeholders for the number, text, sender and message id, the credentials (none, basic, bearer token or header) and how to read the answer: which answers count as accepted, where the gateway's message id and error text are. Ready profiles fill the form for a generic gateway, for Jasmin and for Textbelt.
A Send a test message button runs the real profile and shows the answer.

Delivery status in the Odoo SMS status
The gateway calls an address of your database for each message, signed with a secret of the gateway, or Odoo reads a status address on a schedule when the gateway cannot call back. You list which report values mean delivered, still pending or failed. Odoo then shows the message as delivered, expired, not delivered or rejected, in the chatter and in the marketing statistics.

A gateway for each country
Routes send each destination country (by country calling code) through its own gateway and sender name; a default gateway takes the rest. A number no gateway covers is marked with Odoo's "country not supported" error instead of being lost.
Before sending, the text is measured as phone networks do (GSM 7-bit or Unicode, number of parts) and the number is checked; a message longer than the limit you set is refused.

A log of every message
Number, parts, encoding, gateway answer and the last delivery report of each message, readable by administrators only and cleaned after 90 days. Secrets are removed from the error texts before they are stored.

More screenshots

Delivery status of SMS messages in the chatter

Turn it on in the SMS settings and choose the default gateway
How it works
Open SMS Gateway › Gateways, choose a starting point, enter the address, credentials and sender, and press Send a test message.
In Settings › General Settings › SMS tick Send SMS through our gateways and choose the default gateway.
Add routes if some countries use another gateway.
Follow each message in SMS Gateway › Messages.
Compatibility
| Versions | Odoo 17, 18, 19, 20 |
| Editions | Community and Enterprise |
| Hosting | Odoo.sh and on-premise (Python module) |
| Requires | SMS (sms) |
| Languages | English, Spanish |
Good to know
Delivery callbacks need an address the gateway can reach (system parameter web.base.url, or aerya_sms_gateway.callback_base_url); on a server with several databases that address needs a database filter. Without it, use status polling when the gateway offers a status address. Sender name rules, message templates and registration depend on the gateway and on each country. Tested live: the Jasmin profile on a Jasmin gateway with a simulated operator network behind it, and the Textbelt profile with its test key (no real message is sent). The two generic profiles (form fields and JSON body) were tested on simulated gateway answers only: check your gateway with the test button.
Not covered: a direct SMPP connection from Odoo (use an SMPP gateway such as Jasmin and its HTTP API), incoming messages, gateways that need a signed request or an OAuth token exchange.
Resumen en español
Envía los SMS de Odoo (campañas, avisos de pedidos y entregas, el compositor de SMS) por la pasarela que elija: cualquier pasarela HTTP descrita como perfil, o los perfiles listos para Jasmin (SMPP) y Textbelt. El estado de entrega vuelve al estado SMS de Odoo, cada país puede usar una pasarela distinta y cada mensaje queda registrado. Odoo 17, 18, 19 y 20, Community y Enterprise.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 18, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1408 |
| Technical Name |
aerya_sms_gateway |
| License | OPL-1 |
| Website | https://aerya.net |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module