If you need to install kannel with mysql support please refer to this post “How to Install Kannel”
Once you have installed the kannel with Mysql support, you can install additional addons of kannel which are opensmpp and sqlbox.
Install openSMPP
cd YOUR-PATH-TO-KANNEL-SOURCE cd addons/opensmppbox/ ./configure --with-kannel-dir=[YOUR-PATH-TO-KANNEL-SOURCE] make make install
(you can remove the –with-kannel-dir, but some distributions do not automatically find the kannel src location. So batter use –with-kannel-dir= path to kannel source)
Install SQLbox
cd YOUR-PATH-TO-KANNEL-SOURCE cd addons/sqlbox/ ./configure --with-kannel-dir=[YOUR-PATH-TO-KANNEL-SOURCE] make make install
(you can remove the –with-kannel-dir, but some distributions do not automatically find the kannel src location. So batter use –with-kannel-dir= path to kannel source)
Hi dear,
I need to install Kannel for production environment !!!
1- I have install kannel on linux using
yum install kannel & apt-get install kannel
2- I have done configuration and also integrate with SMSC
3- from 3rd party I am able to send SMS via kannel http API
BUT
1- I want have kannel as SMPP server I have checked from the internet , I need to install addons (smppbox)
2- I want store all kannel transaction (send and receive SMSs) into a mysql database and I have checked from the internet , I need to install addons (sqlbox)
I need to know several things :
A- based on kannel recommandation , can I use development release for kannel & smmpbox & sqlbox OR
should I use yum install kannel then download smppbox and sqlbox trough SVN and then configure them ?
OR
I can use SVN for gateway & smppbox & sqlbox for production and there is no issue
Please advice ?
B- I have use SVN on the test linux server(Ubuntu 12.04.2 LTS) , but after follow up the steps on your website on this page (http://www.akashif.co.uk/kannel/install-kannel-addons-opensmpp-and-sqlbox#&panel1-3)
I tried to run the kannel service
what should I do to start Kannel and addons (smppbox & sqlbox) ?
is it only execute this Command ? (/etc/init.d/kannel start) ?
Please advice ?
Thanks again for your time .
Sam
“I can use SVN for gateway & smppbox & sqlbox for production and there is no issue”
I am using SVN gateway , SMPPBox, SQLBox as production without any issue, i will recommend use SVN over yum install.
for starting kannel you need to do start all its components which are
1) bearerbox (part of gateway)
2) smsbox (part of gateway)
3) sqlbox (if you have installed)
4) smppbox (if you have installed)
each component needs its own config file.
and you can something like this,
you need to locate where your bearerbox and smsbox are installed. try using
“whereis” to get the path.
i hope this can help
Many thanks for this article ; having spent the whole day on Google trying to locate compile errors this blog explained the build process. Thank you!
| ~~~~~~~~~~^~~
opensmppbox.c:348:9: error: too many arguments to function ‘smpp_pdu_dump’
348 | smpp_pdu_dump(id, pdu);
Am getting that error