Unifonic SMS Gateway - Unifonic SMS Integration for Odoo SMS (Saudi and MENA SMS)
by Modvanta https://modvantaapps.tech
Odoo
$ 28.92
In-App Purchases
Send every Odoo SMS through Unifonic and see which ones were delivered
Unifonic SMS | Saudi SMS gateway | MENA SMS | Delivery reports | Scheduled SMS | Odoo 19
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Choose "Send via Unifonic" in Settings > SMS and paste the AppSid of your Unifonic SMS application. From then on the SMS button on contacts, SMS templates, SMS Marketing and automated actions send through the Unifonic REST API with your registered sender ID, and Odoo stops spending IAP credits for that company. Every SMS goes into a log with its Unifonic message id, cost, and the delivery status Odoo reads back from Unifonic.
| Every Odoo SMS: chatter SMS, mass SMS, SMS Marketing and automation rules use Unifonic; companies set to another provider are left alone | |
| Delivery status: Odoo reads each SMS from Unifonic every 15 minutes and marks it delivered or failed, also on the contact chatter | |
| Delivery callbacks: on an HTTPS server, each SMS carries its own secret callback address; when Unifonic calls it, Odoo reads that SMS at once | |
| Scheduled SMS: schedule a text for later; Odoo keeps the Unifonic message id so it can stop that one message, never the others | |
| Quiet hours: SMS Marketing texts (or every SMS) created at night are handed to Unifonic as scheduled messages for 08:00 | |
| Balance: Unifonic returns the balance with each SMS; Odoo shows it and emails you when it falls below your limit | |
| Retries: SMS that failed on a timeout, 429 or 599 answer are sent again every 15 minutes, 3 times by default | |
| Clear errors: sender ID not allowed, wrong AppSid, bad number or blocked IP become readable failure reasons in Odoo | |
| SMS log: number, country, sender, parts, cost, status and error per SMS; resend failed ones in one click | |
| Arabic: Arabic text counted at 70 characters per part, and the screens translated into Arabic |
Who it is for
SHOPS IN SAUDI ARABIA AND THE GULF Order and delivery texts under your registered sender ID, with proof they arrived. | CLINICS AND SERVICE COMPANIES Reminders scheduled a day ahead and stopped if the booking moves. | MARKETING TEAMS Campaigns that wait for the morning, with a cost per SMS in the log. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Send SMS with your Unifonic account | IAP credits or Twilio only | Unifonic, per company |
| Delivered or failed on each SMS | Not for Unifonic | Read back from Unifonic |
| Scheduled SMS you can stop | Not included | Included |
| Cost of each SMS | Not shown | In the SMS log |
Screenshots
Taken on a fresh Odoo 19 database with this module installed. No Unifonic account was used: Offline Sample Mode answers with the shapes of the public Unifonic SMS API documentation.
1. Unifonic settings
AppSid, optional user name and password, default sender ID, Test Connection and the balance.

2. Delivery status and quiet hours
Callbacks on or off, the status values that mean delivered or failed, quiet hours and the time zone.

3. SMS log
Delivered, failed, scheduled and waiting SMS with cost and the Unifonic status.

4. One delivered SMS
Message id, correlation id, country, cost and when the status was read.

5. Arabic SMS from a contact
The usual Odoo SMS window; the note shows how many SMS parts Unifonic will bill.

6. Schedule an SMS
From the Action menu of one or more contacts.

7. Sender IDs
The sender IDs registered on your Unifonic account.

8. Test SMS
Send one SMS from Settings to check the AppSid and sender ID.

9. Test SMS result
Unifonic answered with a message id and the status Queued.

10. In Arabic
The SMS log with the Odoo interface in Arabic.

How it works
| 1 | In the Unifonic console, copy the AppSid of your SMS application and note your registered sender IDs. |
| 2 | In Odoo, go to Settings > SMS, choose Send via Unifonic, paste the AppSid, add the sender IDs and press Test Connection. |
| 3 | Send a test SMS from Settings and check that it reaches the phone. |
| 4 | Look at the status of that SMS in the Unifonic console and, if it uses other words than Delivered or Failed, put them in the Delivered Values and Failed Values settings. |
| 5 | Use the SMS buttons in Odoo as usual. |
Settings
| AppSid: stored on the company, readable by administrators only; user name and password only if your application uses basic authentication | |
| Sender ID: default sender ID for every SMS of the company | |
| Delivery Status: callbacks on or off, and the status values Unifonic uses for delivered and failed SMS | |
| Quiet Hours: off, SMS Marketing only, or every SMS; from/to and the time zone (Asia/Riyadh by default) | |
| Max Retries: how many times a temporary failure is retried | |
| Who Can Send SMS: limit the SMS composer to the group Unifonic: Send SMS |
FAQ
Do I still need Odoo SMS credits?
No, not for the companies set to Unifonic. Unifonic bills the SMS on your Unifonic balance.
How does the callback stay safe?
Unifonic does not publish a signature for its callbacks, so each SMS gets its own secret address. Odoo ignores what is posted to it and reads the status of that SMS from Unifonic itself. A wrong address gets a 404.
Has it been tested with a live Unifonic account?
No. It was built from the public Unifonic SMS API documentation and its OpenAPI file and checked with 40 automated tests shaped like the documented answers. Send a test SMS and check the status words before going live.
Does it send OTP codes with Unifonic Authenticate?
No. The Authenticate API description is not public. Login codes from an OTP login module that uses Odoo SMS do go out through Unifonic as normal SMS.
Does it work next to our other SMS modules?
Yes. It was installed and tested together with our Msegat and Taqnyat gateways; each company picks one provider.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseOn PremiseOdoo.sh
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1452 |
| Technical Name |
mdv_sms_unifonic |
| License | OPL-1 |
| Website | https://modvantaapps.tech |
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