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 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.
November 28, 2018: Kamailio 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!
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:
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:
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.
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!
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.
Kamailio SIP Server v5.1.6stable 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.
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:
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.
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.
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.
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!
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!
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:
Kamailio SIP Server v5.1.5stable 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.
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!
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.
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!
Kamailio SIP Server v5.0.7stable 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.
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:
Kamailio SIP Server v5.1.4stable 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.