SlideShare uma empresa Scribd logo
1 de 48
Baixar para ler offline
Laboratorio de Conmutación
12/13: Kamailio




                     By Antón Román 09/27/2011
Presentation
Quobis, who we are:               www.quobis.com


●   Quobis is a Engineering company focused on VoIP technologies.

●   Founded in 2006 by Teleco Uvigo alumnus.

●   Premises at O Porriño.

●   90% engineers.

●   Main customers: operators, call centers and enterprises

●   Partnerships: AcmePacket, Aheeva, SIPWise and Iptego.

●   Own products: MTRP, SecVoID, MCU,...

●   R&D activities. Currently involved in Avanza and FP7 projects.
                                                                     2
Motivation


 Why are we doing this?
 ●
     We strongly believe University must be linked to real world.

 ●   Part of our contribution to Kamailio Open Source Project.

 ●   Professionals with qualified VoIP skills are demanded.

 ●   Close cooperation with university in R&D projects.




Quobis Networks SLU
Todos los derechos reservados                                    3
st
                                          1        Part

                                Biref introduction to telephony

                                Basics of IP Telephony (ToIP)




Quobis Networks SLU
Todos los derechos reservados                                     4
Introduction to telephony.




Quobis Networks SLU
Todos los derechos reservados                                5
Introduction to telephony.

                ●   1833 Samuel Morse invents telegraph

                ●   1871 Antonio Meuci invents telephone

                ●   1876 Alexander Graham Bell patents telephone

                ●   1877 First telephone call in Spain




Quobis Networks SLU
Todos los derechos reservados                                      6
Introduction to telephony.

           1870
                                ●   Fix line between two endpoints

                                ●   Manual conmutation

                                ●   Automatic conmutation (relay-based)

                                ●   Computer-controlled automatic conmutation

                                ●   Digital conmutation only electronic

                                ●   IP Conmutation!!

           2010


Quobis Networks SLU
Todos los derechos reservados                                                   7
Introduction to telephony.

Circuit conmutation paradigm (ends of 70s)
Introduction to telephony.

Digital conmutation (ISDN) (begining of 90s)
Introduction to telephony.

Packet conmutation paradigm (IP) (nowadays)
Introduction to telephony.


                    What advantages does ToIP offer?:

                ●TDM and ISDN conmutation technologies
                were a monopoly of big corporations:
                operators and makers.

                ● It allows to re-use knowhow and
                infrastructure → high speed evolution

                ●It allows to re-use generic hardware →
                reduces coste.

                ●    Open Source ToIP projects are born.
Quobis Networks SLU
Todos los derechos reservados                              11
Introduction to telephony.
               What about mobile telephony?:

           ●Maybe the most important milestone in
           history of telephony.                             1970

           ●It was born as a circuit-oriented technology
           (GSM)

           ●It will be an all-IP network (4G→LTE) in a few
           years.
                                                             2010
           ●ToIP concepts can be applied to Mobile
           telephony → convergence!


Quobis Networks SLU
Todos los derechos reservados                                   12
Basics of IP telephony




Quobis Networks SLU
Todos los derechos reservados                            13
1. Basics of IP telephony

       VoIP (Voice over IP) technologies
      allow multimedia data transmission
      (voice, video, IM... ) over IP networks.


         ToIP (Telephony over IP) means
        telephony systems implemented with VoIP
        technology.


Quobis Networks SLU
Todos los derechos reservados                     14
2. Basics of IP telephony

  VoIP = Signaling Protocols (SIP) +
 Voice transport protocols (RTP/RTCP)


    There are more signaling protocols
 besides SIP: H323, Skype(*), MGCP, IAX,
  Skinny... however SIP is and will be the
   most used in short and middle term.
                     (*) closed protocol

                                             15
4. Basics of IP telephony

Normally signaling and voice are sent separately
(different protocols and ports).

This gives flexibility to protocols and allows them
to be adapted to new codecs and future multimedia
requirements:

●   H323 → TDM signaling over IP

●   SIP → native IP protocol → easily readable!


                                                      16
5. Basics of IP telephony

Multimedia  sessions(1)

Audio and video: RTP/UDP + RTCP (for QoS, optional)

Codecs: G711a (64Kbps), G711u (64Kbps), G729 (8 or 13 Kbps, licensed), 
GSM (13 Kbps)...

Multimedia session params are agreed during SIP call establishment  
through SDP (Session Description Protocol).

SDP message are  attached to SIP messages (2 protocols, 1 text 
message).
                                                                       17
5. Basics of IP telephony

Multimedia sessions (2)

RTP (Real Time Protocol) designed to transmit real time
data→ not only voice or video

It can be used to transmit desktop sessions, medical
monitoring data, share prices...




                                                          18
nd
2 Part


     SIP




           19
1. SIP



SIP (Session Initiation Protocol)

Protocol defined in RFC3261.

RFC(Request For Comments) are published by
IETF (Internet Engineering Task Force) and
define Internet standards. Many actors are
involved (academia, makers, operators...).



                                         20
2. SIP


Since it is based on RFC3261, many others
RFCs add new functionality: presence, IM...

SIP uses clear text messages (like HTTP,
actually it's based on it).

Designed to establish any type of
multimedia session (voice, videocall,
videostreaming, electrocardiogram values... ).


                                              21
3. SIP


 SIP functions:

1.­ User location: users register themselves to say the IP/port pair 
where they are listening to SIP traffic.

2.­ Multimedia parameter negotiation: it allows to negotiate session 
parameters (codecs, packetization time, ports...).

3.­ User availability: it allows to publish and notify info about user 
availability, and subscribe to user status.

                                                                          22
4. SIP 




 SIP functions (cont.):

4.­ Call establishment (multimedia sessions).

5.­ Call management: call transfers, param re­negotiation...




                                                               23
5. SIP 


 SIP Roles

User Agent ­  examples: a SIP phone or a Media Server. It can play two 
roles: 
    User Agent Client (UAC) – User Agent which sends a request  
    User Agent Server (UAS) ­ User Agent which answers a request 
Redirect Server ­ User Agent Server which redirect requests 
Proxy – sends request on behalf of users. It is what users 'see' of a SIP 
network .
Registrar ­ accepts  REGISTER messages and stores user location in a 
Database.

                                                                             24
6. SIP 
SIP transport

SIP messages can be sent over TCP (port 5060) and UDP
(port 5060). Normally UDP is used.

It can also be transported over TLS.

SIP URI: identifies and locates a user.

sip:user@domain.com → sip:1234@<ip-server>
sips:user@domain.com

Domain is resolved by DNS. Three types of DNS records
involved: SRV (protocol and port), NAPTR (protocols
available) and A.

                                                    25
7. SIP

     SIP messages


      Requests:

      ● REGISTER: register users
      ● INVITE: session establishment 

      ● BYE: end of session

      ● ACK: acknowledge (INVITE, 407,...)

      ● SUBSCRIBE: event subscription

      ● INFO: transmit info during a call (DTMF)




Page 26
Copyright Quobis Networks 2010 – All rights reserved
8. SIP


  SIP responses:


  Provisional (1xx):                                   Redirection (3xx): 
                  100 Trying                                   302 Moved Temporaly
                  180 Ringing
                                                       Request failure (4xx): 
  Successful (2xx):                                            401 Unauthorized
                 200 OK                                        404 Not found
               202 OK                                          407 Proxy Authentication Required
                                                               408 Request Timeout



Page 27
Copyright Quobis Networks 2010 – All rights reserved
9. SIP

SIP trapezoid




Page 28
Copyright Quobis Networks 2010 – All rights reserved
10. SIP

Register + Call

                        A              ……......           Kamailio    ……......     B
                                         (Registrar local services)
                                     Register
                                     200 Ok

                                     Invite                            Invite
                                100 Trying                           100 Trying
                                   180 Ringing                       180 Ringing

                                         200 Ok                       200 Ok
                                                            Ack
                                                       Media Session
                                                           Bye
                                                          200 Ok
Page 29
Copyright Quobis Networks 2010 – All rights reserved
11. SIP

          Initial REGISTER: endpoint->Kamailio
          REGISTER sip:10.1.20.245 SIP/2.0
          Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-83dafcc6
          From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1
          To: "1234" <sip:1234@10.1.20.245>
          Call-ID: 14221856-8faf084d@10.1.3.15
          CSeq: 33037 REGISTER
          Max-Forwards: 70
          Authorization: Digest
          username="1234",realm="10.1.20.245",nonce="4a389a3a00000098
          4df34ebaabed674b40c0b27d8b354c1d",uri="sip:10.1.20.245",algori
          thm=MD5,response="216509e17700c67fb1b346675e0f46b2"
          Contact: "1234" <sip:1234@10.1.3.15:5060>;expires=60
          User-Agent: Linksys/SPA941-5.1.5
          Content-Length: 0
          Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS,
          REFER
          Supported: replaces



Page 30
Copyright Quobis Networks 2010 – All rights reserved
12. SIP

          401: Kamailio->endpoint

          SIP/2.0 401 Unauthorized
          Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-83dafcc6
          From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1
          To: "1234"
          <sip:1234@10.1.20.245>;tag=f8f2ab2c1295e90ed7dbb499b30f44b
          2.c168
          Call-ID: 14221856-8faf084d@10.1.3.15
          CSeq: 33037 REGISTER
          WWW-Authenticate: Digest realm="10.1.20.245",
          nonce="4a389a750000009c100b4538aaabc0db79e49a68db0e7db
          a", stale=true
          Server: Kamailio (1.5.0-notls (i386/linux))
          Content-Length: 0




Page 31
Copyright Quobis Networks 2010 – All rights reserved
13. SIP

          Authentiqued REGISTER: endpoint->Kamailio
          REGISTER sip:10.1.20.245 SIP/2.0
          Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-67a1ce3
          From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1
          To: "1234" <sip:1234@10.1.20.245>
          Call-ID: 14221856-8faf084d@10.1.3.15
          CSeq: 33038 REGISTER
          Max-Forwards: 70
          Authorization: Digest
          username="1234",realm="10.1.20.245",nonce="4a389a750000009c
          100b4538aaabc0db79e49a68db0e7dba",uri="sip:10.1.20.245",algor
          ithm=MD5,response="34d004dc426d7b56d9d742dbc69aeb4c"
          Contact: "1234" <sip:1234@10.1.3.15:5060>;expires=60
          User-Agent: Linksys/SPA941-5.1.5
          Content-Length: 0
          Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS,
          REFER
          Supported: replaces


Page 32
Copyright Quobis Networks 2010 – All rights reserved
14. SIP

          200: Kamailio->endpoint

          SIP/2.0 200 OK
          Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-67a1ce3
          From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1
          To: "1234"
          <sip:1234@10.1.20.245>;tag=f8f2ab2c1295e90ed7dbb499b30f44b
          2.4319
          Call-ID: 14221856-8faf084d@10.1.3.15
          CSeq: 33038 REGISTER
          Contact: <sip:1234@10.1.3.15:5060>;expires=60
          Server: Kamailio (1.5.0-notls (i386/linux))
          Content-Length: 0




Page 33
Copyright Quobis Networks 2010 – All rights reserved
rd
3 Part


Kamailio




           34
Open Source ToIP projects.

SIP Open Source projects.

 Clients: Ekiga, Twinkle, Jitsi.
✔




 IP­PBX: Asterisk (and derived projects), Freeswitch. 
✔




 Softswitch: Kamailio­SIP Router, OpenSIPS.
✔




 MediaServer: SEMS, Asterisk, FreeSwitch.
✔




 Gateway: (Asterisk || FreeSwitch) + hardware card 
✔




                                                         35
1. Kamailio



   Kamailio (formerly known as OpenSER): is a SIP
   softswitch. It can peform every SIP role (for us it will be
   Proxy and Registar).

   It is a high performance and robust software. It is used
   by VoIP providers: Voztelecom (Spain) and 1&1
   (Germany).

   Kamailio is released under GPL license. Several
   companies offer professional support.

   Now it is part of the SIP Router project.

Page 36
Copyright Quobis Networks 2010 – All rights reserved
2. Kamailio

          Kamailio can be installed on any Linux distribution.



                                                       Real test: 150 calls/s. Virtual
                                                       machine with 512MB RAM and
                                                       1,4GHz.

                                                       A dedicated server with 4GB RAM
                                                       could provide service to 300,000
                                                       users → Vigo!




Page 37
Copyright Quobis Networks 2010 – All rights reserved
3. Kamailio

          Kamailio can be used in different scenarios:

            ●   NAT Traversal: mediaproxy, rtpproxy, nathelper

            ●   Presence server: presence, presence_xml

            ●   Load balancer: dispatcher, path

            ●   Instant Messaging: imc, xmpp




Page 38
Copyright Quobis Networks 2010 – All rights reserved
4. Kamailio

   ●Kamailio is based on modules with a kernel which
   performs following tasks: memory management,
   parsing and transport message.

   ● Kamailio's funcionality can be enriched with modules
   (dynamic libraries, .so) included in the configuration.

   ●   Configuration is just a file: /etc/kamailio/kamailio.cfg

   ●Modules param and users are provisioned in Database
   (MySQL, Postgres, Oracle).




Page 39
Copyright Quobis Networks 2010 – All rights reserved
5. Kamailio




   Image got from www.kamailio.org
Page 40
   Note: in 3.x versions Database and MI API are not in the kernel.
Copyright Quobis Networks 2010 – All rights reserved
6. Kamailio. Configuration (1)



     Configuration
     ●    Routing behaviour is configured in kamailio.cfg.

     ●Kamailio must be restarted to apply in changes
     kamailio.cfg.

     ●Variable params are configured in Database and can
     be reloaded in execution time: user provision, ACL,
     LCR...



Page 41
Copyright Quobis Networks 2010 – All rights reserved
7. Kamailio. Configuration (2)
   Configuration file has several parts:

   1. General parameter setup : port, protocol...

   2. Module load and module param setup:

              loadmodule “permissions.so”
               loadmodule “permissions.so”
                             ...
                              ...
              modparam(“permissions”, “db_mode”, 1)
               modparam(“permissions”, “db_mode”, 1)


     3. Main route: every request that reaches Kamailio is
     executed in the main route.
              route{
               route{
                  ...
                   ...
                  route[TO_KAMAILIO2]
                   route[TO_KAMAILIO2]
                  ...
                   ...
              }}
Page 42
Copyright Quobis Networks 2010 – All rights reserved
8. Kamailio. Configuration (3)

     4. Secondary routes (route[x]()): accesed from the
     main route (route()).
              route[TO_KAMAILIO2]{
               route[TO_KAMAILIO2]{
                       ...
                        ...
                  t_on_failure(“1”)
                   t_on_failure(“1”)
                         ……
                  t_on_reply(“3”)
                   t_on_reply(“3”)
              }}


     5. Error route route{}: executed when Kamailio
     receives an error reply to a sent request.
              failure_route[1]{
               failure_route[1]{
                  ...
                   ...
              }}



Page 43
Copyright Quobis Networks 2010 – All rights reserved
10. Kamailio. Configuration (4)

     6. Reply routes (onreply_route[x]()): executed
     when a 2xx reply to a sent request is received.


              onreply_route[1]{
               onreply_route[1]{
                       ...
                        ...
              }}


     7. Branch routes (branch_route[x]()): executed to
     create a parallel route to send request to another server


              branch_route[1]{
               branch_route[1]{
                       ...
                        ...
              }}

Page 44
Copyright Quobis Networks 2010 – All rights reserved
11. kamailio. Configuration (5)




                                                       Fuente: Asipto
Page 45
   Image got from www.kamailio.org
Copyright Quobis Networks 2010 – All rights reserved
12. Kamailio. Configuration (6)




                                                       Fuente: Asipto


Page 46
   Image got from www.kamailio.org
Copyright Quobis Networks 2010 – All rights reserved
13. Kamailio. Init.d and kamctl


    How to launch Kamailio:

    /etc/init.d/kamailio start/stop/restart/status

    Kamctl: tool to control and monitor kamailio
    ●   Check main stats: kamctl monitor

    ●   Check uptime: kamctl fifo uptime

    ●   Add user to Kamailio DB: kamctl add 101 secret101




Page 47
Copyright Quobis Networks 2010 – All rights reserved
QUOBIS
                             NETWORKS
                           Pol. A Granxa P.260
                          36400 Porriño (Spain)
                          Tlf. +34 902 999 465
                           Sip://sip.quobis.com




                             www.quobis.com


Creative Commons Attribution-NonCommercial 3.0 Unported License

Mais conteúdo relacionado

Mais procurados

Update on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB ToolsUpdate on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB ToolsFrancois Lefebvre
 
IPTV, Internet Video and Adaptive Streaming Technologies
IPTV, Internet Video and Adaptive Streaming TechnologiesIPTV, Internet Video and Adaptive Streaming Technologies
IPTV, Internet Video and Adaptive Streaming TechnologiesCisco Canada
 
Manish (passive optic network)
Manish (passive optic network)Manish (passive optic network)
Manish (passive optic network)Manish Desai
 
FTTH Solutions For Today And Tomorrow
FTTH Solutions For Today And TomorrowFTTH Solutions For Today And Tomorrow
FTTH Solutions For Today And TomorrowCalix
 
GPON Optical Lan Overview November 5, 2014
GPON Optical Lan Overview November 5, 2014GPON Optical Lan Overview November 5, 2014
GPON Optical Lan Overview November 5, 2014AFCEA Alaska Chapter
 
The Outlook of Broad Band Optical Access Networks
The Outlook of Broad Band Optical Access NetworksThe Outlook of Broad Band Optical Access Networks
The Outlook of Broad Band Optical Access NetworksCedric Lam
 
PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband
PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband
PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband PROIDEA
 
Fttx fiber-count-planning-calculation
Fttx fiber-count-planning-calculationFttx fiber-count-planning-calculation
Fttx fiber-count-planning-calculationKarthik Govin
 
Gpon Fundamentals
Gpon FundamentalsGpon Fundamentals
Gpon Fundamentalsmansoor_gr8
 

Mais procurados (20)

Update on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB ToolsUpdate on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB Tools
 
IPTV, Internet Video and Adaptive Streaming Technologies
IPTV, Internet Video and Adaptive Streaming TechnologiesIPTV, Internet Video and Adaptive Streaming Technologies
IPTV, Internet Video and Adaptive Streaming Technologies
 
Local DAB broadcasting
Local DAB broadcastingLocal DAB broadcasting
Local DAB broadcasting
 
Manish (passive optic network)
Manish (passive optic network)Manish (passive optic network)
Manish (passive optic network)
 
IPTV Basics
IPTV BasicsIPTV Basics
IPTV Basics
 
Globalinvacom
GlobalinvacomGlobalinvacom
Globalinvacom
 
FTTH Solutions For Today And Tomorrow
FTTH Solutions For Today And TomorrowFTTH Solutions For Today And Tomorrow
FTTH Solutions For Today And Tomorrow
 
GPON Optical Lan Overview November 5, 2014
GPON Optical Lan Overview November 5, 2014GPON Optical Lan Overview November 5, 2014
GPON Optical Lan Overview November 5, 2014
 
GPON-FTTx Training
GPON-FTTx TrainingGPON-FTTx Training
GPON-FTTx Training
 
Globalinvacom
GlobalinvacomGlobalinvacom
Globalinvacom
 
The Outlook of Broad Band Optical Access Networks
The Outlook of Broad Band Optical Access NetworksThe Outlook of Broad Band Optical Access Networks
The Outlook of Broad Band Optical Access Networks
 
What is gpon
What is gponWhat is gpon
What is gpon
 
Gpon fundamentals
Gpon fundamentalsGpon fundamentals
Gpon fundamentals
 
PI UK Seminar (Nov 2021) - PROFINET of Things
PI UK Seminar (Nov 2021) - PROFINET of ThingsPI UK Seminar (Nov 2021) - PROFINET of Things
PI UK Seminar (Nov 2021) - PROFINET of Things
 
PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband
PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband
PLNOG 8: Przemysław Dziel - NG - PON - Lights The Future Way for Broadband
 
GPON Introduction
GPON IntroductionGPON Introduction
GPON Introduction
 
Globalinvacom
GlobalinvacomGlobalinvacom
Globalinvacom
 
Fttx fiber-count-planning-calculation
Fttx fiber-count-planning-calculationFttx fiber-count-planning-calculation
Fttx fiber-count-planning-calculation
 
Telehouse Global
Telehouse Global Telehouse Global
Telehouse Global
 
Gpon Fundamentals
Gpon FundamentalsGpon Fundamentals
Gpon Fundamentals
 

Destaque

Grupo Exportación Tic Galicia
Grupo Exportación Tic GaliciaGrupo Exportación Tic Galicia
Grupo Exportación Tic GaliciaQuobis
 
Info secvoip
Info secvoipInfo secvoip
Info secvoipQuobis
 
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...Quobis
 
Presentation MultipleTalk
Presentation MultipleTalkPresentation MultipleTalk
Presentation MultipleTalkQuobis
 
Presentacion vtdm
Presentacion vtdmPresentacion vtdm
Presentacion vtdmQuobis
 
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
 
Webinar seguridad VoIP
Webinar seguridad VoIPWebinar seguridad VoIP
Webinar seguridad VoIPQuobis
 
Presentation VoiceInstant
Presentation VoiceInstantPresentation VoiceInstant
Presentation VoiceInstantQuobis
 
Quobis portfolio corporativo
Quobis portfolio corporativoQuobis portfolio corporativo
Quobis portfolio corporativoQuobis
 
¿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 TalkStorageQuobis
 
Quobis profile english 2010
Quobis profile english 2010Quobis profile english 2010
Quobis profile english 2010Quobis
 

Destaque (12)

Grupo Exportación Tic Galicia
Grupo Exportación Tic GaliciaGrupo Exportación Tic Galicia
Grupo Exportación Tic Galicia
 
Info secvoip
Info secvoipInfo secvoip
Info secvoip
 
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...
 
Presentation MultipleTalk
Presentation MultipleTalkPresentation MultipleTalk
Presentation MultipleTalk
 
Presentacion vtdm
Presentacion vtdmPresentacion vtdm
Presentacion vtdm
 
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
 
Webinar seguridad VoIP
Webinar seguridad VoIPWebinar seguridad VoIP
Webinar seguridad VoIP
 
Presentation VoiceInstant
Presentation VoiceInstantPresentation VoiceInstant
Presentation VoiceInstant
 
Quobis portfolio corporativo
Quobis portfolio corporativoQuobis portfolio corporativo
Quobis portfolio corporativo
 
¿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
 
Quobis profile english 2010
Quobis profile english 2010Quobis profile english 2010
Quobis profile english 2010
 

Semelhante a Presentacion kamailio uvigo_09262011

Widyatama.lecture.applied networking.iv-week-09-voip
Widyatama.lecture.applied networking.iv-week-09-voipWidyatama.lecture.applied networking.iv-week-09-voip
Widyatama.lecture.applied networking.iv-week-09-voipDjadja Sardjana
 
Grandstream Final22
Grandstream Final22Grandstream Final22
Grandstream Final22bongskey008
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPSean Flores
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IPVideoguy
 
Understanding VoIP - 1
Understanding VoIP - 1Understanding VoIP - 1
Understanding VoIP - 1Adebayo Ojo
 
voip elements by Karan singh cypher
voip elements by Karan singh cypher voip elements by Karan singh cypher
voip elements by Karan singh cypher Karan Maker
 
VoIP (Voice over Internet Protocol)
VoIP (Voice over Internet Protocol)VoIP (Voice over Internet Protocol)
VoIP (Voice over Internet Protocol)Abdullah Shah
 
VoIP and the Telcos - Is there a life after death?
VoIP and the Telcos - Is there a life after death?VoIP and the Telcos - Is there a life after death?
VoIP and the Telcos - Is there a life after death?webhostingguy
 
tftyfty.ppt
tftyfty.ppttftyfty.ppt
tftyfty.pptAlKir1
 
2.Intro-to-VoIP.ppt
2.Intro-to-VoIP.ppt2.Intro-to-VoIP.ppt
2.Intro-to-VoIP.pptnebepa7907
 
2+ipt+configuring cisco-cme
2+ipt+configuring cisco-cme2+ipt+configuring cisco-cme
2+ipt+configuring cisco-cmeYves Jean Louis
 
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
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)habib_786
 
SIP Trunking overview
SIP Trunking overviewSIP Trunking overview
SIP Trunking overviewJohn Downing
 

Semelhante a Presentacion kamailio uvigo_09262011 (20)

Widyatama.lecture.applied networking.iv-week-09-voip
Widyatama.lecture.applied networking.iv-week-09-voipWidyatama.lecture.applied networking.iv-week-09-voip
Widyatama.lecture.applied networking.iv-week-09-voip
 
Vo ip sip
Vo ip sipVo ip sip
Vo ip sip
 
Grandstream Final22
Grandstream Final22Grandstream Final22
Grandstream Final22
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IP
 
Understanding VoIP - 1
Understanding VoIP - 1Understanding VoIP - 1
Understanding VoIP - 1
 
Voip
VoipVoip
Voip
 
VOIP services
VOIP servicesVOIP services
VOIP services
 
voip elements by Karan singh cypher
voip elements by Karan singh cypher voip elements by Karan singh cypher
voip elements by Karan singh cypher
 
VoIP (Voice over Internet Protocol)
VoIP (Voice over Internet Protocol)VoIP (Voice over Internet Protocol)
VoIP (Voice over Internet Protocol)
 
VoIP and the Telcos - Is there a life after death?
VoIP and the Telcos - Is there a life after death?VoIP and the Telcos - Is there a life after death?
VoIP and the Telcos - Is there a life after death?
 
2.Intro-to-VoIP.ppt
2.Intro-to-VoIP.ppt2.Intro-to-VoIP.ppt
2.Intro-to-VoIP.ppt
 
1. VoIP.ppt
1. VoIP.ppt1. VoIP.ppt
1. VoIP.ppt
 
tftyfty.ppt
tftyfty.ppttftyfty.ppt
tftyfty.ppt
 
2.Intro-to-VoIP.ppt
2.Intro-to-VoIP.ppt2.Intro-to-VoIP.ppt
2.Intro-to-VoIP.ppt
 
2+ipt+configuring cisco-cme
2+ipt+configuring cisco-cme2+ipt+configuring cisco-cme
2+ipt+configuring cisco-cme
 
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
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)
 
SIP Trunking overview
SIP Trunking overviewSIP Trunking overview
SIP Trunking overview
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
 

Mais 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
 

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

Último

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 

Último (20)

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 

Presentacion kamailio uvigo_09262011

  • 1. Laboratorio de Conmutación 12/13: Kamailio By Antón Román 09/27/2011
  • 2. Presentation Quobis, who we are: www.quobis.com ● Quobis is a Engineering company focused on VoIP technologies. ● Founded in 2006 by Teleco Uvigo alumnus. ● Premises at O Porriño. ● 90% engineers. ● Main customers: operators, call centers and enterprises ● Partnerships: AcmePacket, Aheeva, SIPWise and Iptego. ● Own products: MTRP, SecVoID, MCU,... ● R&D activities. Currently involved in Avanza and FP7 projects. 2
  • 3. Motivation Why are we doing this? ● We strongly believe University must be linked to real world. ● Part of our contribution to Kamailio Open Source Project. ● Professionals with qualified VoIP skills are demanded. ● Close cooperation with university in R&D projects. Quobis Networks SLU Todos los derechos reservados 3
  • 4. st 1 Part Biref introduction to telephony Basics of IP Telephony (ToIP) Quobis Networks SLU Todos los derechos reservados 4
  • 5. Introduction to telephony. Quobis Networks SLU Todos los derechos reservados 5
  • 6. Introduction to telephony. ● 1833 Samuel Morse invents telegraph ● 1871 Antonio Meuci invents telephone ● 1876 Alexander Graham Bell patents telephone ● 1877 First telephone call in Spain Quobis Networks SLU Todos los derechos reservados 6
  • 7. Introduction to telephony. 1870 ● Fix line between two endpoints ● Manual conmutation ● Automatic conmutation (relay-based) ● Computer-controlled automatic conmutation ● Digital conmutation only electronic ● IP Conmutation!! 2010 Quobis Networks SLU Todos los derechos reservados 7
  • 8. Introduction to telephony. Circuit conmutation paradigm (ends of 70s)
  • 9. Introduction to telephony. Digital conmutation (ISDN) (begining of 90s)
  • 10. Introduction to telephony. Packet conmutation paradigm (IP) (nowadays)
  • 11. Introduction to telephony. What advantages does ToIP offer?: ●TDM and ISDN conmutation technologies were a monopoly of big corporations: operators and makers. ● It allows to re-use knowhow and infrastructure → high speed evolution ●It allows to re-use generic hardware → reduces coste. ● Open Source ToIP projects are born. Quobis Networks SLU Todos los derechos reservados 11
  • 12. Introduction to telephony. What about mobile telephony?: ●Maybe the most important milestone in history of telephony. 1970 ●It was born as a circuit-oriented technology (GSM) ●It will be an all-IP network (4G→LTE) in a few years. 2010 ●ToIP concepts can be applied to Mobile telephony → convergence! Quobis Networks SLU Todos los derechos reservados 12
  • 13. Basics of IP telephony Quobis Networks SLU Todos los derechos reservados 13
  • 14. 1. Basics of IP telephony VoIP (Voice over IP) technologies allow multimedia data transmission (voice, video, IM... ) over IP networks. ToIP (Telephony over IP) means telephony systems implemented with VoIP technology. Quobis Networks SLU Todos los derechos reservados 14
  • 15. 2. Basics of IP telephony VoIP = Signaling Protocols (SIP) + Voice transport protocols (RTP/RTCP) There are more signaling protocols besides SIP: H323, Skype(*), MGCP, IAX, Skinny... however SIP is and will be the most used in short and middle term. (*) closed protocol 15
  • 16. 4. Basics of IP telephony Normally signaling and voice are sent separately (different protocols and ports). This gives flexibility to protocols and allows them to be adapted to new codecs and future multimedia requirements: ● H323 → TDM signaling over IP ● SIP → native IP protocol → easily readable! 16
  • 18. 5. Basics of IP telephony Multimedia sessions (2) RTP (Real Time Protocol) designed to transmit real time data→ not only voice or video It can be used to transmit desktop sessions, medical monitoring data, share prices... 18
  • 19. nd 2 Part SIP 19
  • 20. 1. SIP SIP (Session Initiation Protocol) Protocol defined in RFC3261. RFC(Request For Comments) are published by IETF (Internet Engineering Task Force) and define Internet standards. Many actors are involved (academia, makers, operators...). 20
  • 21. 2. SIP Since it is based on RFC3261, many others RFCs add new functionality: presence, IM... SIP uses clear text messages (like HTTP, actually it's based on it). Designed to establish any type of multimedia session (voice, videocall, videostreaming, electrocardiogram values... ). 21
  • 24. 5. SIP  SIP Roles User Agent ­  examples: a SIP phone or a Media Server. It can play two  roles:  User Agent Client (UAC) – User Agent which sends a request   User Agent Server (UAS) ­ User Agent which answers a request  Redirect Server ­ User Agent Server which redirect requests  Proxy – sends request on behalf of users. It is what users 'see' of a SIP  network . Registrar ­ accepts  REGISTER messages and stores user location in a  Database. 24
  • 25. 6. SIP  SIP transport SIP messages can be sent over TCP (port 5060) and UDP (port 5060). Normally UDP is used. It can also be transported over TLS. SIP URI: identifies and locates a user. sip:user@domain.com → sip:1234@<ip-server> sips:user@domain.com Domain is resolved by DNS. Three types of DNS records involved: SRV (protocol and port), NAPTR (protocols available) and A. 25
  • 26. 7. SIP SIP messages Requests: ● REGISTER: register users ● INVITE: session establishment  ● BYE: end of session ● ACK: acknowledge (INVITE, 407,...) ● SUBSCRIBE: event subscription ● INFO: transmit info during a call (DTMF) Page 26 Copyright Quobis Networks 2010 – All rights reserved
  • 27. 8. SIP SIP responses: Provisional (1xx): Redirection (3xx):    100 Trying  302 Moved Temporaly 180 Ringing Request failure (4xx):  Successful (2xx): 401 Unauthorized  200 OK   404 Not found              202 OK   407 Proxy Authentication Required   408 Request Timeout Page 27 Copyright Quobis Networks 2010 – All rights reserved
  • 28. 9. SIP SIP trapezoid Page 28 Copyright Quobis Networks 2010 – All rights reserved
  • 29. 10. SIP Register + Call A ……...... Kamailio ……...... B (Registrar local services) Register 200 Ok Invite Invite 100 Trying 100 Trying 180 Ringing 180 Ringing 200 Ok 200 Ok Ack Media Session Bye 200 Ok Page 29 Copyright Quobis Networks 2010 – All rights reserved
  • 30. 11. SIP Initial REGISTER: endpoint->Kamailio REGISTER sip:10.1.20.245 SIP/2.0 Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-83dafcc6 From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1 To: "1234" <sip:1234@10.1.20.245> Call-ID: 14221856-8faf084d@10.1.3.15 CSeq: 33037 REGISTER Max-Forwards: 70 Authorization: Digest username="1234",realm="10.1.20.245",nonce="4a389a3a00000098 4df34ebaabed674b40c0b27d8b354c1d",uri="sip:10.1.20.245",algori thm=MD5,response="216509e17700c67fb1b346675e0f46b2" Contact: "1234" <sip:1234@10.1.3.15:5060>;expires=60 User-Agent: Linksys/SPA941-5.1.5 Content-Length: 0 Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER Supported: replaces Page 30 Copyright Quobis Networks 2010 – All rights reserved
  • 31. 12. SIP 401: Kamailio->endpoint SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-83dafcc6 From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1 To: "1234" <sip:1234@10.1.20.245>;tag=f8f2ab2c1295e90ed7dbb499b30f44b 2.c168 Call-ID: 14221856-8faf084d@10.1.3.15 CSeq: 33037 REGISTER WWW-Authenticate: Digest realm="10.1.20.245", nonce="4a389a750000009c100b4538aaabc0db79e49a68db0e7db a", stale=true Server: Kamailio (1.5.0-notls (i386/linux)) Content-Length: 0 Page 31 Copyright Quobis Networks 2010 – All rights reserved
  • 32. 13. SIP Authentiqued REGISTER: endpoint->Kamailio REGISTER sip:10.1.20.245 SIP/2.0 Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-67a1ce3 From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1 To: "1234" <sip:1234@10.1.20.245> Call-ID: 14221856-8faf084d@10.1.3.15 CSeq: 33038 REGISTER Max-Forwards: 70 Authorization: Digest username="1234",realm="10.1.20.245",nonce="4a389a750000009c 100b4538aaabc0db79e49a68db0e7dba",uri="sip:10.1.20.245",algor ithm=MD5,response="34d004dc426d7b56d9d742dbc69aeb4c" Contact: "1234" <sip:1234@10.1.3.15:5060>;expires=60 User-Agent: Linksys/SPA941-5.1.5 Content-Length: 0 Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER Supported: replaces Page 32 Copyright Quobis Networks 2010 – All rights reserved
  • 33. 14. SIP 200: Kamailio->endpoint SIP/2.0 200 OK Via: SIP/2.0/UDP 10.1.3.15:5060;branch=z9hG4bK-67a1ce3 From: "1234" <sip:1234@10.1.20.245>;tag=a75abbe5b6e4cc6o1 To: "1234" <sip:1234@10.1.20.245>;tag=f8f2ab2c1295e90ed7dbb499b30f44b 2.4319 Call-ID: 14221856-8faf084d@10.1.3.15 CSeq: 33038 REGISTER Contact: <sip:1234@10.1.3.15:5060>;expires=60 Server: Kamailio (1.5.0-notls (i386/linux)) Content-Length: 0 Page 33 Copyright Quobis Networks 2010 – All rights reserved
  • 35. Open Source ToIP projects. SIP Open Source projects.  Clients: Ekiga, Twinkle, Jitsi. ✔  IP­PBX: Asterisk (and derived projects), Freeswitch.  ✔  Softswitch: Kamailio­SIP Router, OpenSIPS. ✔  MediaServer: SEMS, Asterisk, FreeSwitch. ✔  Gateway: (Asterisk || FreeSwitch) + hardware card  ✔ 35
  • 36. 1. Kamailio Kamailio (formerly known as OpenSER): is a SIP softswitch. It can peform every SIP role (for us it will be Proxy and Registar). It is a high performance and robust software. It is used by VoIP providers: Voztelecom (Spain) and 1&1 (Germany). Kamailio is released under GPL license. Several companies offer professional support. Now it is part of the SIP Router project. Page 36 Copyright Quobis Networks 2010 – All rights reserved
  • 37. 2. Kamailio Kamailio can be installed on any Linux distribution. Real test: 150 calls/s. Virtual machine with 512MB RAM and 1,4GHz. A dedicated server with 4GB RAM could provide service to 300,000 users → Vigo! Page 37 Copyright Quobis Networks 2010 – All rights reserved
  • 38. 3. Kamailio Kamailio can be used in different scenarios: ● NAT Traversal: mediaproxy, rtpproxy, nathelper ● Presence server: presence, presence_xml ● Load balancer: dispatcher, path ● Instant Messaging: imc, xmpp Page 38 Copyright Quobis Networks 2010 – All rights reserved
  • 39. 4. Kamailio ●Kamailio is based on modules with a kernel which performs following tasks: memory management, parsing and transport message. ● Kamailio's funcionality can be enriched with modules (dynamic libraries, .so) included in the configuration. ● Configuration is just a file: /etc/kamailio/kamailio.cfg ●Modules param and users are provisioned in Database (MySQL, Postgres, Oracle). Page 39 Copyright Quobis Networks 2010 – All rights reserved
  • 40. 5. Kamailio Image got from www.kamailio.org Page 40 Note: in 3.x versions Database and MI API are not in the kernel. Copyright Quobis Networks 2010 – All rights reserved
  • 41. 6. Kamailio. Configuration (1) Configuration ● Routing behaviour is configured in kamailio.cfg. ●Kamailio must be restarted to apply in changes kamailio.cfg. ●Variable params are configured in Database and can be reloaded in execution time: user provision, ACL, LCR... Page 41 Copyright Quobis Networks 2010 – All rights reserved
  • 42. 7. Kamailio. Configuration (2) Configuration file has several parts: 1. General parameter setup : port, protocol... 2. Module load and module param setup: loadmodule “permissions.so” loadmodule “permissions.so”                ...                ... modparam(“permissions”, “db_mode”, 1) modparam(“permissions”, “db_mode”, 1) 3. Main route: every request that reaches Kamailio is executed in the main route. route{ route{ ... ... route[TO_KAMAILIO2] route[TO_KAMAILIO2] ... ... }} Page 42 Copyright Quobis Networks 2010 – All rights reserved
  • 43. 8. Kamailio. Configuration (3) 4. Secondary routes (route[x]()): accesed from the main route (route()). route[TO_KAMAILIO2]{ route[TO_KAMAILIO2]{          ...          ... t_on_failure(“1”) t_on_failure(“1”) …… t_on_reply(“3”) t_on_reply(“3”) }} 5. Error route route{}: executed when Kamailio receives an error reply to a sent request. failure_route[1]{ failure_route[1]{ ... ... }} Page 43 Copyright Quobis Networks 2010 – All rights reserved
  • 44. 10. Kamailio. Configuration (4) 6. Reply routes (onreply_route[x]()): executed when a 2xx reply to a sent request is received. onreply_route[1]{ onreply_route[1]{          ...          ... }} 7. Branch routes (branch_route[x]()): executed to create a parallel route to send request to another server branch_route[1]{ branch_route[1]{          ...          ... }} Page 44 Copyright Quobis Networks 2010 – All rights reserved
  • 45. 11. kamailio. Configuration (5) Fuente: Asipto Page 45 Image got from www.kamailio.org Copyright Quobis Networks 2010 – All rights reserved
  • 46. 12. Kamailio. Configuration (6) Fuente: Asipto Page 46 Image got from www.kamailio.org Copyright Quobis Networks 2010 – All rights reserved
  • 47. 13. Kamailio. Init.d and kamctl How to launch Kamailio: /etc/init.d/kamailio start/stop/restart/status Kamctl: tool to control and monitor kamailio ● Check main stats: kamctl monitor ● Check uptime: kamctl fifo uptime ● Add user to Kamailio DB: kamctl add 101 secret101 Page 47 Copyright Quobis Networks 2010 – All rights reserved
  • 48. QUOBIS NETWORKS Pol. A Granxa P.260 36400 Porriño (Spain) Tlf. +34 902 999 465 Sip://sip.quobis.com www.quobis.com Creative Commons Attribution-NonCommercial 3.0 Unported License