SMS Notifications
Automatically notify subscribers via SMS for expiry, payment, and connection events.
Supported SMS Providers
| Provider | Coverage | Notes |
|---|---|---|
| AfricasTalking | Kenya, Nigeria, Uganda, Tanzania, Rwanda, and more | Recommended for East Africa |
| Infobip | Global | Good for multi-country ISPs |
| Twilio | Global | Higher cost but reliable globally |
| Custom HTTP | Any | Configure any HTTP-based SMS gateway |
Setting Up AfricasTalking (Recommended)
- Register at africastalking.com and create an account.
- In the AT dashboard, go to SMS → Sandbox for testing or Go Live for production.
- Note your API Key and Username.
- In Qserve, go to Settings → SMS.
- Select AfricasTalking as the provider.
- Enter your API Key, Username, and optional Sender ID (a short name displayed to recipients, e.g., "MyISP").
- Click Test SMS to send a test message to your phone.
- Save when confirmed.
SMS Events and Templates
Qserve sends SMS notifications for these events. Each has an editable template:
| Event | Default Message |
|---|---|
| Package Activated | Hi {name}, your {plan} is active until {expiry}. Enjoy! |
| 3-Day Expiry Warning | Hi {name}, your internet expires on {expiry}. Pay {amount} to renew: {payment_link} |
| 1-Day Expiry Warning | Hi {name}, your internet expires tomorrow. Pay now: {payment_link} |
| Account Expired | Hi {name}, your internet has expired. Renew now: {payment_link} |
| Payment Received | Payment of {amount} received. Your internet is active until {expiry}. Thank you! |
| Account Suspended | Hi {name}, your account has been suspended. Contact support for assistance. |
Template Variables
Use these variables in your templates:
{name}— Subscriber's full name{plan}— Plan name (e.g., "10 Mbps Monthly"){expiry}— Package expiry date (formatted){amount}— Plan price{payment_link}— Direct M-Pesa payment link{isp_name}— Your ISP name{phone}— Support phone number (from your Settings)
Editing Templates
Go to Settings → Notification Templates → SMS. Click any template to edit the message text. Preview the rendered message before saving.
Keep SMS messages under 160 characters to avoid splitting into multiple SMS (which costs more). The template editor shows the character count.