docs/platform/integrations/sms/kannel.mdx
Before integrating Kannel with Novu, you should have Kannel set up and configured as an SMS gateway on your server. Let’s look at how you can do that:
group = smsc
smsc = smpp
smsc-id = YourSMSCID
host = SMSC_Hostname_or_IP
port = SMSC_Port
system-type = SMSC_System_Type
smsc-username = YourUsername
smsc-password = YourPassword
max-pending-submits = 10
allow-ip = "127.0.0.1"
Replace the placeholders (e.g., YourSMSCID, SMSC_Hostname_or_IP, SMSC_Port, SMSC_System_Type, YourUsername, and YourPassword) with the actual values provided by your SMS provider.
group = sendsms-user
username = YourUsername
password = YourPassword
concatenation = true
max-messages = 3
Adjust the settings to your needs.
bearerbox /path/to/kannel.conf
Make sure to replace /path/to/kannel.conf with the actual path to your Kannel configuration file.
After setting up your Kannel, follow these steps to integrate with novu:
Visit the Integrations Store on Novu.
Click the "Add a provider" button.
Select Kannel service.
Choose your preferred deployment environment: Development or Production. Then Click the Create button.
Once the integration is active, you'll need to configure it. This configuration usually involves providing the necessary details for Novu to connect to your Kannel SMS gateway. These details typically include:
Kannel Gateway URL or IP Address: If your Kannel SMS gateway is hosted on your server, you should use the server's IP address or hostname.
group = smsc
smsc = smpp
smsc-id = YourSMSCID
host = SMSC_Hostname_or_IP
port = SMSC_Port
smsc-username = YourUsername
smsc-password = YourPassword
max-pending-submits = 10
allow-ip = "127.0.0.1"
In this example, YourUsername and YourPassword are the credentials you'd use for authentication.
From field.Update button.