SlideShare a Scribd company logo
1 of 3
Download to read offline
Laboratorio de Conmutación

                          Kamailio Lab (version 1.0)


Introduction
As you know, Quobis Networks is collaborating in the extended practice of Laboratorio de
Conmutación. This is our proposal for the Kamailio exercise. Honestly we can say it is not
difficult at all but it requires you to know a few VoIP concepts and learn how to configure
Kamailio. We recommend to read a SIP tutorial (see bibliography section) before starting the
practice, you will get very valuable skills for the practice and your professional life.



Why Kamailio?
We have already presented the amazing features of Kamailio in previous classes. It is the
most powerful SIP Open Source softswitch used in real VoIP operators such as 1&1 and
Freenet. In the bibliography section you can find links to good Kamailio documentation.



Exercise.
Welcome to an imaginary real-world: in this practice you will have to configure a SIP softswitch
for a ‘real’ operator.

Imagine an archipelago country, called United Archipelago Republic, formed by more than 100
islands. Fortunately, 99% of population happily lives in the 4 biggest islands, namely, Big
Banana, Big Treasure, Drake Island and Lost Island.
The national telecommunication operator has been recently sold and its new owner is a Galician
capital risk fund. For operative reasons, we, the technical managers decided to divide the
operator in four smaller operator based in the 4 main islands. This way they can avoid taxes for
big companies and get a more logical deployment from a technical point of view. You were
selected to manage the SIP deployment of the island operator you choose and you will be
posted there by your Telecom company.

To implement the central softswitch infrastructure you have a limited budget. You are willing to
work hard and get a solid know-how in VoIP technologies so you will use Kamailio project to
implement your VoIP network.



Basic functionality.
All groups must configure Kamailio so that tbe able to:

           1. Register up to 100 users (except for team 2).
           2. establish calls between registered users.
           3. establish calls to each other groups.



Additional functionality.

Additionally to the basic exercise, every group must chose one of the following options:

Option 1: you will configure Kamailio for Big Banana Island. With a population of 10,000 native
residents, it reaches 100,000 during tourist season. To avoid service disruption Kamailio must
implement peak load protection. To simulate call peaks you can use sipp. XML sipp conf files
will be provided by Quobis. The prefix assigned for Big Banana island is: 001788[0-3]


Option 2: you will configure Kamailio for Big Treasure Island. This Island is famous by its
money laundering activities so encrypted communications are vital to protect their customers
from Interpol. This operator must offer their clients SIPS signaling (SIP over TLS) which is
perfectly supported by Kamailio. Only server authentication is required. The prefix assigned
for Big Treasure Island is: 001788[4-5]


Option 3: you will configure Kamailio for Drake Island. This island has been a pirate refuge for
centuries. This tradition survives and nowadays this island has the world highest cracker rate
per km2. Most of them use Sipvicious toolkit to attack VoIP servers. This is the reason why
security is a mandatory requirement for this operator. Kamailio must reject messages coming
from SIPvicious scripts. Quobis will provide info about how to use Sipvicious. The prefix
assigned for Drake Island is: 001788[6-7]

Option 4: Lost island. The Lost Island operator must offer services to many small islands
connected to Lost Island through WiMAX links. So bandwidth saving is a must in all the VoIP
communication. As you should know, in VoIP communication most of the required bandwidth is
consumed by audio/video RTP flows. You must configure Kamailio to modify the SDP
messages to only allow the use of GSM codec in every call. The prefix assigned for
Drake Island is: 001788[8-9]



Help!
Take it easy, luckily you are not alone. Quobis is going to support you during the practice, we
will offer at least one more lesson and provide e-mail support: university@quobis.com

On the other side, Kamailio project is supported by a big community formed by developers,
testers and users who are looking forward to helping you in your challenging project. You can
visit the Kamailio web site and subscribe to Kamailio mailing lists.

Note about using Kamailio mailing list: many people is going to invest their time in reading all
the list mails everyday so, please, read carefully the documentation and try to find similar
questions already answered in the list. If you don’t find the answer on your own, send a mail to
the list trying to write it in an understandable way, including what have you done so far.



What tools can I use?
There are many tools which can be really useful to carry out this exercise. Below you can find
some of them:
          ● wireshark: protocol analyzer.
          ● ngrep-sip: sip-adapted ngrep http://dev.sipdoc.net/projects/sip-stuff/wiki/Ngrep-
              SIP
          ● sipp
          ● jitsi: a Java softphone.
          ● sipp and SIPvicous: check links included in bibliography section.



Bibliography
           1.   SIP tutorial: http://www.iptel.org/files/sip_tutorial.pdf
           2.   Kamailio Knowledge Base: http://kb.asipto.com/kamailio:index
           3.   Kamailio Wiki: http://www.kamailio.org/dokuwiki/doku.php/start
           4.   Sipp: http://sipp.sourceforge.net/
           5.   SIPvicious: http://blog.sipvicious.org/

More Related Content

More from Quobis

An hour with WebRTC FIC UDC
An hour with WebRTC FIC UDCAn hour with WebRTC FIC UDC
An hour with WebRTC FIC UDC
Quobis
 
QUOBIS corporate portfolio
QUOBIS corporate portfolioQUOBIS corporate portfolio
QUOBIS corporate portfolio
Quobis
 
Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)
Quobis
 
Webinar WebRTC y HTML5 (spanish) - Quobis
Webinar WebRTC y HTML5 (spanish) - QuobisWebinar WebRTC y HTML5 (spanish) - Quobis
Webinar WebRTC y HTML5 (spanish) - Quobis
Quobis
 
¿Cómo está cambiando la industria del call center?
¿Cómo está cambiando la industria del call center?¿Cómo está cambiando la industria del call center?
¿Cómo está cambiando la industria del call center?
Quobis
 
Presentation TalkStorage
Presentation TalkStoragePresentation TalkStorage
Presentation TalkStorage
Quobis
 
Presentation VoiceInstant
Presentation VoiceInstantPresentation VoiceInstant
Presentation VoiceInstant
Quobis
 
Quobis portfolio corporativo
Quobis portfolio corporativoQuobis portfolio corporativo
Quobis portfolio corporativo
Quobis
 
Quobis profile english 2010
Quobis profile english 2010Quobis profile english 2010
Quobis profile english 2010
Quobis
 
Corporative Profile 2010
Corporative Profile 2010Corporative Profile 2010
Corporative Profile 2010
Quobis
 

More from Quobis (15)

[REPORT] Comunicaciones Unificadas y Colaboración (UCC)
[REPORT] Comunicaciones Unificadas   y Colaboración (UCC)[REPORT] Comunicaciones Unificadas   y Colaboración (UCC)
[REPORT] Comunicaciones Unificadas y Colaboración (UCC)
 
VOIP2DAY 2015: "WebRTC security concerns, a real problem?"
VOIP2DAY 2015: "WebRTC security concerns, a real problem?"VOIP2DAY 2015: "WebRTC security concerns, a real problem?"
VOIP2DAY 2015: "WebRTC security concerns, a real problem?"
 
Security and identity management on WebRTC
Security and identity management on WebRTCSecurity and identity management on WebRTC
Security and identity management on WebRTC
 
An hour with WebRTC FIC UDC
An hour with WebRTC FIC UDCAn hour with WebRTC FIC UDC
An hour with WebRTC FIC UDC
 
QUOBIS corporate portfolio
QUOBIS corporate portfolioQUOBIS corporate portfolio
QUOBIS corporate portfolio
 
Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)
 
Webinar WebRTC y HTML5 (spanish) - Quobis
Webinar WebRTC y HTML5 (spanish) - QuobisWebinar WebRTC y HTML5 (spanish) - Quobis
Webinar WebRTC y HTML5 (spanish) - Quobis
 
¿Cómo está cambiando la industria del call center?
¿Cómo está cambiando la industria del call center?¿Cómo está cambiando la industria del call center?
¿Cómo está cambiando la industria del call center?
 
Presentation TalkStorage
Presentation TalkStoragePresentation TalkStorage
Presentation TalkStorage
 
Presentation VoiceInstant
Presentation VoiceInstantPresentation VoiceInstant
Presentation VoiceInstant
 
Quobis portfolio corporativo
Quobis portfolio corporativoQuobis portfolio corporativo
Quobis portfolio corporativo
 
Quobis profile english 2010
Quobis profile english 2010Quobis profile english 2010
Quobis profile english 2010
 
Perfil Quobis
Perfil QuobisPerfil Quobis
Perfil Quobis
 
Corporative Profile 2010
Corporative Profile 2010Corporative Profile 2010
Corporative Profile 2010
 
“Pode a Ibéria ser um mercado único para uma start-up?”
“Pode a Ibéria ser um mercado único para uma start-up?”“Pode a Ibéria ser um mercado único para uma start-up?”
“Pode a Ibéria ser um mercado único para uma start-up?”
 

Recently uploaded

Recently uploaded (20)

UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 

Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2011-2012

  • 1. Laboratorio de Conmutación Kamailio Lab (version 1.0) Introduction As you know, Quobis Networks is collaborating in the extended practice of Laboratorio de Conmutación. This is our proposal for the Kamailio exercise. Honestly we can say it is not difficult at all but it requires you to know a few VoIP concepts and learn how to configure Kamailio. We recommend to read a SIP tutorial (see bibliography section) before starting the practice, you will get very valuable skills for the practice and your professional life. Why Kamailio? We have already presented the amazing features of Kamailio in previous classes. It is the most powerful SIP Open Source softswitch used in real VoIP operators such as 1&1 and Freenet. In the bibliography section you can find links to good Kamailio documentation. Exercise. Welcome to an imaginary real-world: in this practice you will have to configure a SIP softswitch for a ‘real’ operator. Imagine an archipelago country, called United Archipelago Republic, formed by more than 100 islands. Fortunately, 99% of population happily lives in the 4 biggest islands, namely, Big Banana, Big Treasure, Drake Island and Lost Island. The national telecommunication operator has been recently sold and its new owner is a Galician capital risk fund. For operative reasons, we, the technical managers decided to divide the operator in four smaller operator based in the 4 main islands. This way they can avoid taxes for
  • 2. big companies and get a more logical deployment from a technical point of view. You were selected to manage the SIP deployment of the island operator you choose and you will be posted there by your Telecom company. To implement the central softswitch infrastructure you have a limited budget. You are willing to work hard and get a solid know-how in VoIP technologies so you will use Kamailio project to implement your VoIP network. Basic functionality. All groups must configure Kamailio so that tbe able to: 1. Register up to 100 users (except for team 2). 2. establish calls between registered users. 3. establish calls to each other groups. Additional functionality. Additionally to the basic exercise, every group must chose one of the following options: Option 1: you will configure Kamailio for Big Banana Island. With a population of 10,000 native residents, it reaches 100,000 during tourist season. To avoid service disruption Kamailio must implement peak load protection. To simulate call peaks you can use sipp. XML sipp conf files will be provided by Quobis. The prefix assigned for Big Banana island is: 001788[0-3] Option 2: you will configure Kamailio for Big Treasure Island. This Island is famous by its money laundering activities so encrypted communications are vital to protect their customers from Interpol. This operator must offer their clients SIPS signaling (SIP over TLS) which is perfectly supported by Kamailio. Only server authentication is required. The prefix assigned for Big Treasure Island is: 001788[4-5] Option 3: you will configure Kamailio for Drake Island. This island has been a pirate refuge for centuries. This tradition survives and nowadays this island has the world highest cracker rate per km2. Most of them use Sipvicious toolkit to attack VoIP servers. This is the reason why security is a mandatory requirement for this operator. Kamailio must reject messages coming from SIPvicious scripts. Quobis will provide info about how to use Sipvicious. The prefix assigned for Drake Island is: 001788[6-7] Option 4: Lost island. The Lost Island operator must offer services to many small islands connected to Lost Island through WiMAX links. So bandwidth saving is a must in all the VoIP
  • 3. communication. As you should know, in VoIP communication most of the required bandwidth is consumed by audio/video RTP flows. You must configure Kamailio to modify the SDP messages to only allow the use of GSM codec in every call. The prefix assigned for Drake Island is: 001788[8-9] Help! Take it easy, luckily you are not alone. Quobis is going to support you during the practice, we will offer at least one more lesson and provide e-mail support: university@quobis.com On the other side, Kamailio project is supported by a big community formed by developers, testers and users who are looking forward to helping you in your challenging project. You can visit the Kamailio web site and subscribe to Kamailio mailing lists. Note about using Kamailio mailing list: many people is going to invest their time in reading all the list mails everyday so, please, read carefully the documentation and try to find similar questions already answered in the list. If you don’t find the answer on your own, send a mail to the list trying to write it in an understandable way, including what have you done so far. What tools can I use? There are many tools which can be really useful to carry out this exercise. Below you can find some of them: ● wireshark: protocol analyzer. ● ngrep-sip: sip-adapted ngrep http://dev.sipdoc.net/projects/sip-stuff/wiki/Ngrep- SIP ● sipp ● jitsi: a Java softphone. ● sipp and SIPvicous: check links included in bibliography section. Bibliography 1. SIP tutorial: http://www.iptel.org/files/sip_tutorial.pdf 2. Kamailio Knowledge Base: http://kb.asipto.com/kamailio:index 3. Kamailio Wiki: http://www.kamailio.org/dokuwiki/doku.php/start 4. Sipp: http://sipp.sourceforge.net/ 5. SIPvicious: http://blog.sipvicious.org/