First, you need to install Kannel on your server. You can download it from the official-website or use a package manager specific to your operating system (e.g., apt-
get for Ubuntu, yum for CentOS, etc.).
Kannel’s configuration is done through a file called kannel.conf. You need to edit this file to specify your SMS provider settings. Here’s a basic configuration example:
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.
You can define services that will handle incoming and outgoing SMS messages. These services specify how Kannel should process SMS requests. Here’s an example of an SMS service configuration:
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.
Port: The port number through which Novu should communicate with Kannel (usually 13013, or a custom port you’ve configured in Kannel).
Username and Password: If you’ve set up authentication for your Kannel SMS gateway, provide the username and password required for authentication: