-
Notifications
You must be signed in to change notification settings - Fork 11
Install Instruction
-
download ubuntu 14.04 - http://releases.ubuntu.com/14.04/
-
download http://www.kannel.org/download/1.5.0/gateway-1.5.0.tar.gz
wget http://www.kannel.org/download/1.5.0/gateway-1.5.0.tar.gz
unzip archive
tar -xzf gateway-1.5.0.tar.gz
cd gateway-1.5.0
-
install lib for compilation\build
sudo apt-get install build-essential libxml2 libxml2-dev
-
configure
sudo mkdir /usr/local/kannel
sudo ./configure --prefix=/usr/local/kannel --enable-start-stop-daemon
-
compile and install
sudo make
sudo make install
-
configure service start\stop
sudo vi /etc/init.d/kannel
sudo chmod +x /etc/init.d/kannel
sudo update-rc.d kannel defaults
sudo mkdir /var/lock/subsys
sudo mkdir /var/log/kannel
-
create config file /etc/kannel/kannel.conf
sudo mkdir /etc/kannel
sudo vi /etc/kannel/kannel.conf
-
edit source code:
convert_addr_from_pdu
in file/gw/smsc/smsc_smpp.c
on line 347
compile and build
sudo make
sudo make install
-
run kannel
sudo service kannel start