SMS Gateway Service
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Handles outbound SMS dispatch via a Norwegian-compliant provider by normalizing recipient phone numbers to E.164 format, delegating to the SMS provider connector, and recording delivery status.
sms-gateway-service
Responsibilities
- Normalize recipient phone numbers from the users table to E.164 format before dispatch
- Delegate message sending to the configured SMS provider connector
- Record provider message ID and delivery status in the message dispatch log
- Surface retry-safe typed exceptions for transient provider failures
Interfaces
send(phoneNumber, message)
getDeliveryStatus(providerMessageId)
normalizePhoneNumber(rawNumber)