Tuesday 28 August 2018

What is Kannel sms gateway ?

Kannel is an Opensource Software for SMS Gateway. I personally use this for sending SMS using HTTP and Short Message Peer-to-Peer(SMPP). A lot of readymade solutions are available using this as a backend. It has multiple channels/protocol supported for sending SMS.

Basic Concept of Kannel:
it will accept sms using one protocol and It may forward the same SMS using another protocol, So it is a kind of aggregator.
Different Modules  in this Project is
1. bearerbox
2. smsbox
3. wapbox
4. sqlbox(add-on)
5. opensmppbox(add-on)
6. pluginbox (external add-on)
7. ksmppd (external add-on)
8. smppbox (proprietary add-on)
9. playsms (opensource GUI)
The main module is bearerbox, which responsible for holding SMS channels(at modem, smpp, http, soap...etc) normally refers as SMS Center Connections. Handle Routing of SMS. Provide Feature of Retry. And Many more.

All Other boxes are kind of add-on they will make sms reach to bearerbox with added functionalities.

smsbox    --> will accept sms in http api and send dlr in http api and properly forward sms to bearerbox for delivery of sms. So you CRM/LMS/e-store can use smsbox to send sms irrespective of how your operator accepting request to send sms.

wapbox    ---> not explorer more, once i will explore definitely i will mention why to use wapbox

sqlbox     ----> want to store each SMS in Data Base so that later we can do billing, analytics, persistent queue, modification of content all these can be done using sqlbox, so I will say this is also an important module because performance analysis can be easier.

opensmppbox    ---> this will accept sms using Short Message Peer-to-Peer(SMPP) which has more demand in bulk SMS industry.

pluginbox     --> this is kind of interceptor and lot of custom logic can be developed using this like filter DND, Time Restriction, Spam filter, removing abusing words from SMS content, overriding sender id, prefixing sender/receiver. for more ...

ksmppd      --> It is smpp server like opensmppbox with added functionalities. for more ...

smppbox   --> This one proprietary smpp server with tons of customization.

playsms    --> GUI for kannel sms gateway. for more ...


So Summary is we can develop a full-fledged SMS gateway of our own using kannel open source software. Which will provide service for both MT SMS and MO SMS.