integrations/sms/.
This ensures real estate brokerages maintain high delivery rates, comply with local telecom regulations (such as Indian DLT rules and US 10DLC), and support both mass promotional broadcasts and two-way sales conversations.
Outbound SMS Dispatch Pipeline
The ISmsMarketingProvider Contract
Every SMS gateway adapter inside integrations/sms/ implements the standard TypeScript interface defined in @brokeros/types:
Supported SMS Gateway Packages
Character Encoding & Segment Calculation
BrokerOS automatically inspects SMS character sets to compute billing segments before transmission:- GSM 7-bit Encoding: Standard alphanumeric characters. Up to 160 characters in a single message. Concatenated messages use 153 characters per segment (7 characters reserved for UDH headers).
- UCS-2 (Unicode) Encoding: Used when emojis, currency symbols (such as the Indian Rupee symbol
₹), or non-Latin scripts (Hindi, Arabic, etc.) are present. Single messages are capped at 70 characters. Concatenated messages use 67 characters per segment.
Indian Telecom DLT Compliance (TRAI Mandate)
All SMS campaigns targeting Indian mobile subscribers must comply with the Telecom Regulatory Authority of India (TRAI) Distributed Ledger Technology (DLT) framework:- Entity Registration: Register your brokerage business on a telecom DLT portal (such as Airtel, Jio, or Vodafone Idea) to receive an Enterprise Entity ID (
dltEntityId). - Sender Header Registration: Register a 6-character alphabetic header (e.g.,
SKYLINorBRKROS). - Content Template Registration: Pre-register marketing and transactional message text with dynamic variable syntax
{#var#}to receive a Content Template ID (dltTemplateId). - Execution in BrokerOS: Configure your Entity ID and Template ID in the SMS Template Registry (
/dashboard/marketing/sms/templates). Messages dispatched without an approved DLT template ID are automatically rejected by Indian telecom switchboards.
Setting Up an SMS Gateway
- In the BrokerOS dashboard, navigate to Dashboard -> Marketing -> SMS -> Settings -> Gateway Integrations.
- Click Add SMS Gateway and select your desired provider.
- Enter your API credentials (API key, Account SID, or secret token).
- Configure your primary Sender ID or Virtual Long Number.
- Click Verify Gateway: BrokerOS performs an automated API handshake and confirms active status.
- The verified gateway becomes instantly selectable in the Campaign Wizard and SMS Flows Builder.