Homer is an open source VoIP monitoring and troubleshooting tool that provides:
- Concise summaries of VoIP calls and events from collected data
- Correlation of separate SIP call legs into single call flows
- Search and analysis capabilities for troubleshooting platforms
Homer integrates with Kamailio, OpenSIPS, FreeSWITCH, Asterisk and other tools to collect SIP signaling data, RTCP reports, logs and more. Kamailio acts as a collector, storing data in a database and optionally sending to Elasticsearch. The ecosystem includes APIs, GUIs, Wireshark dissectors and libraries for customization and extensibility.
Scaling FreeSWITCH to high cps and number of concurrent calls.
You'll learn about how the FreeSWITCH internals work and how to tweak them to improve different call scenarios. You'll learn about OS and environment changes that can help to remove bottlenecks and ensure audio quality.
Kamailio is the leading Open Source SIP Server - a SIP proxy, registrar, location server, presence server, IMS server and much more. Find out more by viewing this quick presentation! (Updated June 2014)
Cluecon 2015
Use of external controller applications to fetch the next routes and let Kamailio handle the SIP layer.
Example with Node.js external application and evapi+rtjson modules in Kamailio
Scaling FreeSWITCH to high cps and number of concurrent calls.
You'll learn about how the FreeSWITCH internals work and how to tweak them to improve different call scenarios. You'll learn about OS and environment changes that can help to remove bottlenecks and ensure audio quality.
Kamailio is the leading Open Source SIP Server - a SIP proxy, registrar, location server, presence server, IMS server and much more. Find out more by viewing this quick presentation! (Updated June 2014)
Cluecon 2015
Use of external controller applications to fetch the next routes and let Kamailio handle the SIP layer.
Example with Node.js external application and evapi+rtjson modules in Kamailio
Talk given at ClueCon 2016 that discusses FreeSWITCH and its place in a microservices architecture. Covers a specific deployment case using Docker and Adhearsion, along with certain features that make FreeSWITCH a model use-case for such a technology stack.
Getting started with SIP Express Media Server SIP app server and SBC - workshopstefansayer
How to configure a SEMS instance for offering common media services such as announcements, voicemail, audio conferencing and IVR menus, and how to use the powerful and flexible SBC application, the "Swiss Army Knife of call stateful SIP processing".
Kamailio combined with Asterisk creates and incredibly robust and durable VoIP framework. With scalability and security, adding Kamailio to an asterisk deployment makes sense and saves money.
Presentation done at Kamailio World 2013, Berlin, Germany - several options for scalability of SIP routing with Kamailio, from configuration file tricks to stateless and stateful load balancing with dispatcher module.
Presentation done at Kamailio World 2014, Berlin, Germanu - several methods to do asynchronous SIP routing via Kamailio configuration file. Blend modules such as tm, tmx, mqueue, rtimer, async, evapi, etc. to suspend routing of current SIP request and resume that once processing of additional tasks has finished.
Linux offers an extensive selection of programmable and configurable networking components from traditional bridges, encryption, to container optimized layer 2/3 devices, link aggregation, tunneling, several classification and filtering languages all the way up to full SDN components. This talk will provide an overview of many Linux networking components covering the Linux bridge, IPVLAN, MACVLAN, MACVTAP, Bonding/Team, OVS, classification & queueing, tunnel types, hidden routing tricks, IPSec, VTI, VRF and many others.
Fosdem 2016, Brussels, Belgium
A developer perspective of the components in the C code that impact the performances of the signaling servers, applied for Kamailio (https://www.kamailio.org), reflecting how they can be tuned from configuration file to increase the capacity of a SIP server.
Talk given at ClueCon 2016 that discusses FreeSWITCH and its place in a microservices architecture. Covers a specific deployment case using Docker and Adhearsion, along with certain features that make FreeSWITCH a model use-case for such a technology stack.
Getting started with SIP Express Media Server SIP app server and SBC - workshopstefansayer
How to configure a SEMS instance for offering common media services such as announcements, voicemail, audio conferencing and IVR menus, and how to use the powerful and flexible SBC application, the "Swiss Army Knife of call stateful SIP processing".
Kamailio combined with Asterisk creates and incredibly robust and durable VoIP framework. With scalability and security, adding Kamailio to an asterisk deployment makes sense and saves money.
Presentation done at Kamailio World 2013, Berlin, Germany - several options for scalability of SIP routing with Kamailio, from configuration file tricks to stateless and stateful load balancing with dispatcher module.
Presentation done at Kamailio World 2014, Berlin, Germanu - several methods to do asynchronous SIP routing via Kamailio configuration file. Blend modules such as tm, tmx, mqueue, rtimer, async, evapi, etc. to suspend routing of current SIP request and resume that once processing of additional tasks has finished.
Linux offers an extensive selection of programmable and configurable networking components from traditional bridges, encryption, to container optimized layer 2/3 devices, link aggregation, tunneling, several classification and filtering languages all the way up to full SDN components. This talk will provide an overview of many Linux networking components covering the Linux bridge, IPVLAN, MACVLAN, MACVTAP, Bonding/Team, OVS, classification & queueing, tunnel types, hidden routing tricks, IPSec, VTI, VRF and many others.
Fosdem 2016, Brussels, Belgium
A developer perspective of the components in the C code that impact the performances of the signaling servers, applied for Kamailio (https://www.kamailio.org), reflecting how they can be tuned from configuration file to increase the capacity of a SIP server.
Presentation given at Amoocon 2009 - details about SIP Router Project, that aimed to get SER and Kamailio projects together, which ended by 2012 when Kamailio completely integrated SER.
Ansible, voyage au centre de l'automatisationMickael Hubert
Voici ma présentation d'Ansible lors du meetup Sacrée Tech de Reims.
@SacreeTech
sacreetech@gmail.com
- Présentation d'Ansible
- L'installation
- Le vocabulaire
- Les best practices
- Use case chez Allo-Media
lien de la présentation sur Gslides: https://bit.ly/31MZgUy
Kamailio 5.0 allows writing full routing logic in Lua scripting language, opening the door for easy integration with external services and increasing the flexibility of optimizing SIP routing.
Big Data Web applications for Interactive Hadoop by ENRICO BERTI at Big Data...Big Data Spain
This talk describes how open source Hue [1] was built in order to provide a better Hadoop User Experience. The underlying technical details of its architecture, the lessons learned and how it integrates with Impala, Search and Spark under the cover will be explained.
Scaleable PHP Applications in KubernetesRobert Lemke
Kubernetes is also called the "distributed Linux of the cloud" – which implies that it provides fundamental infrastructure, which can solve a lot of challenges. Let’s see how PHP applications fit into this picture. In this presentation, we are going to explore when Kubernetes is a good fit for operating your PHP application and how it can be done in practice. We’ll look at the whole lifecycle: how to build your application, create or choose the right Docker images, deploy and scale, and how to deal with performance and monitoring. At the end you will have a good understanding about all the different stages and building blocks for running a PHP application with Kubernetes in production.
How to measure everything - a million metrics per second with minimal develop...Jos Boumans
Krux is an infrastructure provider for many of the websites you
use online today, like NYTimes.com, WSJ.com, Wikia and NBCU. For
every request on those properties, Krux will get one or more as
well. We grew from zero traffic to several billion requests per
day in the span of 2 years, and we did so exclusively in AWS.
To make the right decisions in such a volatile environment, we
knew that data is everything; without it, you can't possibly make
informed decisions. However, collecting it efficiently, at scale,
at minimal cost and without burdening developers is a tremendous
challenge.
Join me in this session to learn how we overcame this challenge
at Krux; I will share with you the details of how we set up our
global infrastructure, entirely managed by Puppet, to capture over
a million data points every second on virtually every part of the
system, including inside the web server, user apps and Puppet itself,
for under $2000/month using off the shelf Open Source software and
some code we've released as Open Source ourselves. In addition, I’ll
show you how you can take (a subset of) these metrics and send them
to advanced analytics and alerting tools like Circonus or Zabbix.
This content will be applicable for anyone collecting or desiring to
collect vast amounts of metrics in a cloud or datacenter setting and
making sense of them.
View IT operations as a flow of data (Sources of Truth) thru work-cells (automation processes) to deliver value to the customer.
There should be only one source of truth for every piece of configuration data.
Device configurations are poor source of truth.
Golang 101 for IT-Pros - Cisco Live Orlando 2018 - DEVNET-1808Cisco DevNet
This session is an introduction to Golang - the Go programming language - for IT Professionals. We'll explain how to setup a GO development environment, create a simple HTTP/2 Web API, and embed our code into a Docker container. We'll also go through the reasons why the language is so popular to create network applications by showing how the language is expressive, concise, clean, and efficient. Join this session if you've started writing Python scripts that consume Web APIs, and you now want to go to the next stage by creating your own APIs to expose or store Enterprise Data.
DEVNET-1808
https://www.ciscolive.com/us/learn/sessions/session-catalog/?search=DEVNET-1808
What is Digital Rebar Provision (and how RackN extends)?rhirschfeld
Walks through how Digital Rebar Provision rethinks bare metal automation beyond simple O/S install into an integrated workflow system for building data center underlay.
INCLUDES VIDEO OF PRESO
In the last years we have seen huge changes in IT infrastructures and concepts. VoIP architectures too are evolving towards Software Defined Telecoms. In this talk we'll see how VoIP solutions are being shaped by the Cloud, the open points and share some thoughts about its future.
This is co-authored by Giacomo Vacca and Federico Cabiddu.
Some notes on https://tools.ietf.org/html/draft-rosenbergjennings-dispatch-ripp-03 I took while reading it.
This draft focuses on one of the aspects of VoIP: peering/trunking.
An SFU/MCU integration for heterogeneous environmentsGiacomo Vacca
Janus and FreeSWITCH are two open source real-time communications projects that can be used to build conferencing systems.
Among other things, Janus implements an SFU (Selective Forwarding Unit).
FreeSWITCH includes a conference module, which works as MCU (Multipoint Control Unit).
Often we are asked to build solutions integrating existing applications and services: this presentation shows an approach and example.
WebRTC transforms a Web browser into a fully fledged client for Real Time Communications (audio, video, IM, screensharing). Google and Mozilla have contributed to this Open Source project, creating a variety of business opportunities unthinkable just a few years ago. During this seminar we’ll see the technology aspects and potential, why this attracts Web developers and what the role of VoIP developers has become.
Considerable improvements can be achieved by automating the integration of Kamailio-based projects: automated builds, tests and deployments save time and increase reliability. This presentation focuses on common practices to automate the build of Kamailio (and RTPEngine) on various distributions and deploy them, together with their configuration, on testing and production environments.
Docker plays an important role in providing flexible, clean building environments and keep the process reproducible. We’ll see how Jenkins can orchestrate the builds with Docker slaves, and perform the deployments with a combination of platform-specific packages, Fabric, Puppet and Ansible.
Introductory seminar on Docker and its components (networks and Compose in particular). Focused on going through some basic concepts, mention some more advanced topics, and introduce a practical workshop held on the same evening.
Docker provides a new, powerful way of prototyping, testing and deploying applications on cloud-based infrastructures. In this seminar we delve into the concept of Docker containers without requiring any previous knowledge from the audience.
Docker and Puppet for Continuous IntegrationGiacomo Vacca
Today developers want to change the code, build and deploy often, even several times per day.
New versions of software may need to be tested on different distributions, and with different configurations.
Achieving this with Virtual Machines it’s possible, but it’s very resource and time consuming. Docker provides an incredibly good solution for this, in particular if combined with Continuous Integration tools like Jenkins and Configuration Management tools like Puppet.
This presentation focuses on the opportunities to configure automatically Docker images, use Docker containers as disposable workers during your tests, and even running your Continuous Integration system inside Docker.
Automatic Kamailio Deployments With PuppetGiacomo Vacca
Description: Kamailio is a robust, powerful application; virtualization and cloud computing make it extremely easy and quick to setup Kamailio-based solutions. Scaling, geographic distribution and multiple environments (e.g. development, staging/QA, production), though, present some deployment challenges. Puppet provides a solution that dramatically cuts deployment time, reduces occurrences of errors, while at the same time documenting the configuration status. This presentation describes what we did in Truphone Labs to move from a freshly created virtual machine to a running Kamailio instance, automatically and in minutes. Firewall, nagios, syslog, monit, sec, and other related services are also automatically configured.
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Globus
Large Language Models (LLMs) are currently the center of attention in the tech world, particularly for their potential to advance research. In this presentation, we'll explore a straightforward and effective method for quickly initiating inference runs on supercomputers using the vLLM tool with Globus Compute, specifically on the Polaris system at ALCF. We'll begin by briefly discussing the popularity and applications of LLMs in various fields. Following this, we will introduce the vLLM tool, and explain how it integrates with Globus Compute to efficiently manage LLM operations on Polaris. Attendees will learn the practical aspects of setting up and remotely triggering LLMs from local machines, focusing on ease of use and efficiency. This talk is ideal for researchers and practitioners looking to leverage the power of LLMs in their work, offering a clear guide to harnessing supercomputing resources for quick and effective LLM inference.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
top nidhi software solution freedownloadvrstrong314
This presentation emphasizes the importance of data security and legal compliance for Nidhi companies in India. It highlights how online Nidhi software solutions, like Vector Nidhi Software, offer advanced features tailored to these needs. Key aspects include encryption, access controls, and audit trails to ensure data security. The software complies with regulatory guidelines from the MCA and RBI and adheres to Nidhi Rules, 2014. With customizable, user-friendly interfaces and real-time features, these Nidhi software solutions enhance efficiency, support growth, and provide exceptional member services. The presentation concludes with contact information for further inquiries.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Understanding Globus Data Transfers with NetSageGlobus
NetSage is an open privacy-aware network measurement, analysis, and visualization service designed to help end-users visualize and reason about large data transfers. NetSage traditionally has used a combination of passive measurements, including SNMP and flow data, as well as active measurements, mainly perfSONAR, to provide longitudinal network performance data visualization. It has been deployed by dozens of networks world wide, and is supported domestically by the Engagement and Performance Operations Center (EPOC), NSF #2328479. We have recently expanded the NetSage data sources to include logs for Globus data transfers, following the same privacy-preserving approach as for Flow data. Using the logs for the Texas Advanced Computing Center (TACC) as an example, this talk will walk through several different example use cases that NetSage can answer, including: Who is using Globus to share data with my institution, and what kind of performance are they able to achieve? How many transfers has Globus supported for us? Which sites are we sharing the most data with, and how is that changing over time? How is my site using Globus to move data internally, and what kind of performance do we see for those transfers? What percentage of data transfers at my institution used Globus, and how did the overall data transfer performance compare to the Globus users?
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Les Buildpacks existent depuis plus de 10 ans ! D’abord, ils étaient utilisés pour détecter et construire une application avant de la déployer sur certains PaaS. Ensuite, nous avons pu créer des images Docker (OCI) avec leur dernière génération, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautés les soutiennent et comment ?
Venez le découvrir lors de cette session ignite
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxrickgrimesss22
Discover the essential features to incorporate in your Winzo clone app to boost business growth, enhance user engagement, and drive revenue. Learn how to create a compelling gaming experience that stands out in the competitive market.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
Science gateways allow science and engineering communities to access shared data, software, computing services, and instruments. Science gateways have gained a lot of traction in the last twenty years, as evidenced by projects such as the Science Gateways Community Institute (SGCI) and the Center of Excellence on Science Gateways (SGX3) in the US, The Australian Research Data Commons (ARDC) and its platforms in Australia, and the projects around Virtual Research Environments in Europe. A few mature frameworks have evolved with their different strengths and foci and have been taken up by a larger community such as the Globus Data Portal, Hubzero, Tapis, and Galaxy. However, even when gateways are built on successful frameworks, they continue to face the challenges of ongoing maintenance costs and how to meet the ever-expanding needs of the community they serve with enhanced features. It is not uncommon that gateways with compelling use cases are nonetheless unable to get past the prototype phase and become a full production service, or if they do, they don't survive more than a couple of years. While there is no guaranteed pathway to success, it seems likely that for any gateway there is a need for a strong community and/or solid funding streams to create and sustain its success. With over twenty years of examples to draw from, this presentation goes into detail for ten factors common to successful and enduring gateways that effectively serve as best practices for any new or developing gateway.
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
2. About me
I design, develop and maintain RTC platforms based on Open
Source applications since 2001.
Using Kamailio since it was still OpenSER as core component
for fixed, mobile and WebRTC services (Truphone, Libon,
Nexmo and many others).
Currently owner of RTCSoft (rtcsoft.net), member of sipcapture team, RTC
Architect at Nexmo
@giavac - https://github.com/giavac
Kamailio World 2017 - Homer Workshop
3. Interact in real time during the workshop
The Homer team is available now at
https://gitter.im/sipcapture/home
Kamailio World 2017 - Homer Workshop
5. The need for Homer - VoIP Monitoring
and Troubleshooting
- Understand exactly what happened in your platform,
analysing specific calls or events.
- Search through a massive amount of collected data
- Born with a SIP-centric view, then evolved (and still evolving)
towards QoS, RTCP, logs and custom events.
- Homer is already integrated with the most successful
Open Source RTC applications (Kamailio, OpenSIPS,
FreeSWITCH, Asterisk, RTPEngine, Janus).
- Homer can be used in other cases too (with captagent,
sngrep, hepipe.js).
Kamailio World 2017 - Homer Workshop
6. Key Features
- Open Source, modular
- Easy to deploy in various scenarios
- Easy to extend/adapt
- This is how many become contributors
- Very high performances, with a clear scaling strategy
- Carrier grade networks but also smaller deployments
- Can be useful during development
- Hosted vs Cloud
- http://sipcapture.org/#cloud
Kamailio World 2017 - Homer Workshop
7. The ecosystem - native support
- A dedicated binary protocol: HEP
- https://github.com/sipcapture/HEP/blob/master/docs/HEP3_rev12.pdf
- Wireshark dissector: https://github.com/sipcapture/hep-wireshark
- OSS apps native support
- Kamailio (siptrace, sipcapture)
- OpenSIPS (siptrace, sipcapture, proto_hep)
- FreeSWITCH (sofia)
- Asterisk (res_hep)
- RTPEngine (--homer=...)
- sngrep
Kamailio World 2017 - Homer Workshop
8. The ecosystem - external support
- External support
- Janus (via events plugin)
- FreeSWITCH for non-SIP events (via ESL)
- captagent for any other need (including ERSPAN encapsulation)
- sngrep
- Libraries in various languages
- C
- Java
- JS
- Go
- Perl
- Python
- Erlang
Kamailio World 2017 - Homer Workshop
10. Main Architectural Components
● Kamailio: a high-performance collector of data
○ Store in DB
○ Send to ElasticSearch
● A DB: mysql/postgres
● An API (PHP-based, easy to debug and extend)
○ https://github.com/sipcapture/homer-api
● A GUI (Angular) and web server (nginx, apache)
○ https://github.com/sipcapture/homer-ui
Kamailio World 2017 - Homer Workshop
11. Data
- SIP signalling
- RTCP (and RTCP-XR) reports
- Logs
- End of call QoS reports
- WebRTC
- ISUP
- Periodic QoS reports from RTPAgent
Kamailio World 2017 - Homer Workshop
12. Call Info
- Full SIP/SDP storage with precise timestamps
- RTCP reports
- Custom events/logs correlated to call flows
- Multiple-legs correlation
- Need to carry other leg’s Call ID in custom SIP header
Kamailio World 2017 - Homer Workshop
13. A search result with packet list and details
Kamailio World 2017 - Homer Workshop
14. Call Flows
- One key feature: Correlation of separate SIP legs into
one “call”
- Use custom SIP headers to carry info on other legs’ Call IDs
Kamailio World 2017 - Homer Workshop
15. A simple call flow
Kamailio World 2017 - Homer Workshop
16. Collaboration Tools
Call flows can be shared by:
- Extracting pcaps
- Extracting PNGs
- Sharing a link
This is where collaborative debugging really gets a boost
Kamailio World 2017 - Homer Workshop
17. Customizations - examples
- Stats on SIP error codes per country
- Needs a custom SIP header (P-Dest-Stats) from producers
- ASR/ACD per destination/source IP/group
- ASR/ACD per component
- Define your own stats and alarms
#!ifdef WITH_HOMER_DEST_STATS
route(PARSE_DEST_STATS);
#!endif
Kamailio World 2017 - Homer Workshop
18. The Key Role of Kamailio
- Receive and decode HEP data
- With kamailio 5: nonsip_hook and event_route[sipcapture:request]
- Write on DB
- Generate statistics
- Custom statistics
- Optionally GeoIP details
- Can transmit data to ElasticSearch
Kamailio World 2017 - Homer Workshop
19. Homer kamailio.cfg 1/2
#!substdef "!HOMER_DB_USER!homer!g"
#!substdef "!HOMER_DB_PASSWORD!homer_password!g"
#!substdef "!HOMER_LISTEN_PROTO!udp!g"
#!substdef "!HOMER_LISTEN_IF!0.0.0.0!g"
#!substdef "!HOMER_LISTEN_PORT!9060!g"
…
listen=HOMER_LISTEN_PROTO:HOMER_LISTEN_IF:HOMER_LISTEN_PORT
…
sip_capture($var(dest_table));
Kamailio World 2017 - Homer Workshop
20. Homer kamailio.cfg 2/2
modparam("sipcapture", "db_url", "mysql://HOMER_DB_USER:HOMER_DB_PASSWORD@127.0.0.1/homer_data")
modparam("sipcapture", "capture_on", 1)
modparam("sipcapture", "hep_capture_on", 1)
modparam("sipcapture", "insert_retries", 5)
modparam("sipcapture", "insert_retry_timeout", 10)
Kamailio World 2017 - Homer Workshop
21. Multi-node And Scaling
- Write rate is the bottleneck
- Kamailio is a key component for fast writes
- Sharding by method or Call ID
- Distribute writes across multiple mysql instances
- Sharding upported by siptrace module and captagent
- Producers of data in separate data centres
- Keep the data local when possible
- Reads can be performed across several nodes
- Acceptable to be much slower than writes
- Other approaches
- UDP-level load balancing
Kamailio World 2017 - Homer Workshop
25. Installation Strategies
- Bash script
- Docker
- Single and Multi-Container
- Suitable for Kubernetes & Co.
- Puppet
- Master/Slave
- Standalone
- To manage Docker containers
- Custom
- Often the DB installation and setup is delegated to a DBA team
Kamailio World 2017 - Homer Workshop
26. A Minimalistic Installation
- Homer can fit into one single host
- Useful for small deployments and development
- https://github.com/sipcapture/homer-installer
- Debian 8 and CentOS 7
bash <( curl -s https://cdn.rawgit.com/sipcapture/homer-installer/master/homer_installer.sh )
Default credentials: admin/test123
Kamailio World 2017 - Homer Workshop
27. Docker Installation
https://github.com/sipcapture/homer-docker
- Based on Docker Compose
- One container for all or...
- One container per service
- Kamailio
- mysql
- API/Web
- An additional container for dashboard persistence
- Integrates well with external DBs
- USE_REMOTE_MYSQL=true in homer.env
Kamailio World 2017 - Homer Workshop
28. Containers in action
- git clone
https://github.com/sipcapture/homer-docker.git
- cd homer-docker
- docker-compose build
- docker-compose up -d
- docker ps
Kamailio World 2017 - Homer Workshop
29. Puppet module
- Debian, Ubuntu, CentOS
- small elements changing, e.g. PHP version and installation paths
- See also “pre-install” bash script for max automation
- Various parameters
- mysql management is optional
- Can manage a Docker-based installation via Compose
https://github.com/sipcapture/homer-puppet
node default {
class { 'homer':
manage_mysql => false,
mysql_host => '10.0.0.10',
Mysql_password => 'da_mysql_pass',
}
}
Kamailio World 2017 - Homer Workshop
31. Debugging The... Debugging Tool
- hepgen.js
- https://github.com/sipcapture/hepgen.js
- Generate HEP data to smoke-test Homer
- A reference to learn HEP format
- Wireshark dissector
- https://github.com/sipcapture/hep-wireshark
- HEP with SIP, ISUP, logs, RTCP reports, and other payload types
- Contributions to extend to other protocols are welcome
Kamailio World 2017 - Homer Workshop
33. Kamailio as Producer
- Configure siptrace
- Homer IP address and port
- Filter messages in kamailio.cfg
- With Kamailio 5 siptrace module has:
- HEPv3 support
- heplog() command to send a log item directly from the .cfg
Kamailio World 2017 - Homer Workshop
35. FreeSWITCH as Producer
- Configure sofia profile
- <param name=“sip-capture” value=”yes/no”/>
- <param name=“capture-server” value=”udp:10.0.0.10:9060”/>
- Example with A-leg off and B-leg ON
- hepipe.js to get non-SIP events via ESL
See also “Mastering FreeSWITCH”, chapter 13
https://www.packtpub.com/networking-and-servers/mastering-freeswitch
Kamailio World 2017 - Homer Workshop
36. Captagent for all other cases
https://github.com/sipcapture/captagent
- Configure the tracing filters
- SIP, ISUP, RTP reports
- Configure where Homer is located and launch
sudo apt-get update && apt-get install -y libexpat-dev libpcap-dev libjson0-dev libtool automake
flex bison libuv-dev make
./build.sh && ./configure && make && sudo make install
- Edit socket_pcap (/usr/local/captagent/etc/captagent/socket_pcap.xml)
- Edit transport_hep (/usr/local/captagent/etc/captagent/transport_hep.xml)
Kamailio World 2017 - Homer Workshop
38. Conclusions
- Homer is a must have for VoIP/RTC troubleshooting
- Open Source, modular, can be deployed in various ways
- The future is… HEPIC
- Collect/Correlate/Graph Everything
- paStash: generic-purpose nodejs correlator
- Latest HEPIC presentation by Lorenzo:
http://tinyurl.com/hepic-homer
- “RTC-TIE: Distributed Backlist for Fraud Prevention”
- Don’t miss Alexandr’s presentation on Wednesday!
Kamailio World 2017 - Homer Workshop
39. Thanks And Q&A
Questions?
Special thanks to:
Lorenzo Mangani
Alexandr Dubovikov
Federico Cabiddu
Doug Smith
@giavac for more questions later
42. Statistics
- Packets count
- Replies by method
- Destination replies
- IP addresses
- Geolocation
- User Agents
- ASR, NER
- Custom stats (with dedicated Stats server - ElasticSearch)
Kamailio World 2017 - Homer Workshop
43. Alarms
- “Friendly” scanners
- mysql injections attempts
- Loops
- Timeouts
- etc + configurable in Homer kamailio.cfg
Kamailio World 2017 - Homer Workshop
44. Data Retention Policies
- A cron job rotates mysql tables
- Default: daily
- Only limitation is disk space
- Retention policies are configurable in rotation.ini
- Also configure max size of data (e.g. for large SDPs…)
Kamailio World 2017 - Homer Workshop
45. QoS Info, Logs, etc
- Homer can collect RTCP reports and correlate them with
the SIP signalling
- Also correlate log lines to SIP signalling
Kamailio World 2017 - Homer Workshop