Tuesday, December 11, 2018

Performance Tests For KEMI Scripting Languages

Two editions ago, Kamailio (with version 5.0) introduced the scripting languages embedded interface (short name KEMI) that enabled using Lua, Python, JavaScript or other scripting languages to build SIP routing logic. During Kamailio v5.1.x cycle, this framework became more mature and started to show its benefits: besides ability to reload the routing scripts at runtime, each of these languages come with tons of extensions and offer a more flexible programming eco-system.
When preparing the latest major release of Kamailio (the v5.2.0) and the days after, I run some tests to compare the performances of using native scripting versus Lua and Python (v2). The tests were not focused on measuring the capacity of Kamailio, but to see the difference in executing similar SIP routing logic with different scripting languages.
The results and conclusions are collected in a wiki page:
It was pleasant to discover that native scripting, Lua and Python perform more or less the same, the differences are so small that can be just a side effect of what other applications are running at that moment in the system. The tests were related to processing registrations with user authentication, using MySQL as a backend.
A test consisted of 20 000 registrations for 10 users being sent at a rate of 4000 requests/second, with a limit of 10 000 at the same time. Note that each registration was challenged for authentication and resent with credentials, then authenticated (this performs a MySQL query) and replied with 200ok. The average of running the routing script ranged form 60 to 80 microseconds, most of them being around 70 microseconds (for a better understanding, that means more than 10 000 authenticated registrations per second).
The wiki page includes the sipp scenario, used configs and tools to perform the tests, therefore anyone can try to run and check the results.
A bit of a surprise was to see that Python has really good results. I ran couple of basic tests during the development of KEMI framework for Kamailio 5.0 and using Python seemed slower. Not this time, so I will have to re-run the tests just to be sure I haven’t forgotten something.
Anyhow, during the development of Kamailio 5.2, there were couple of additions to KEMI to improve the performances. Among the most relevant were to export several functions that are equivalent to some native scripting language conditions, such as matching From/To URIs against myself keyword or matching the SIP methods.
The plan is to run the tests for the other scripting languages supported by KEMI at this moment, respectively Python (v3), JavaScript, Ruby and Squirrel. It would be also interesting to see the results of using Lua scripting with LuaJIT (an addition added for Kamailio v5.2 as well).
Should you run the tests from the wiki, let us know the results for your environment via sr-users@lists.kamailio.org mailing list.
Thanks for flying Kamailio!

Monday, December 10, 2018

Kamailio World 2019 – Call for Presentations

We would like to announce that Call for Presentations at Kamailio World 2019 is now open. You can submit your proposal or see more details at:
The 7th edition of the event takes place again in Berlin, Germany, during May 6-8, 2019. Expect over 150 participants, developers and community members as well as representatives from other popular open source VoIP projects such as Asterisk or FreeSwitch.
Looking forward to meeting many of you there!
Thanks for flying Kamailio!

Friday, November 30, 2018

Kamailio 5.2: Deb And RPM Repositories

The packages of Kamailio v5.2.0 for Debian/Ubuntu and RPM-based distributions (CentOS, RedHat, OpenSuse, Fedora) are available to use.
For Debian/Ubuntu, you can set the APT repository on your system to the links provided at:
For the RPM-based distributions, their repositories are listed at:
Enjoy!
Thanks for flying Kamailio!

Wednesday, November 28, 2018

Kamailio v5.2.0 Released

November 28, 2018Kamailio v5.2.0 is out –  a new major release, bringing new features and improvements added during nine months of development and about two months of testing.
In short, this major release brings 6 new modules and enhancements to more than 70 existing modules, plus components of the core and internal libraries as well as optimizations for embedded interpreters (KEMI framework). Detailed release notes are available at:
This is the third major release in the series of 5.x.y versions. Besides adding plenty of new features, a lot of development was directed to unify the exports structure for modules, enhance dispatcher (the load balancer module), tls, RTP processing and to make available more functions to KEMI interface.
Enjoy SIP routing in a secure, flexible and easier way with Kamailio v5.2.0!
Thank you for flying Kamailio and looking forward to meeting you at Kamailio World Conference 2019!

Monday, November 26, 2018

Announcing Next Kamailio World Conference, May 6-8, 2019, in Berlin

The next edition of Kamailio World Conference is planned to take place at the same location like the past editions, respectively hosted by Fraunhofer Fokus and Forum in the city center of Berlin, Germany, during May 6-8, 2019.
The website of the event and the call for presentations will be launched in the near future, stay tuned!
Meanwhile, you can browse the website of the previous edition in order to get an idea about the type of event and its content:
Enjoy the upcoming winter or summer season!
Thanks for flying Kamailio!

Monday, November 19, 2018

Releasing Kamailio v5.2.0

We are considering to release v5.2.0 (the first stable version out of branch 5.2) next week, likely on Wednesday, Nov 28, 2018.
It still allows a bit more than a week of testing as well as well time to prepare the online resources for it (documentation, wiki pages, upgrade guidelines, etc…).
If there is any issue you are of and not yet reported to github.com bug tracker, do it as soon as possible to give it a chance to be fixed in time for the next major release.
Thanks for flying Kamailio!

Wednesday, November 7, 2018

Development Open For Kamailio v5.3

With the creation of branch 5.2 done yesterday, the master branch is from now on open for adding new features, to be part of future release series v5.3.x.
Based on the workflow used during the past years, the next future release v5.3.0 should be out after another 8-10 months of development, plus 1-2 months of testing, so sometime in the summer or autumn of 2019.
Even now there is a new pull request on its way to be merged in master branch that is adding a new module – the rtp_media_server:
So the new development cycle is starting very promising. Expect plenty of enhancements and new feature during the development of v5.3 series.
Thanks for flying Kamailio!

Tuesday, November 6, 2018

Kamailio Git Branch 5.2 Created

The branch 5.2 has been created in the git repository of Kamailio, to be used for releasing v5.2.x series.
To check out this branch, the following commands can be used:
git clone https://github.com/kamailio/kamailio kamailio-5.2
cd kamailio-5.2
git checkout -b 5.2 origin/5.2
Pushing commits in this branch:
git push origin 5.2:5.2
Note that 5.2 is an official stable branch, so only bug fixes, missing kemi exports (to be discussed on sr-dev if something needs to be sorted out about the purpose of the exports) or improvements to documentation or helper tools will be pushed to this branch.
As usual, if there is a bug fixed, the commit will be pushed first to master branch and then cherry picked to 5.2 branch.
In few weeks, the first release from branch 5.2 will be out, respectively Kamailio v5.2.0.
Thanks for flying Kamailio!

Monday, October 29, 2018

FOSDEM 2019 – RTC DevRoom – CFP And Volunteers

FOSDEM 2019 (the free and open source software developers meeting) takes place during the 2nd and the 3rd of February 2019 in Brussels, Belgium:
The application to host a Real Time Communication devroom has been accepted and the call for presentations and volunteers has been started. The announcement with all the relevant details has been sent to the mailing list:
Consider to submit a proposal if you have worked on something FOSS and interesting to share that is related to real time communications.
It is very likely that Kamailio project will participate once again at the event with a consistent group of developers and community members, continuing our more than 10 years long tradition to meet for a dinner and catch up on what new around RTC world!
Thanks for flying Kamailio!

Tuesday, October 16, 2018

Kamcli v1.1.0 Released

Kamcli v1.1.0 has been released. It is a command line management tool for Kamailio deployments, aiming to be a modern alternative to the venerable kamctl.
Kamcli offers a set of subcommands for controlling Kamailio, among them:
  • subscriber – manage SIP subscribers
  • ul – manage user location records
  • address – manage permissions address records
  • aliasdb – manage database aliases
  • db – manage kamailio database content
  • dialog – manage active calls (dialog)
  • dialplan – manage dialplan records
  • dispatcher – manage load balancer (dispatcher)
  • group – manage group membership records (acl)
  • moni – continuous refresh of the values for a list of statistics
  • mtree – manage memory trees (mtree)
  • ps – print the details for kamailio running processes
  • rpc – interact with kamailio via jsonrpc control commands (alias of jsonrpc)
  • rpcmethods – return the list of available RPC methods (commands)
  • speeddial – manage speed dial records
  • srv – server management commands (sockets, aliases, …)
  • stats – get kamailio internal statistics
  • tls – management commands for TLS profiles and connections
  • uptime – print the uptime for kamailio instance
How to install kamcli and examples of usage can be found at:
This release has been tagged on Github repository at:
Enjoy! Thanks for flying Kamailio!

Friday, October 5, 2018

Development Of Kamailio v5.2.x Series Is Frozen

Here we mark the freezing of development for Kamailio v5.2 series.
From now on, for few weeks, no new new features will be pushed in the master branch. Development can still be done, but should be hold in developers’ GIT personal branches.
Once the branch 5.2 is created (expected to happen in 3-4 weeks), the master branch becomes again open for new feature. Meanwhile the focus has to be on testing current code.
Work on related tools (e.g., kamctl) or documentation can still be done as well as getting the new modules in 5.2 in good shape, plus adding exports to KEMI interface (which should not interfere with old code).
The entire testing phase is expected to be 4 to 6 weeks, then the release of v5.2.0 will be out.
Thanks for flying Kamailio!

Thursday, October 4, 2018

Kamailio v5.1.6 Released

Kamailio SIP Server v5.1.6 stable is out – a minor release including fixes in code and documentation since v5.1.5. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio® v5.1.6 is based on the latest source code of GIT branch 5.1 and it represents the latest stable version. We recommend those running previous 5.1.x or older versions to upgrade. There is no change that has to be done to configuration file or database structure comparing with the previous releases of the v5.1 branch.
Resources for Kamailio version 5.1.6
Source tarballs are available at:
Detailed changelog:
Download via GIT:
 # git clone https://github.com/kamailio/kamailio kamailio
 # cd kamailio
 # git checkout -b 5.1 origin/5.1
Relevant notes, binaries and packages will be uploaded at:
Modules’ documentation:
What is new in 5.1.x release series is summarized in the announcement of v5.1.0:
Thanks for flying Kamailio!

Monday, October 1, 2018

Astricon 2018

Astricon 2018, the Asterisk users’ conference, is just several days away. It takes place again in Orlando, FL, USA, during October 9-11, 2018.
Kamailio is very well represented at this edition, besides having a stand in the expo floor, there will be presentations by Alex Balashov, Daniel-Constantin Mierla and Fred Posner.
You can find the schedule and more details about the event at:
We hope to see many of you in Orlando!
Thanks for flying Kamailio!

Saturday, September 29, 2018

Kamailio Developers Meeting, Sep 27-28, 2018, in Dusseldorf

Kamailio SIP Server project is organizing a meeting of its developers during September 27-28, 2018, hosted by sipgate.de in Dusseldorf, Germany.
The event is intended to facilitate the interaction between Kamailio developers and to offer a convenient environment for working together on several topics of high interest for the project, including writing code for Kamailio and its tools, improving documentation, or discuss about future development.
Everyone from the community is welcome to join. Please note we have a limited capacity of 20 seats in the meeting room. Also, very important to be aware that this is not an event to learn how to use Kamailio.
More details about the event, the venue, how to register, are available at:
Looking forward to those two intensive hacking Kamailio days in Dusseldorf!
Thanks for flying Kamailio!

Friday, September 28, 2018

New Kamailio Module Exports Interface

As a result of collaborative work at Kamailio Developers Meeting, we succeeded to merge the two existing module exports interface (one for Kamailio modules and the other one from SER modules) in a single one.
All public modules were updated, but if you have any private module then you have to update as well in order to get it compiled with the latest master. Just look at one of the modules (e.g., sl module is a good option) and all the fields in mod exports structure have comments with their meaning.
In short: we removed unused fields for statistics, mi commands and extra-processes (from Kamailio old interface) and oncancel (from SER old interface), kept the RPC exports from SER interface and PV exports and dlopen flags from kamailio interface. The other fields were common in both interfaces, but be aware that order was also changed.
If you have a module implementing the SER old interface, you also need to add the free fixup field in functions exports structure — you can just set it to 0.
With this we have now a single mod exports interface in all modules, the core is also cleaner as we got rid of the various compatibility layers.
Thanks for flying Kamailio!

Thursday, September 27, 2018

Maintenance Work On deb.kamailio.org

There will be some maintenance work done to deb.kamailio.org server these days in order to move to a better infrastructure, so it may not be available for a while. The DNS needs to be updated as well, this also can affect you if your router/provider does caching.
This is affecting the APT repository for Debian and Ubuntu packages.
Update Sep 28: migration has been completed, if you encounter any issue with the apt repositories, contact us.
Thanks for flying Kamailio!

Monday, September 24, 2018

Upcoming Events – Autumn 2018

The autumn of 2018 has plenty of events where Kamailio developers and community members will participate. Among them:
If you attend any of these events or are around their location at their dates, get in contact with Kamailio’s community via sr-users mailing list and let’s meet, greet and discuss latest news about the project and RTC market.
Enjoy the autumn!
Thanks for flying Kamailio!

Thursday, September 20, 2018

Kamailio On Tap – Social Event In Dusseldorf, Sep 27, 2018

About 15 Kamailio developers are traveling to Dusseldorf for the Kamailio Developers Meeting during September 27-28, 2018, giving the opportunity to organize an open social networking event in the evening of September 27, 2018, at 19:00!
That’s “Kamailio On Tap“, an informal meeting of Kamailio developers and VoIP community/RTC industry, to be hosted at:
Pub: Hafenquelle (front of the street)
Gladbacherstrasse 74
40219 Dusseldorf
It is not an event only for Kamailio developers, anyone from the VoIP community/RTC industry that wants to join us is welcome! It is a free to attend event, you just need to register in order to be sure we do not exceed available seats and dimension properly what is offered during the event.
To register, send an email to  with the subject: “Kamailio On Tap” until September 26, 2018. Feel free to pass these details to friends, colleagues or business connections that you have in the area of Dusseldorf and you think they may be interested to attend.
Beer and pizza are sponsored for everybody!
Looking forward to meeting many of you in Dusseldorf!
Thanks for flying Kamailio!

Thursday, September 6, 2018

New Developer: Tsvetomir Dimitrov

The warm welcome note for Tsvetomir Dimitrov joining the Kamailio Developers Team, who recently contributed the ims_ipsec_pcscf module. In the past, he submitted fixes and improvements to the code for other existing modules related to IMS/VoLTE and SMS operations.
We are glad to have the team expanded and we are looking forward to more contributions from Tsvetomir!
Thanks for flying Kamailio!

Friday, August 24, 2018

New Module: IMS IPSEC PCSCF

A new module has been contributed recently by Tsvetomir Dimitrov extending Kamailio capabilities on IMS and VoLTE.
The module is named ims_ipsec_pcscf and contains the methods for IPSec initialisation and deinitialisation needed for using Kamailio as a Proxy-CSCF. The documentation of the module is available at:
Enjoy!
Thanks for flying Kamailio!

Thursday, August 23, 2018

Kamailio On ClueCon Weekly, Aug 29, 2018

On the 28th of August 2018, Daniel-Constantin Mierla will join the ClueCon Weekly Conference to talk about what’s new lately in the Kamailio ecosystem.
ClueCon Weekly is a live 1-hour video conference session organised every Wednesday by the FreeSwitch project team, everyone can join with a modern web browser or dialing in from PSTN. Details about how to connect are available at:
You are welcome to join and discuss or ask questions about Kamailio as well as its usage together with FreeSwitch.
If there is a topic that you would like to be approached, email to and we will try to plug it in.
Thanks for flying Kamailio!

Wednesday, August 22, 2018

Kamailio v5.1.5 Released

Kamailio SIP Server v5.1.5 stable is out – a minor release including fixes in code and documentation since v5.1.4. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio® v5.1.5 is based on the latest source code of GIT branch 5.1 and it represents the latest stable version. We recommend those running previous 5.1.x or older versions to upgrade. There is no change that has to be done to configuration file or database structure comparing with the previous releases of the v5.1 branch.
Resources for Kamailio version 5.1.5
Source tarballs are available at:
Detailed changelog:
Download via GIT:
 # git clone https://github.com/kamailio/kamailio kamailio
 # cd kamailio
 # git checkout -b 5.1 origin/5.1
Relevant notes, binaries and packages will be uploaded at:
Modules’ documentation:
What is new in 5.1.x release series is summarized in the announcement of v5.1.0:
Thanks for flying Kamailio!

Tuesday, August 14, 2018

Videos For Kamailio Presentations At ClueCon 2018

Video recordings for Kamailio-related related presentations at ClueCon 2018 are now available online:
There were couple of other presentations touching Kamailio, RTPEngine or related projects, among them:
As usual, ClueCon 2018 was a great place to connect with VoIP developers and professionals world wide. We are looking forward to next editions!
Thanks for flying Kamailio!

Saturday, July 28, 2018

Kamailio – The Project Name For Last 10 Years

Ten years ago, on July 28, 2008, the rename of OpenSER project to Kamailio was announced.
Many may still remember the chaos created couple of days after, due to the fork that redirected the old domain, pretending to be the continuation of the OpenSER project, although the rename announcement was done by someone being part of that later fork. Old website content as well as source code project on sourceforge.net continued with Kamailio (n.r., we moved to Github to host the source code meanwhile).
The reason for writing this post is that during the trip at ClueCon conference in the past few days, I met with many that were active in the community at that time and no matter what decision they did then on what project to use, they see Kamailio as a truly open source project that succeeded to build a consistent group of active developers, a vibrant community and a robust business ecosystem with many companies that offer various RTC systems/platforms or services.
So I thought of playing a bit with some commands over source code three and get some numbers of what was then and where we are now:
  • number of commits in master branch as of July 28, 2018: over 27 800
  • number of commits in master branch since July 28, 2008: over 17 000
  • number of people that pushed those commits since July 28, 2008: over 300
  • number of commits in master branch since July 28, 2017: over 1 900
  • number if people that pushed commits since July 28, 2017 (during past year): over 70
  • number of modules in July 28, 2008 (Kamailio v1.4.0): 86
  • number of modules in July 28, 2018 (Kamailio v5.2.0): 223
Worth to mention that in the past 6 years, we organised our own conference, Kamailio World, and now we start the preparations for the 7th edition, to be sometime in spring of 2019, likely again in Berlin, Germany. Slides and video recordings from the past editions not only are a valuable knowledge base, but also highlight the variety of enterprises and operators relying on Kamailio.
This makes it the right time to thank again to all developers, users and advocates of Kamailio project! It is the outcome of all together!
Back in the summer of 2008, at the fork time, there were a few preaching, one or two louder than the others, that Kamailio was going to disappear soon, that there was no capable team to maintain or develop further the Kamailio project (although only 3 developers created or left with the fork) … and here we are, 10 years later! Maybe soon just didn’t happen yet, it has been only slightly over 0.023 seconds in the cosmic calendar!!! Within Kamailio project, we are looking forward to the next second!
Enjoy the summer holidays! Thanks for flying Kamailio! 

Monday, July 23, 2018

Minimal SIP Proxy Config File

Just a short note to point that a minimal proxy configuration file has been recently pushed in misc/examples/mixed, respectively:
It could be a good starting point, especially for testing new modules that are either developed or when starting to play with a new module, because it provides a simple SIP proxy that takes care of routing requests within dialog, but leaves out components usually enabled in production, such as authentication, nat traversal, presence, … in this way making testing on local system/network easier.
Enjoy!
Thanks for flying Kamailio!

Thursday, July 12, 2018

ClueCon 2018

Not long time left until ClueCon 2018 starts in Chicago (July 23-26), the annual conference for RTC developers organised by the FreeSwtich team!
Kamailio project is looking forward to meeting again the VoIP community and well known RTC developers around the world. Two members of Kamailio Admin Team will give presentations during the event:
  • Daniel-Constantin Mierla, on Tuesday, July 24, at 12:00pm – Elasticity of VoIP Platforms with Kamailio
  • Fred Posner, on Thursday, July 26, at 01:30pm – Kamailio as a SIP Edge Proxy
See the full agenda at:
While you are sure you will get the latest updates about FreeSwitch and SignalWire from Anthony Mineseale II, Mike Jerris, Brian West and the rest of the team, and besides Kamailio, the event covers many other open source projects, such as Asterisk, Kazoo PBX, Fusion PBX, as well as it includes talks from renowned people in the RTC space, among them: prof. Carol Davids from IIT Chicago, James Tagg, James Body, Dan Jenkins, Simon Woodhead and Chad Hart.
It is one of those events during the year than one should not miss, try to hurry in order get your ticket if you haven’t done it yet and plan to attend!
Looking forward to the event!
Thanks for flying Kamailio!

Thursday, June 21, 2018

Kamailio v5.0.7 Released

Kamailio SIP Server v5.0.7 stable is out – a minor release including fixes in code and documentation since v5.0.6. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio v5.0.7 is based on the latest version of GIT branch 5.0. We recommend those running previous 5.0.x or older versions to upgrade. There is no change that has to be done to configuration file or database structure comparing with the previous release of the v5.0 branch.
Resources for Kamailio version 5.0.7
Source tarballs are available at:
Detailed changelog:
Download via GIT:
 # git clone https://github.com/kamailio/kamailio kamailio
 # cd kamailio
 # git checkout -b 5.0 origin/5.0
Relevant notes, binaries and packages will be uploaded at:
Modules’ documentation:
What is new in 5.0.x release series is summarized in the announcement of v5.0.0:
Note: the branch 5.0 is the previous stable branch. The latest stable branch is 5.1, at this time with v5.1.4 being released out of it. Be aware that you may need to change the configuration files and database structures from 5.0.x to 5.1.x. See more details about it at:
Thanks for flying Kamailio!

Monday, June 18, 2018

Next Kamailio IRC Devel Meeting

To discuss about the next major release of Kamailio (v5.2.0) and ongoing development, we propose an IRC devel meeting for next week, on Tuesday, Jun 26, 2018.
The meeting is going to be held as usual in the #kamailio channel on freenode.net IRC network.
A wiki page was created to collect the topics that are wanted to be discussed:
Fell free to add there or reply to the mailing list with what you think it is relevant to discuss.
Thanks for flying Kamailio!

Tuesday, June 5, 2018

Kamailio v5.1.4 Released

Kamailio SIP Server v5.1.4 stable is out – a minor release including fixes in code and documentation since v5.1.3. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio® v5.1.4 is based on the latest source code of GIT branch 5.1 and it represents the latest stable version. We recommend those running previous 5.1.x or older versions to upgrade. There is no change that has to be done to configuration file or database structure comparing with the previous releases of the v5.1 branch.
Resources for Kamailio version 5.1.4
Source tarballs are available at:
Detailed changelog:
Download via GIT:
 # git clone https://github.com/kamailio/kamailio kamailio
 # cd kamailio
 # git checkout -b 5.1 origin/5.1
Relevant notes, binaries and packages will be uploaded at:
Modules’ documentation:
What is new in 5.1.x release series is summarized in the announcement of v5.1.0:
Thanks for flying Kamailio!