EnvoiSMS: Sovereign Carrier Routing Engine & OTP Telephony Gateway

Why Standard Cloud Stacks and Legacy Tools Failed
Moroccan financial institutions and e-commerce companies were paying inflated international rates to foreign aggregators (Twilio, Infobip) that routed Moroccan OTPs through European gateways, causing 12-25% drop rates during Black Friday flash sales and violating Moroccan data sovereignty regulations.
Custom Low-Latency Architecture & In-Country Execution
Vext developed EnvoiSMS.ma with a high-concurrency Go SMPP v3.4 routing cluster directly connected to Moroccan mobile operator infrastructure (IAM, Orange, Inwi) with millisecond round-robin failover and cryptographic token masking.
Key Engineering Deliverables
- Multi-threaded Go SMPP v3.4 carrier connection engine
- Redis Streams real-time Delivery Receipt (DLR) webhook pipeline
- Moroccan Darija conversational WhatsApp bot for COD order confirmations
- Zero-knowledge phone number hashing complying with Bank Al-Maghrib audit rules
Measured Production Impact
- Over 18 million verified OTP tokens delivered with a 99.98% success rate
- Moroccan enterprises saved over 2.4 Million MAD in transactional messaging fees
- 100% clean audit pass under national CNDP Law 09-08 compliance inspections
100% CNDP Law 09-08 sovereign compliance. No phone numbers, message bodies, or verification OTPs are ever routed through or stored on foreign servers.
Architectural Context & Deployment Narrative
Two-factor authentication (OTP) is the front door of Moroccan digital commerce and banking. When international aggregators route sensitive Moroccan citizen numbers through foreign servers, two critical failures occur: high latency drops transactional conversion, and legal exposure under CNDP Law 09-08 creates enterprise liability. Vext built EnvoiSMS.ma as a carrier-grade messaging gateway hosted inside Morocco. By engineering a high-concurrency Go cluster speaking directly to Maroc Telecom, Orange, and Inwi, EnvoiSMS delivers sub-800ms OTP speeds at a fraction of foreign broker fees, backed by cryptographic privacy guarantees.
Have a similar engineering challenge?
Speak directly with the lead systems architect behind this deployment.
More Production Case Studies
Vext Voice: Morocco’s Sovereign Darija & French AI Voice Telephony Engine
Casablanca bare-metal telephony & WhatsApp VoIP gateway executing Moroccan Darija and French conversational agents with sub-400ms voice latency, direct IAM/Orange/Inwi SIP trunks, mid-call GPS & CMI multimodal actions, and 0.34 MAD/min runtime economics under 100% CNDP Law 09-08 compliance.
AI Email Intelligence: From a Distributor’s Inbox to Tracked Obligations
56,457 emails from 22 mailboxes, going back to February 2017, read by an LLM and turned into structured facts (intent, counterparty, amounts, deadlines, urgency), with 7,939 payment, delivery and regulatory obligations extracted and tracked automatically.