SlideShare a Scribd company logo
Snappy Kamailio
from 0 to … with snaps
(snapcraft.io)
TADSummit - Lisbon
November 2016
Daniel-Constantin Mierla
co-founder Kamailio SIP Server project
asipto.com
@miconda
Kamailio SIP Server
• www.kamailio.org
• open source SIP server
• IETF - RFC3261
• developed since 2001 - started by FhG Fokus Institute
• aka SIP Express Router (SER) or OpenSER
• UDP, TCP, TLS, SCTP - IPv4 and IPv6
• telephony engine, voice, video, instant messaging, presence, webrtc
• high capacity (large number of devices or number of active calls)
• eg., 1&1 Germany >11 millions connected lines)
• IMS and VoLTE extensions
• load balancer, least cost routing, DID routing, AAA, SIP firewall, …
Goal
• make Kamailio friendly to be built as a snap and run it
TADHack Global - Berlin
day one, at noon
• first look at snapcraft.io following the Ubuntu TADHack resources
• http://tadhack.com/2016/global/developer-resources/
snapcraft.io
• Package any app for every Linux desktop, server, cloud or
device, and deliver updates directly.
• How do snaps work?
• A snap is a fancy zip file containing an application together
with its dependencies, and a description of how it should
safely be run on your system, especially the different ways it
should talk to other software.
• Most importantly snaps are designed to be secure,
sandboxed, containerised applications isolated from the
underlying system and from other applications. Snaps allow
the safe installation of apps from any vendor on mission
critical devices and desktops
First Touch
• snapcraft file
• yaml format
• easy to understand
• documentation - some improvements won’t hurt for sure
• conclusion: not hard to get started with
Challenges
• sorting out how to enforce or release the restrictions
• what an application is allowed to do
The Work With Stock Kamailio
• snapcraft.yml - not hard to get first version
• there are some examples on snapcraft.io to inspire from
• 4 patches to make it friendly to build and run as a snap
• temporary files in runtime directory
• fifo and control socket files
• creating raw sockets
• disabled
• dedicated starting script
• changes to kamailio.cfg have to be done from starting script
• moving from SNAP dir to SNAP_DATA dir
The Commits
Future Work
• deploy the tools in the snap
• kamctl, kamcmd, …
• inter-working with other snaps
• mysql server, …
• performance evaluation
• snaps, containers, virtual machine and bare metal
And Then …
• add it to the snaps store
• become rich and retire young
Results
• available at:
• https://github.com/miconda/kamailio-snapcraft
Thank You!
Daniel-Constantin Mierla
asipto.com
@miconda
TADSummit - Lisbon
November 2016
Demo at 16:00
Work Stream 1 - Room Augusta I
New Service Delivery Options: Application to Person & Network App Stores

More Related Content

PDF
immmr – a hybrid operator model, Sebastian Schumann, immmr
PDF
The Network Revolution, John Zannos, Canonical
PPT
NextGen HSS, Our TADHacked solution - Javier Martin, Summa Networks
PPTX
Rethinking the telecom networks, Patrice Crutel, Cap Gemini
PPTX
Successful practical applications of IoT / M2M, Mark White, Locatrix
PDF
IMS WebRTC Workshop Metaswitch Project Clearwater
PPTX
Five myths about Network Function Virtualization (NFV)
PDF
Telefonica innovation edge computing and services
immmr – a hybrid operator model, Sebastian Schumann, immmr
The Network Revolution, John Zannos, Canonical
NextGen HSS, Our TADHacked solution - Javier Martin, Summa Networks
Rethinking the telecom networks, Patrice Crutel, Cap Gemini
Successful practical applications of IoT / M2M, Mark White, Locatrix
IMS WebRTC Workshop Metaswitch Project Clearwater
Five myths about Network Function Virtualization (NFV)
Telefonica innovation edge computing and services

What's hot (20)

PPTX
LKNOG3 - Telco Cloud Common – VIM/ CIM
PPTX
The Modern Telco Network: Defining The Telco Cloud
PDF
TAD Summit 2016 - The Mobile World Up Side Down
PDF
OSS in the era of SDN and NFV: Evolution vs Revolution - What we can learn f...
PPTX
Open-IX Presentation: Datacenter Selection by Adam Rothschild
PPTX
DataArt Innovation Showcase Immutable Diskless Pool Demo
PPT
WebRTC vs VoIP: IIT-RTC Oct 2013
PDF
Solaiemes IMS WebRTC Workshop
PDF
Deutsche telekom
PPTX
ECI - ElastiGRID™ - For utilities and strategic industries
PDF
The Future of Networks is Open...Source
PDF
How to adopt SDN/NFV Technology into the BSS & OSS stack and shorten the time...
PDF
OpenCloud IMS WebRTC Workshop Adaptive Signaling Bridging the Network Divide
PPTX
Dangerous Demo: The TADCloud MNO Teaser
PDF
TADS Telecom Summit Metaswitch Des Hartman
PPTX
SDN/NFV architecture vision and reality
PPTX
ECI & Light Reading Webinar: Real Revenues from Virtualized Services - Nov 2015
PDF
SoftCOM: Transforming Telco’s Infrastructure, Operation and Services in the N...
PPTX
The Programmable Telecom Network, Doug Tait, Oracle, Enzo Amorino, Telecom It...
PDF
Colt Novitas SDN World Congress 2015
LKNOG3 - Telco Cloud Common – VIM/ CIM
The Modern Telco Network: Defining The Telco Cloud
TAD Summit 2016 - The Mobile World Up Side Down
OSS in the era of SDN and NFV: Evolution vs Revolution - What we can learn f...
Open-IX Presentation: Datacenter Selection by Adam Rothschild
DataArt Innovation Showcase Immutable Diskless Pool Demo
WebRTC vs VoIP: IIT-RTC Oct 2013
Solaiemes IMS WebRTC Workshop
Deutsche telekom
ECI - ElastiGRID™ - For utilities and strategic industries
The Future of Networks is Open...Source
How to adopt SDN/NFV Technology into the BSS & OSS stack and shorten the time...
OpenCloud IMS WebRTC Workshop Adaptive Signaling Bridging the Network Divide
Dangerous Demo: The TADCloud MNO Teaser
TADS Telecom Summit Metaswitch Des Hartman
SDN/NFV architecture vision and reality
ECI & Light Reading Webinar: Real Revenues from Virtualized Services - Nov 2015
SoftCOM: Transforming Telco’s Infrastructure, Operation and Services in the N...
The Programmable Telecom Network, Doug Tait, Oracle, Enzo Amorino, Telecom It...
Colt Novitas SDN World Congress 2015

Viewers also liked (6)

PPTX
Building realtime APIs at Liveperson. Carnival of the Creators
PDF
Internal Innovation Success in Groupama: Carnival of the Creators
PDF
The Network App Store, Maarten Ectors, Canonical.
PPT
Voxist: the first 6 months: Carnival of the Creators
PDF
TADHack Winner: Virtual Healthcare Triage: Carnival of the Creators
PPTX
IdeaMart: Sri Lankan Innovation on telco capabilities: Carnival of the Creators
Building realtime APIs at Liveperson. Carnival of the Creators
Internal Innovation Success in Groupama: Carnival of the Creators
The Network App Store, Maarten Ectors, Canonical.
Voxist: the first 6 months: Carnival of the Creators
TADHack Winner: Virtual Healthcare Triage: Carnival of the Creators
IdeaMart: Sri Lankan Innovation on telco capabilities: Carnival of the Creators

Similar to TADHack Winner: Snappy Kamailio: Carnival of the Creators (10)

PDF
Snappy Kamailio
PDF
Ubuntu Core 技术详解
ODP
Snaps on open suse
PDF
Kamailio Updates - VUC 588
PDF
Snap - the universal packaging format for linux distros
PDF
如何在 Ubuntu 上更快、更便捷地部署物联网设备
PDF
Exploits of the Snapcraft Ninja
PDF
Automated Snap Package build processes without the Build Service
PDF
Workshop: snap from zero to hero
PDF
Snap Your App
Snappy Kamailio
Ubuntu Core 技术详解
Snaps on open suse
Kamailio Updates - VUC 588
Snap - the universal packaging format for linux distros
如何在 Ubuntu 上更快、更便捷地部署物联网设备
Exploits of the Snapcraft Ninja
Automated Snap Package build processes without the Build Service
Workshop: snap from zero to hero
Snap Your App

More from Alan Quayle (20)

PDF
What is a vCon?
PDF
Supercharging CPaaS Growth & Margins with Identity and Authentication, Aditya...
PPTX
Building a sub-second virtual ThunderDome: Considerations for mass scale sub-...
PDF
What makes a cellular IoT API great? Tobias Goebel
PDF
eSIM as Root of Trust for IoT security, João Casal
PPTX
Architecting your WebRTC application for scalability, Arin Sime
PPTX
CPaaS Conversational Platforms and Conversational Customer Service – The Expe...
PDF
Programmable Testing for Programmable Telcos, Andreas Granig
PDF
How to best maximize the conversation data stream for your business? Surbhi R...
PDF
Latest Updates and Experiences in Launching Local Language Tools, Karel Bourgois
PDF
What Everyone Needs to Know about Protecting the CPaaS Ecosystem from Unlawfu...
PDF
Master the Audience Experience Multiverse: AX Best Practices and Success Stor...
PDF
Open Source Telecom Software Survey 2022, Alan Quayle
PDF
OpenSIPS 3.3 – Messaging in the IMS and UC ecosystems. Bogdan-Andrei Iancu
PDF
TADS 2022 - Shifting from Voice to Workflow Management, Filipe Leitao
PDF
What happened since we last met TADSummit 2022, Alan Quayle
PDF
Stacuity - TAD Summit 2022 - Time to ditch the dumb-pipe, Mike Bromwich
PDF
AWA – a Telco bootstrapping product development: Challenges with dynamic mark...
PDF
Founding a Startup in Telecoms. The good, the bad and the ugly. João Camarate
PDF
How to bring down your own RTC platform. Sandro Gauci
What is a vCon?
Supercharging CPaaS Growth & Margins with Identity and Authentication, Aditya...
Building a sub-second virtual ThunderDome: Considerations for mass scale sub-...
What makes a cellular IoT API great? Tobias Goebel
eSIM as Root of Trust for IoT security, João Casal
Architecting your WebRTC application for scalability, Arin Sime
CPaaS Conversational Platforms and Conversational Customer Service – The Expe...
Programmable Testing for Programmable Telcos, Andreas Granig
How to best maximize the conversation data stream for your business? Surbhi R...
Latest Updates and Experiences in Launching Local Language Tools, Karel Bourgois
What Everyone Needs to Know about Protecting the CPaaS Ecosystem from Unlawfu...
Master the Audience Experience Multiverse: AX Best Practices and Success Stor...
Open Source Telecom Software Survey 2022, Alan Quayle
OpenSIPS 3.3 – Messaging in the IMS and UC ecosystems. Bogdan-Andrei Iancu
TADS 2022 - Shifting from Voice to Workflow Management, Filipe Leitao
What happened since we last met TADSummit 2022, Alan Quayle
Stacuity - TAD Summit 2022 - Time to ditch the dumb-pipe, Mike Bromwich
AWA – a Telco bootstrapping product development: Challenges with dynamic mark...
Founding a Startup in Telecoms. The good, the bad and the ugly. João Camarate
How to bring down your own RTC platform. Sandro Gauci

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Electronic commerce courselecture one. Pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Empathic Computing: Creating Shared Understanding
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Monthly Chronicles - July 2025
Electronic commerce courselecture one. Pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
Spectral efficient network and resource selection model in 5G networks
Digital-Transformation-Roadmap-for-Companies.pptx

TADHack Winner: Snappy Kamailio: Carnival of the Creators

  • 1. Snappy Kamailio from 0 to … with snaps (snapcraft.io) TADSummit - Lisbon November 2016 Daniel-Constantin Mierla co-founder Kamailio SIP Server project asipto.com @miconda
  • 2. Kamailio SIP Server • www.kamailio.org • open source SIP server • IETF - RFC3261 • developed since 2001 - started by FhG Fokus Institute • aka SIP Express Router (SER) or OpenSER • UDP, TCP, TLS, SCTP - IPv4 and IPv6 • telephony engine, voice, video, instant messaging, presence, webrtc • high capacity (large number of devices or number of active calls) • eg., 1&1 Germany >11 millions connected lines) • IMS and VoLTE extensions • load balancer, least cost routing, DID routing, AAA, SIP firewall, …
  • 3. Goal • make Kamailio friendly to be built as a snap and run it TADHack Global - Berlin day one, at noon • first look at snapcraft.io following the Ubuntu TADHack resources • http://tadhack.com/2016/global/developer-resources/
  • 4. snapcraft.io • Package any app for every Linux desktop, server, cloud or device, and deliver updates directly. • How do snaps work? • A snap is a fancy zip file containing an application together with its dependencies, and a description of how it should safely be run on your system, especially the different ways it should talk to other software. • Most importantly snaps are designed to be secure, sandboxed, containerised applications isolated from the underlying system and from other applications. Snaps allow the safe installation of apps from any vendor on mission critical devices and desktops
  • 5. First Touch • snapcraft file • yaml format • easy to understand • documentation - some improvements won’t hurt for sure • conclusion: not hard to get started with
  • 6. Challenges • sorting out how to enforce or release the restrictions • what an application is allowed to do
  • 7. The Work With Stock Kamailio • snapcraft.yml - not hard to get first version • there are some examples on snapcraft.io to inspire from • 4 patches to make it friendly to build and run as a snap • temporary files in runtime directory • fifo and control socket files • creating raw sockets • disabled • dedicated starting script • changes to kamailio.cfg have to be done from starting script • moving from SNAP dir to SNAP_DATA dir
  • 9. Future Work • deploy the tools in the snap • kamctl, kamcmd, … • inter-working with other snaps • mysql server, … • performance evaluation • snaps, containers, virtual machine and bare metal
  • 10. And Then … • add it to the snaps store • become rich and retire young
  • 11. Results • available at: • https://github.com/miconda/kamailio-snapcraft Thank You! Daniel-Constantin Mierla asipto.com @miconda TADSummit - Lisbon November 2016 Demo at 16:00 Work Stream 1 - Room Augusta I New Service Delivery Options: Application to Person & Network App Stores