SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
Final Year Project



Kannel Configuration
with Motorola Razer
V3
Report




Mahtab Rasheed
10-May-12
Kannel Installation and Configuration as SMS gateway Server

                                         Installation
1. Download latest version of Kannel http://www.kannel.org/download.shtml
2. Unzip it into some directory
3. Before installation of Kannel we have to install a dependency libxml2. To install libxml2 we can
   download it from the following link. ftp://gd.tuwien.ac.at/pub/libxml/
       a. After extracting the package cd into the directory where it is extracted.
       b. Type ./configure
       c. make
       d. make install
       e. to check whether the installation is successful or not type this command: make tests
4. After installation of libxml2 now we will be able to install the Kannel. Now repeat the above
   steps which we repeated for the libxml2 installation
       a. cd into directory where Kannel is unzipped and then type the following commands
       b. ./configure
       c. make
       d. make install
5. Now Kannel is installed and ready for the configuration

                                       Configuration
6. Kannel has three parts bearerbox, smsbox and wapbox. We will need only two bearerbox and
    smsbox as we are going to setup it as SMS gateway server. Bearerbox is the main queue and
    smsbox handles the smscs.
7. Now we need configuration of each beaerbox and smsbox to run the Kannel according to device
    attached. Configuration of bearerbox and smsbox is written into a configuration file sometimes
    but not necessarily named as ‘smskannel.conf’.
8. How to find the ‘smskannel.conf’? Open the terminal and type this command > locate
    smskannel.conf. Now you the open the ‘smskannel.conf’ by the path returned by the command.
         a. After opening the ‘smskannel.conf’ you will see different types of groups there. E.g.
             Core group, smsc group, modem group and smsc service groups. You can refer Kannel
             installation guide for further information.
9. By default bearerbox and smsbox installation files lies in /usr/local/sbin
10. Now copy the ‘smskannel.conf’ into /usr/local/sbin
11. Modem which will be used with Kannel should support ‘AT+CNMI’ command otherwise modem
    will not work with Kannel.
12. We can check if our modem is detected or not by this command > ls /dev . If modem is being
    detected then we will see ttyACM0 / ttyUSB0 in result.
13. To check whether’ AT+CNMI’ command is supported on the modem or not we have to test it
    through serial port. In Linux we can open our device through serial port using ‘minicom’.
If get error in return then you cannot use that modem with Kannel and if you get out put something like
above then you can use that modem with Kannel.

    14. Now run the bearerbox by this command
         bearerbox smskannel.conf
    15. Now run smsbox by this command opening a new terminal and going into directory
         smsbox smskannel.conf
    16. smskannel.conf for Motorola Razer V3 is given below



*******************************smskannel.conf starts here********************************

# 1% gw/bearerbox gw/smskannel.conf

# 2% gw/smsbox gw/smskannel.conf

# 3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop"

# CORE

# There is only one core group and it sets all basic settings

# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),

# 'admin-allow-ip' and 'access.log'



group = core

admin-port = 13003

smsbox-port = 13004

admin-password = bar

#status-password = foo

#admin-deny-ip = ""

#admin-allow-ip = ""

log-file = "/usr/local/Log/kannel.log"

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

access-log = "/usr/local/Log/access.log"

#-----------------Modem Group------------

group = modems

id = motorola

name = "ATI 144"

detect-string = "Motorola"

init-string = "AT0"

init-string= "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

init-string = "AT+CNMI=3,2,0,0,0"

init-string = "AT+CMEE=2;+CNMI=3,1,0,0,0"

reset-string = "ATZ"

speed=115200
need-sleep = true

keepalive-cmd = "AT+CBC;+CSQ"

enable-mms = true

message-storage="SM"

#-------------------------------------------

# SMSC CONNECTIONS

#this is for Motorola Razer V3i

group = smsc

smsc = at

smsc-id = Motorola Razer V3i

modemtype = motorola

device=/dev/ttyACM0

my-number = 00923457055195

sms-center= 00923330005150

connect-allow-ip = 127.0.0.1

log-level = 0

#---------------------------------------------

# SMSBOX SETUP

group = smsbox

bearerbox-host = 127.0.0.1

sendsms-port = 13013

global-sender = 13013

#sendsms-chars = "0123456789 +-"

#log-file = "/tmp/smsbox.log"

#log-level = 0
#access-log = "/tmp/access.log"

#---------------------------------------------

# SEND-SMS USERS

# These users are used when Kannel smsbox sendsms interface is used to

# send PUSH sms messages, i.e. calling URL like

# http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...

group = sendsms-user

username = tester

password = foobar

#user-deny-ip = ""

#user-allow-ip = ""

#---------------------------------------------

# SERVICES

group = sms-service

keyword = nop

text = "You asked nothing and I did it!"



# There should be always a 'default' service. This service is used when no

# other 'sms-service' is applied.

group = sms-service

keyword = default

text = "Kannel Configured by Mahtab Rasheed: Reply from Kannel"

catch-all = yes

max-messages = 1
group = sms-service

keyword = Mahtab

text = "How are u Mahtab?"

group = sms-service

keyword = majid

text = "How are u Majid Hussain?"

group = sms-service

keyword = hammad

text = "Sir we are fine....This message is from Sir Hammad"

*******************************smskannel.conf ends here*********************************

Contenu connexe

Tendances

CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11Irsandi Hasan
 
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTNishant Goel
 
WiFi-integration into EPC
WiFi-integration into EPCWiFi-integration into EPC
WiFi-integration into EPCFranz Edler
 
CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8Nil Menon
 
Network Security Issues
Network Security IssuesNetwork Security Issues
Network Security IssuesAfreenYousaf
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Alan Mark
 
CCNAv5 - S4: Chapter 7: Securing Site-to-site Connectivity
CCNAv5 - S4: Chapter 7: Securing Site-to-site ConnectivityCCNAv5 - S4: Chapter 7: Securing Site-to-site Connectivity
CCNAv5 - S4: Chapter 7: Securing Site-to-site ConnectivityVuz Dở Hơi
 
Cloud computing and service models
Cloud computing and service modelsCloud computing and service models
Cloud computing and service modelsPrateek Soni
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake Alok Tripathi
 
Presentation(group j)implementing trustworthy computing by Sundas Ilyas
Presentation(group j)implementing  trustworthy computing by Sundas IlyasPresentation(group j)implementing  trustworthy computing by Sundas Ilyas
Presentation(group j)implementing trustworthy computing by Sundas IlyasSundas Kayani
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
Switch configuration
Switch configurationSwitch configuration
Switch configurationMuuluu
 
What is Penetration Testing?
What is Penetration Testing?What is Penetration Testing?
What is Penetration Testing?btpsec
 

Tendances (20)

CCNP Security-Secure
CCNP Security-SecureCCNP Security-Secure
CCNP Security-Secure
 
CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11
 
Non repudiation
Non repudiationNon repudiation
Non repudiation
 
Ipv6
Ipv6Ipv6
Ipv6
 
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPT
 
WiFi-integration into EPC
WiFi-integration into EPCWiFi-integration into EPC
WiFi-integration into EPC
 
CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8
 
Types of attacks
Types of attacksTypes of attacks
Types of attacks
 
Network Security Issues
Network Security IssuesNetwork Security Issues
Network Security Issues
 
6. The grid-COMPUTING OGSA and WSRF
6. The grid-COMPUTING OGSA and WSRF6. The grid-COMPUTING OGSA and WSRF
6. The grid-COMPUTING OGSA and WSRF
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)
 
CCNAv5 - S4: Chapter 7: Securing Site-to-site Connectivity
CCNAv5 - S4: Chapter 7: Securing Site-to-site ConnectivityCCNAv5 - S4: Chapter 7: Securing Site-to-site Connectivity
CCNAv5 - S4: Chapter 7: Securing Site-to-site Connectivity
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
Cloud computing and service models
Cloud computing and service modelsCloud computing and service models
Cloud computing and service models
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake
 
Presentation(group j)implementing trustworthy computing by Sundas Ilyas
Presentation(group j)implementing  trustworthy computing by Sundas IlyasPresentation(group j)implementing  trustworthy computing by Sundas Ilyas
Presentation(group j)implementing trustworthy computing by Sundas Ilyas
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
Switch configuration
Switch configurationSwitch configuration
Switch configuration
 
What is Penetration Testing?
What is Penetration Testing?What is Penetration Testing?
What is Penetration Testing?
 

En vedette

serveur kanne passerelle-sms
serveur kanne  passerelle-smsserveur kanne  passerelle-sms
serveur kanne passerelle-smsKomaps99
 
SMS Based Applications: Behind the scene
SMS Based Applications: Behind the sceneSMS Based Applications: Behind the scene
SMS Based Applications: Behind the scenePrawesh Shrestha
 
How to set up and Configure Kannel, A quick start
How to set up and Configure Kannel, A quick startHow to set up and Configure Kannel, A quick start
How to set up and Configure Kannel, A quick startMobME Technical
 
The Most Popular Stringed Instruments In Estonia
The Most Popular Stringed Instruments In EstoniaThe Most Popular Stringed Instruments In Estonia
The Most Popular Stringed Instruments In EstoniaDaniela
 
ENVOIE DE SMS LONG AVEC PYTHON-GAMMU
ENVOIE DE SMS LONG AVEC PYTHON-GAMMUENVOIE DE SMS LONG AVEC PYTHON-GAMMU
ENVOIE DE SMS LONG AVEC PYTHON-GAMMUJosué Romba
 
Programmation événementielle avec Windev
Programmation événementielle avec WindevProgrammation événementielle avec Windev
Programmation événementielle avec WindevGuillaume Cabanac
 
Conception et développement d’un système d’alerte et notification d’une tou...
Conception et développement  d’un système d’alerte et notification  d’une tou...Conception et développement  d’un système d’alerte et notification  d’une tou...
Conception et développement d’un système d’alerte et notification d’une tou...Bilel Khaled ☁
 
Serveur sms avec traitement de contenu, avec Gammu
Serveur sms avec traitement de contenu, avec GammuServeur sms avec traitement de contenu, avec Gammu
Serveur sms avec traitement de contenu, avec GammuFabrice Sonzahi
 
Rapport Projet de fin d'etude sur le parc informatique
Rapport Projet  de fin d'etude sur le parc informatiqueRapport Projet  de fin d'etude sur le parc informatique
Rapport Projet de fin d'etude sur le parc informatiqueHicham Ben
 
Mise en place d'un serveur SMS Open Source sous GAMMU
Mise en place d'un serveur SMS Open Source sous GAMMUMise en place d'un serveur SMS Open Source sous GAMMU
Mise en place d'un serveur SMS Open Source sous GAMMUMahamadou Traore
 
Windows 8, Server 2012 et office 2013
Windows 8, Server 2012 et office 2013Windows 8, Server 2012 et office 2013
Windows 8, Server 2012 et office 2013Patricia NENZI
 
Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2
Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2
Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2Sofien Benrhouma
 

En vedette (12)

serveur kanne passerelle-sms
serveur kanne  passerelle-smsserveur kanne  passerelle-sms
serveur kanne passerelle-sms
 
SMS Based Applications: Behind the scene
SMS Based Applications: Behind the sceneSMS Based Applications: Behind the scene
SMS Based Applications: Behind the scene
 
How to set up and Configure Kannel, A quick start
How to set up and Configure Kannel, A quick startHow to set up and Configure Kannel, A quick start
How to set up and Configure Kannel, A quick start
 
The Most Popular Stringed Instruments In Estonia
The Most Popular Stringed Instruments In EstoniaThe Most Popular Stringed Instruments In Estonia
The Most Popular Stringed Instruments In Estonia
 
ENVOIE DE SMS LONG AVEC PYTHON-GAMMU
ENVOIE DE SMS LONG AVEC PYTHON-GAMMUENVOIE DE SMS LONG AVEC PYTHON-GAMMU
ENVOIE DE SMS LONG AVEC PYTHON-GAMMU
 
Programmation événementielle avec Windev
Programmation événementielle avec WindevProgrammation événementielle avec Windev
Programmation événementielle avec Windev
 
Conception et développement d’un système d’alerte et notification d’une tou...
Conception et développement  d’un système d’alerte et notification  d’une tou...Conception et développement  d’un système d’alerte et notification  d’une tou...
Conception et développement d’un système d’alerte et notification d’une tou...
 
Serveur sms avec traitement de contenu, avec Gammu
Serveur sms avec traitement de contenu, avec GammuServeur sms avec traitement de contenu, avec Gammu
Serveur sms avec traitement de contenu, avec Gammu
 
Rapport Projet de fin d'etude sur le parc informatique
Rapport Projet  de fin d'etude sur le parc informatiqueRapport Projet  de fin d'etude sur le parc informatique
Rapport Projet de fin d'etude sur le parc informatique
 
Mise en place d'un serveur SMS Open Source sous GAMMU
Mise en place d'un serveur SMS Open Source sous GAMMUMise en place d'un serveur SMS Open Source sous GAMMU
Mise en place d'un serveur SMS Open Source sous GAMMU
 
Windows 8, Server 2012 et office 2013
Windows 8, Server 2012 et office 2013Windows 8, Server 2012 et office 2013
Windows 8, Server 2012 et office 2013
 
Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2
Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2
Rapport Projet De Fin D'étude Développent d'une application web avec Symfony2
 

Similaire à Kannel configuration step by step with Motorolla Razer

Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to KernelMuhammad Bilal
 
Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guidevinod31dec
 
Kubernetes installation
Kubernetes installationKubernetes installation
Kubernetes installationAhmed Mekawy
 
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...DataStax
 
Varnish Configuration Step by Step
Varnish Configuration Step by StepVarnish Configuration Step by Step
Varnish Configuration Step by StepKim Stefan Lindholm
 
Setting up a kubernetes cluster on ubuntu 18.04- loves cloud
Setting up a kubernetes cluster on ubuntu 18.04- loves cloudSetting up a kubernetes cluster on ubuntu 18.04- loves cloud
Setting up a kubernetes cluster on ubuntu 18.04- loves cloudLoves Cloud
 
Membangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverMembangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverIwan Kurniarasa
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiUnmesh Baile
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installationfranbow
 
Build your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web ServicesBuild your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web Servicesponukumatla joel nishanth
 
Installation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling firstInstallation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling firstJawad Khan
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingBeni Krisbiantoro
 
Oracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linuxOracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linuxVenu Palakolanu
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modulesmohamedmoharam
 

Similaire à Kannel configuration step by step with Motorolla Razer (20)

Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
 
Freeradius edir
Freeradius edirFreeradius edir
Freeradius edir
 
Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guide
 
Backbase CXP Manager Setup
Backbase CXP Manager SetupBackbase CXP Manager Setup
Backbase CXP Manager Setup
 
Kubernetes installation
Kubernetes installationKubernetes installation
Kubernetes installation
 
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
 
Varnish Configuration Step by Step
Varnish Configuration Step by StepVarnish Configuration Step by Step
Varnish Configuration Step by Step
 
Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9
 
Setting up a kubernetes cluster on ubuntu 18.04- loves cloud
Setting up a kubernetes cluster on ubuntu 18.04- loves cloudSetting up a kubernetes cluster on ubuntu 18.04- loves cloud
Setting up a kubernetes cluster on ubuntu 18.04- loves cloud
 
Membangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverMembangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_server
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbai
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installation
 
Build your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web ServicesBuild your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web Services
 
Installation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling firstInstallation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling first
 
Mail
MailMail
Mail
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
 
Alta disponibilidad en GNU/Linux
Alta disponibilidad en GNU/LinuxAlta disponibilidad en GNU/Linux
Alta disponibilidad en GNU/Linux
 
Install oracle11gr2 rhel5
Install oracle11gr2 rhel5Install oracle11gr2 rhel5
Install oracle11gr2 rhel5
 
Oracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linuxOracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linux
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modules
 

Dernier

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 

Dernier (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Kannel configuration step by step with Motorolla Razer

  • 1. Final Year Project Kannel Configuration with Motorola Razer V3 Report Mahtab Rasheed 10-May-12
  • 2. Kannel Installation and Configuration as SMS gateway Server Installation 1. Download latest version of Kannel http://www.kannel.org/download.shtml 2. Unzip it into some directory 3. Before installation of Kannel we have to install a dependency libxml2. To install libxml2 we can download it from the following link. ftp://gd.tuwien.ac.at/pub/libxml/ a. After extracting the package cd into the directory where it is extracted. b. Type ./configure c. make d. make install e. to check whether the installation is successful or not type this command: make tests 4. After installation of libxml2 now we will be able to install the Kannel. Now repeat the above steps which we repeated for the libxml2 installation a. cd into directory where Kannel is unzipped and then type the following commands b. ./configure c. make d. make install 5. Now Kannel is installed and ready for the configuration Configuration 6. Kannel has three parts bearerbox, smsbox and wapbox. We will need only two bearerbox and smsbox as we are going to setup it as SMS gateway server. Bearerbox is the main queue and smsbox handles the smscs. 7. Now we need configuration of each beaerbox and smsbox to run the Kannel according to device attached. Configuration of bearerbox and smsbox is written into a configuration file sometimes but not necessarily named as ‘smskannel.conf’. 8. How to find the ‘smskannel.conf’? Open the terminal and type this command > locate smskannel.conf. Now you the open the ‘smskannel.conf’ by the path returned by the command. a. After opening the ‘smskannel.conf’ you will see different types of groups there. E.g. Core group, smsc group, modem group and smsc service groups. You can refer Kannel installation guide for further information. 9. By default bearerbox and smsbox installation files lies in /usr/local/sbin 10. Now copy the ‘smskannel.conf’ into /usr/local/sbin 11. Modem which will be used with Kannel should support ‘AT+CNMI’ command otherwise modem will not work with Kannel. 12. We can check if our modem is detected or not by this command > ls /dev . If modem is being detected then we will see ttyACM0 / ttyUSB0 in result. 13. To check whether’ AT+CNMI’ command is supported on the modem or not we have to test it through serial port. In Linux we can open our device through serial port using ‘minicom’.
  • 3.
  • 4.
  • 5. If get error in return then you cannot use that modem with Kannel and if you get out put something like above then you can use that modem with Kannel. 14. Now run the bearerbox by this command  bearerbox smskannel.conf 15. Now run smsbox by this command opening a new terminal and going into directory  smsbox smskannel.conf 16. smskannel.conf for Motorola Razer V3 is given below *******************************smskannel.conf starts here******************************** # 1% gw/bearerbox gw/smskannel.conf # 2% gw/smsbox gw/smskannel.conf # 3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop" # CORE # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on
  • 6. # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 13003 smsbox-port = 13004 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/usr/local/Log/kannel.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "/usr/local/Log/access.log" #-----------------Modem Group------------ group = modems id = motorola name = "ATI 144" detect-string = "Motorola" init-string = "AT0" init-string= "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" init-string = "AT+CNMI=3,2,0,0,0" init-string = "AT+CMEE=2;+CNMI=3,1,0,0,0" reset-string = "ATZ" speed=115200
  • 7. need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = true message-storage="SM" #------------------------------------------- # SMSC CONNECTIONS #this is for Motorola Razer V3i group = smsc smsc = at smsc-id = Motorola Razer V3i modemtype = motorola device=/dev/ttyACM0 my-number = 00923457055195 sms-center= 00923330005150 connect-allow-ip = 127.0.0.1 log-level = 0 #--------------------------------------------- # SMSBOX SETUP group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0
  • 8. #access-log = "/tmp/access.log" #--------------------------------------------- # SEND-SMS USERS # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar... group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" #--------------------------------------------- # SERVICES group = sms-service keyword = nop text = "You asked nothing and I did it!" # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = "Kannel Configured by Mahtab Rasheed: Reply from Kannel" catch-all = yes max-messages = 1
  • 9. group = sms-service keyword = Mahtab text = "How are u Mahtab?" group = sms-service keyword = majid text = "How are u Majid Hussain?" group = sms-service keyword = hammad text = "Sir we are fine....This message is from Sir Hammad" *******************************smskannel.conf ends here*********************************