SlideShare une entreprise Scribd logo
1  sur  4
Télécharger pour lire hors ligne
Laboratorio de Conmutación

                      Kamailio Lab 2012-13
                                          (version 1.0)
                                        Sep. 11, 2012




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 the LC imaginary real-world. Last year, your colleagues had to start a new operator
from scratch. In this practice you will have to increase the services and the capacity of your
system by implementing new techniques.

As you may know, the United Archipelago Republic is formed by more than 100 islands.
However 99% of population enjoy their lives in the 4 biggest islands, namely, Big Banana, Big
Treasure, Drake Island and Lost Island.
The national telecommunication operator was acquired by a Galician capital risk fund in 2011.
For operative reasons, it was decided to divide the operator in four smaller operator based
in each of the main islands. Thanks to the global financial crisis, the Caribbean country is
increasing its GDP and population. They are hiring new VoIP skills and you has been luckily
selected to manage the addition of new functionalities to the SIP system of the island operator
you choose. You will be posted there by your Telecom company, so pack your luggage and
enjoy the experience.

To implement the central softswitch infrastructure your colleagues had a limited budget but they
got very valuable VoIP skills implementing the system on their own with the powerful Kamailio
open-source software.



Basic functionality.
All groups must configure Kamailio so that it can do the following:

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



General considerations
   ●   Users will be provisioned with their complete E.164 number (including the international
       prefix).
   ●   Numbering length is up to system administrator however the length of the
       complete number must respect E.164 standard (never longer than 15 digits, http:/
       /en.wikipedia.org/wiki/E.164). The recommended length is 5 digits after country
       prefix. For instance, Big Banana Island numeration would go from 00178800000 to
       00178839999, more than enough for an island.
   ●    Users registered on the same Kamailio, thus belonging to the same, island should be
       able to call each other without dialing the international prefix.
   ●   Users from different islands must dial the complete number (including prefix) to call each
       other.
   ●   As an additional exercise, user numbers can be associated to SIP URIs, for example,
       user 00178838888 can be bound to a SIP URI like this mahatma.gandhi@<kamailio
       IP>. If you feel capable, you can even substitute <kamailio IP> for a domain name:
       bigbanana.ur, bigtreausure.ur, drakeisland.ur, lostisland.ur. If
       you were wondering it, yes, ‘ur’ domain root is free: http://www.iana.org/domains/root/db/
       )



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, they received last year 120,000 people during tourist season. Most of them
comes from Europe and North America so most of the call traffic is international. We want to
balance all the international traffic between a number of SIP providers. In the practice we’ll
simulate just a couple of SIP providers. The SIP providers can be simulated with either Asterisk
or sipp4. However, Kamailio will check every 30 seconds the availability of our SIP providers, to
prevent us from sending calls to an out- of-service SIP provider. To avoid service disruptions
Kamailio must implement peak load protection. To simulate calls you can use sipp. XML sipp
configuration files will be provided by Quobis. The international prefix assigned for Big
Banana island is: 001788[0-3]


Option 2: you will configure Kamailio for Big Treasure Island. This Island it’s a Tax Haven
so it has a lot of corporative customers. Last year we implemented TLS support to be able to
encrypt the signaling exchanged between our customer terminals and Kamailio. This year, as
a massive customer requirement we must support attended call transfer between our users. It
should be supported by default by Kamailio, anyway we need to implement a demo scenario
with sipp so that we can test the scenario easily in an automatic way. So you must implement
the call transfer scenario in sipp from the traces that will be provided to you in due time. The
international 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. Last year we used SIPvicious toolkit to test the security of our Kamailio server. Though
simple, it’s quite powerful, hacker community skills improve day after day so you must use more
powerful tools. That’s the reason why this year will use the Metasploit modules implemented
by our colleague jesus.perez@quobis.com to simulate DoS, DDoS and extension brute-force
attacks. Your challenge in the practice option will be implement as many attacks and security
methods as you can. The security of this operator is in your hands. The international prefix
assigned for Drake Island is: 001788[6-7]

Option 4: you will configure Kamailio for Lost island. Last year your colleagues had to force
GSM codec in every calls processed by this operator since they use WiMAX air links whose
capacity dramatically decreases during hurricane and other extreme atmospheric phenomena.
During this year hurricanes our bandwidth saving technique worked pretty well, but operator
CEO says that we should offer a better audio quality when the sky is blue and the Sun is
shining, which is almost all the time. To do so we’ll only force GSM codec in our calls when
wind is over 50km/h or visibility is lower than 3km. To implement it you must get the weather
conditions of our island from a public and free weather webservices server and act accordingly.
Our recommendation is to call a script which checks the Globalweather service from http://
www.webservicex.net calling a Python script from Kamailio (a check every 5 minutes would
be enough), to indicate the need of using GSM codec in a Kamailio pseudovariable which
must be checked when processing every call. In short, the target is to modify SDPs to
only allow GSM1 codec in every call when weather conditions are bad2, and leave the
selected codec the rest of the time. The international 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, do not hesitate
to send a mail to the list trying to write it in an understandable way, including all the progress
you have 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-SIPsipp
   ● 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/



1In a production environment, the right choice would be normally G.729. The thing is that
G.729 codec can only be used after paying a cannon, so open source softphones do not
support it. However GSM is an open standard and it is implemented by most of the open source
softphones.
2Obviously, Globalweather service will only offer weather from real real cities. For this practice
will use the weather conditions from Nassau Airport (Bahamas).

Contenu connexe

Tendances

Adhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework PresentationAdhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework PresentationJustin Grammens
 
Asterisk World Theater Talk Tlc 080319
Asterisk World Theater Talk Tlc 080319Asterisk World Theater Talk Tlc 080319
Asterisk World Theater Talk Tlc 080319Carl Ford
 
respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...jpalley
 
Tropo Presentation for TADHack
Tropo Presentation for TADHackTropo Presentation for TADHack
Tropo Presentation for TADHackAlan Quayle
 
VoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATIONVoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATIONKarama Said(BEng,MSc)
 
Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP ThousandEyes
 
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansPractical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansLiving Online
 
IPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesIPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesAPNIC
 
VoLTE video telephony – a communication evolution
VoLTE video telephony – a communication evolution VoLTE video telephony – a communication evolution
VoLTE video telephony – a communication evolution IMTC
 

Tendances (20)

Voip In College
Voip In CollegeVoip In College
Voip In College
 
Adhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework PresentationAdhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework Presentation
 
Asterisk World Theater Talk Tlc 080319
Asterisk World Theater Talk Tlc 080319Asterisk World Theater Talk Tlc 080319
Asterisk World Theater Talk Tlc 080319
 
Introduction to VOIP
Introduction to VOIPIntroduction to VOIP
Introduction to VOIP
 
respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...
 
Tropo Presentation for TADHack
Tropo Presentation for TADHackTropo Presentation for TADHack
Tropo Presentation for TADHack
 
VoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATIONVoIP Techniques and Challenges PRESENTATION
VoIP Techniques and Challenges PRESENTATION
 
Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 
Astricon 2007
Astricon 2007Astricon 2007
Astricon 2007
 
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansPractical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
 
2012 ah vegas wlan design for voice video
2012 ah vegas   wlan design for voice video2012 ah vegas   wlan design for voice video
2012 ah vegas wlan design for voice video
 
2012 ah emea top 10 tips from aruba tac
2012 ah emea   top 10 tips from aruba tac 2012 ah emea   top 10 tips from aruba tac
2012 ah emea top 10 tips from aruba tac
 
IPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesIPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for Mobiles
 
voip gateway
 voip gateway voip gateway
voip gateway
 
Shanghai Breakout: Wireless LAN Security Fundamentals
Shanghai Breakout: Wireless LAN Security Fundamentals Shanghai Breakout: Wireless LAN Security Fundamentals
Shanghai Breakout: Wireless LAN Security Fundamentals
 
Vo ip sip
Vo ip sipVo ip sip
Vo ip sip
 
80211ac faq 121311
80211ac faq 12131180211ac faq 121311
80211ac faq 121311
 
VoLTE video telephony – a communication evolution
VoLTE video telephony – a communication evolution VoLTE video telephony – a communication evolution
VoLTE video telephony – a communication evolution
 
Gigabit wi fi 802.11ac in depth onno harms
Gigabit wi fi 802.11ac in depth onno harmsGigabit wi fi 802.11ac in depth onno harms
Gigabit wi fi 802.11ac in depth onno harms
 

En vedette

Grupo Exportación Tic Galicia
Grupo Exportación Tic GaliciaGrupo Exportación Tic Galicia
Grupo Exportación Tic GaliciaQuobis
 
Presentation MultipleTalk
Presentation MultipleTalkPresentation MultipleTalk
Presentation MultipleTalkQuobis
 
Quobis webinar Siete avances clave en la operabilidad de redes VoIP y NGN
Quobis webinar  Siete avances clave en la operabilidad de redes VoIP y NGNQuobis webinar  Siete avances clave en la operabilidad de redes VoIP y NGN
Quobis webinar Siete avances clave en la operabilidad de redes VoIP y NGNQuobis
 
Presentacion kamailio uvigo_09262011
Presentacion kamailio uvigo_09262011Presentacion kamailio uvigo_09262011
Presentacion kamailio uvigo_09262011Quobis
 
Webinar seguridad VoIP
Webinar seguridad VoIPWebinar seguridad VoIP
Webinar seguridad VoIPQuobis
 
Presentacion vtdm
Presentacion vtdmPresentacion vtdm
Presentacion vtdmQuobis
 
Info secvoip
Info secvoipInfo secvoip
Info secvoipQuobis
 
Quobis portfolio corporativo
Quobis portfolio corporativoQuobis portfolio corporativo
Quobis portfolio corporativoQuobis
 
Presentation VoiceInstant
Presentation VoiceInstantPresentation VoiceInstant
Presentation VoiceInstantQuobis
 
Presentation TalkStorage
Presentation TalkStoragePresentation TalkStorage
Presentation TalkStorageQuobis
 
¿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
 
Quobis profile english 2010
Quobis profile english 2010Quobis profile english 2010
Quobis profile english 2010Quobis
 

En vedette (12)

Grupo Exportación Tic Galicia
Grupo Exportación Tic GaliciaGrupo Exportación Tic Galicia
Grupo Exportación Tic Galicia
 
Presentation MultipleTalk
Presentation MultipleTalkPresentation MultipleTalk
Presentation MultipleTalk
 
Quobis webinar Siete avances clave en la operabilidad de redes VoIP y NGN
Quobis webinar  Siete avances clave en la operabilidad de redes VoIP y NGNQuobis webinar  Siete avances clave en la operabilidad de redes VoIP y NGN
Quobis webinar Siete avances clave en la operabilidad de redes VoIP y NGN
 
Presentacion kamailio uvigo_09262011
Presentacion kamailio uvigo_09262011Presentacion kamailio uvigo_09262011
Presentacion kamailio uvigo_09262011
 
Webinar seguridad VoIP
Webinar seguridad VoIPWebinar seguridad VoIP
Webinar seguridad VoIP
 
Presentacion vtdm
Presentacion vtdmPresentacion vtdm
Presentacion vtdm
 
Info secvoip
Info secvoipInfo secvoip
Info secvoip
 
Quobis portfolio corporativo
Quobis portfolio corporativoQuobis portfolio corporativo
Quobis portfolio corporativo
 
Presentation VoiceInstant
Presentation VoiceInstantPresentation VoiceInstant
Presentation VoiceInstant
 
Presentation TalkStorage
Presentation TalkStoragePresentation TalkStorage
Presentation TalkStorage
 
¿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 profile english 2010
Quobis profile english 2010Quobis profile english 2010
Quobis profile english 2010
 

Similaire à Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2013

Building a Streaming Microservices Architecture - Data + AI Summit EU 2020
Building a Streaming Microservices Architecture - Data + AI Summit EU 2020Building a Streaming Microservices Architecture - Data + AI Summit EU 2020
Building a Streaming Microservices Architecture - Data + AI Summit EU 2020Databricks
 
Experiences with serverless for high throughput low usage applications | ryan...
Experiences with serverless for high throughput low usage applications | ryan...Experiences with serverless for high throughput low usage applications | ryan...
Experiences with serverless for high throughput low usage applications | ryan...AWSCOMSUM
 
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad AssisKubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad AssisAgileSparks
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocolMichal Hrncirik
 
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...jimliddle
 
CloudCrowd - RazorFish Presentation on Building Hybrid Public/Private Cloud
CloudCrowd - RazorFish Presentation on Building Hybrid Public/Private CloudCloudCrowd - RazorFish Presentation on Building Hybrid Public/Private Cloud
CloudCrowd - RazorFish Presentation on Building Hybrid Public/Private CloudNati Shalom
 
SYN207: Newest and coolest NetScaler features you should be jazzed about
SYN207: Newest and coolest NetScaler features you should be jazzed aboutSYN207: Newest and coolest NetScaler features you should be jazzed about
SYN207: Newest and coolest NetScaler features you should be jazzed aboutCitrix
 
Aruba utilities on mobile devices v30
Aruba utilities on mobile devices v30Aruba utilities on mobile devices v30
Aruba utilities on mobile devices v30Marcello Marchesini
 
Confluent Steaming Webinar - Cape Town - Vitality
Confluent Steaming Webinar - Cape Town - VitalityConfluent Steaming Webinar - Cape Town - Vitality
Confluent Steaming Webinar - Cape Town - Vitalityconfluent
 
Basic VoIP Drupal Intro - for BioRAFT
Basic VoIP Drupal Intro - for BioRAFTBasic VoIP Drupal Intro - for BioRAFT
Basic VoIP Drupal Intro - for BioRAFTMicky Metts
 
IRJET- Voice Recognition(AI) : Voice Assistant Robot
IRJET-  	  Voice Recognition(AI) : Voice Assistant RobotIRJET-  	  Voice Recognition(AI) : Voice Assistant Robot
IRJET- Voice Recognition(AI) : Voice Assistant RobotIRJET Journal
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsOlle E Johansson
 
Scaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/dayScaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/dayKarthik Ramasamy
 
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 KeynoteScaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 KeynoteStreamNative
 

Similaire à Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2013 (20)

Building a Streaming Microservices Architecture - Data + AI Summit EU 2020
Building a Streaming Microservices Architecture - Data + AI Summit EU 2020Building a Streaming Microservices Architecture - Data + AI Summit EU 2020
Building a Streaming Microservices Architecture - Data + AI Summit EU 2020
 
Experiences with serverless for high throughput low usage applications | ryan...
Experiences with serverless for high throughput low usage applications | ryan...Experiences with serverless for high throughput low usage applications | ryan...
Experiences with serverless for high throughput low usage applications | ryan...
 
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad AssisKubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
 
Skyping awesomeness
Skyping awesomenessSkyping awesomeness
Skyping awesomeness
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
 
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
Cloud Crowd - Mandhir Gidda Razorfish " Building a Public / Private Hybrid Cl...
 
CloudCrowd - RazorFish Presentation on Building Hybrid Public/Private Cloud
CloudCrowd - RazorFish Presentation on Building Hybrid Public/Private CloudCloudCrowd - RazorFish Presentation on Building Hybrid Public/Private Cloud
CloudCrowd - RazorFish Presentation on Building Hybrid Public/Private Cloud
 
Wi-Fi Behavior of Popular Mobile Devices #AirheadsConf Italy
Wi-Fi Behavior of Popular Mobile Devices #AirheadsConf ItalyWi-Fi Behavior of Popular Mobile Devices #AirheadsConf Italy
Wi-Fi Behavior of Popular Mobile Devices #AirheadsConf Italy
 
Mobile Devices and Wi-Fi
Mobile Devices and Wi-FiMobile Devices and Wi-Fi
Mobile Devices and Wi-Fi
 
SYN207: Newest and coolest NetScaler features you should be jazzed about
SYN207: Newest and coolest NetScaler features you should be jazzed aboutSYN207: Newest and coolest NetScaler features you should be jazzed about
SYN207: Newest and coolest NetScaler features you should be jazzed about
 
Aruba utilities on mobile devices v30
Aruba utilities on mobile devices v30Aruba utilities on mobile devices v30
Aruba utilities on mobile devices v30
 
Confluent Steaming Webinar - Cape Town - Vitality
Confluent Steaming Webinar - Cape Town - VitalityConfluent Steaming Webinar - Cape Town - Vitality
Confluent Steaming Webinar - Cape Town - Vitality
 
Basic VoIP Drupal Intro - for BioRAFT
Basic VoIP Drupal Intro - for BioRAFTBasic VoIP Drupal Intro - for BioRAFT
Basic VoIP Drupal Intro - for BioRAFT
 
Shanghai Breakout: Mobile Devices and Wi-Fi
Shanghai Breakout: Mobile Devices and Wi-FiShanghai Breakout: Mobile Devices and Wi-Fi
Shanghai Breakout: Mobile Devices and Wi-Fi
 
IRJET- Voice Recognition(AI) : Voice Assistant Robot
IRJET-  	  Voice Recognition(AI) : Voice Assistant RobotIRJET-  	  Voice Recognition(AI) : Voice Assistant Robot
IRJET- Voice Recognition(AI) : Voice Assistant Robot
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installations
 
Scaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/dayScaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/day
 
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 KeynoteScaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
 
Apache Pulsar @Splunk
Apache Pulsar @SplunkApache Pulsar @Splunk
Apache Pulsar @Splunk
 
WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)
WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)
WebRTC Summit November 2013 - WebRTC Interoperability (and why it is important)
 

Plus de Quobis

[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)Quobis
 
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?"Quobis
 
Security and identity management on WebRTC
Security and identity management on WebRTCSecurity and identity management on WebRTC
Security and identity management on WebRTCQuobis
 
An hour with WebRTC FIC UDC
An hour with WebRTC FIC UDCAn hour with WebRTC FIC UDC
An hour with WebRTC FIC UDCQuobis
 
QUOBIS corporate portfolio
QUOBIS corporate portfolioQUOBIS corporate portfolio
QUOBIS corporate portfolioQuobis
 
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) - QuobisQuobis
 
Perfil Quobis
Perfil QuobisPerfil Quobis
Perfil QuobisQuobis
 
Corporative Profile 2010
Corporative Profile 2010Corporative Profile 2010
Corporative Profile 2010Quobis
 
“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?”Quobis
 

Plus de Quobis (10)

[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
 
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?”
 

Dernier

Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 

Dernier (20)

FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 

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

  • 1. Laboratorio de Conmutación Kamailio Lab 2012-13 (version 1.0) Sep. 11, 2012 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 the LC imaginary real-world. Last year, your colleagues had to start a new operator from scratch. In this practice you will have to increase the services and the capacity of your system by implementing new techniques. As you may know, the United Archipelago Republic is formed by more than 100 islands. However 99% of population enjoy their lives in the 4 biggest islands, namely, Big Banana, Big Treasure, Drake Island and Lost Island. The national telecommunication operator was acquired by a Galician capital risk fund in 2011. For operative reasons, it was decided to divide the operator in four smaller operator based
  • 2. in each of the main islands. Thanks to the global financial crisis, the Caribbean country is increasing its GDP and population. They are hiring new VoIP skills and you has been luckily selected to manage the addition of new functionalities to the SIP system of the island operator you choose. You will be posted there by your Telecom company, so pack your luggage and enjoy the experience. To implement the central softswitch infrastructure your colleagues had a limited budget but they got very valuable VoIP skills implementing the system on their own with the powerful Kamailio open-source software. Basic functionality. All groups must configure Kamailio so that it can do the following: 1. Register up to 100 users (except for team 2). 2. Establish calls between registered users. 3. Establish calls to each other’s groups. General considerations ● Users will be provisioned with their complete E.164 number (including the international prefix). ● Numbering length is up to system administrator however the length of the complete number must respect E.164 standard (never longer than 15 digits, http:/ /en.wikipedia.org/wiki/E.164). The recommended length is 5 digits after country prefix. For instance, Big Banana Island numeration would go from 00178800000 to 00178839999, more than enough for an island. ● Users registered on the same Kamailio, thus belonging to the same, island should be able to call each other without dialing the international prefix. ● Users from different islands must dial the complete number (including prefix) to call each other. ● As an additional exercise, user numbers can be associated to SIP URIs, for example, user 00178838888 can be bound to a SIP URI like this mahatma.gandhi@<kamailio IP>. If you feel capable, you can even substitute <kamailio IP> for a domain name: bigbanana.ur, bigtreausure.ur, drakeisland.ur, lostisland.ur. If you were wondering it, yes, ‘ur’ domain root is free: http://www.iana.org/domains/root/db/ ) Additional functionality.
  • 3. 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, they received last year 120,000 people during tourist season. Most of them comes from Europe and North America so most of the call traffic is international. We want to balance all the international traffic between a number of SIP providers. In the practice we’ll simulate just a couple of SIP providers. The SIP providers can be simulated with either Asterisk or sipp4. However, Kamailio will check every 30 seconds the availability of our SIP providers, to prevent us from sending calls to an out- of-service SIP provider. To avoid service disruptions Kamailio must implement peak load protection. To simulate calls you can use sipp. XML sipp configuration files will be provided by Quobis. The international prefix assigned for Big Banana island is: 001788[0-3] Option 2: you will configure Kamailio for Big Treasure Island. This Island it’s a Tax Haven so it has a lot of corporative customers. Last year we implemented TLS support to be able to encrypt the signaling exchanged between our customer terminals and Kamailio. This year, as a massive customer requirement we must support attended call transfer between our users. It should be supported by default by Kamailio, anyway we need to implement a demo scenario with sipp so that we can test the scenario easily in an automatic way. So you must implement the call transfer scenario in sipp from the traces that will be provided to you in due time. The international 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. Last year we used SIPvicious toolkit to test the security of our Kamailio server. Though simple, it’s quite powerful, hacker community skills improve day after day so you must use more powerful tools. That’s the reason why this year will use the Metasploit modules implemented by our colleague jesus.perez@quobis.com to simulate DoS, DDoS and extension brute-force attacks. Your challenge in the practice option will be implement as many attacks and security methods as you can. The security of this operator is in your hands. The international prefix assigned for Drake Island is: 001788[6-7] Option 4: you will configure Kamailio for Lost island. Last year your colleagues had to force GSM codec in every calls processed by this operator since they use WiMAX air links whose capacity dramatically decreases during hurricane and other extreme atmospheric phenomena. During this year hurricanes our bandwidth saving technique worked pretty well, but operator CEO says that we should offer a better audio quality when the sky is blue and the Sun is shining, which is almost all the time. To do so we’ll only force GSM codec in our calls when wind is over 50km/h or visibility is lower than 3km. To implement it you must get the weather conditions of our island from a public and free weather webservices server and act accordingly. Our recommendation is to call a script which checks the Globalweather service from http:// www.webservicex.net calling a Python script from Kamailio (a check every 5 minutes would be enough), to indicate the need of using GSM codec in a Kamailio pseudovariable which must be checked when processing every call. In short, the target is to modify SDPs to
  • 4. only allow GSM1 codec in every call when weather conditions are bad2, and leave the selected codec the rest of the time. The international 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, do not hesitate to send a mail to the list trying to write it in an understandable way, including all the progress you have 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-SIPsipp ● 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/ 1In a production environment, the right choice would be normally G.729. The thing is that G.729 codec can only be used after paying a cannon, so open source softphones do not support it. However GSM is an open standard and it is implemented by most of the open source softphones. 2Obviously, Globalweather service will only offer weather from real real cities. For this practice will use the weather conditions from Nassau Airport (Bahamas).