Kamailio Advanced Training
Click here for more details!

Learn how to build RTC services with Kamailio!

Monday, October 9, 2017

Freezing Development For Kamailio v5.1

The development of new features for next major release, Kamailio v5.1, is going to be frozen on Monday, October 16, 2017. The master branch received plenty of new features since the release of v5.0, which was out by end of February 2017.
Next release will bring at least 7 new modules (although we are expecting one or more to make it in during next days). Not really up to date, the list of new features is collected in the wiki page at:
After the freeze date, we start the testing phase, which is expected to last for 4 to 6 weeks, then we will have the first release in the 5.1 series, respectively the version 5.1.0.
Shall you have plans to include new features in v5.1, it is time to hurry up and have the commit or pull request ready by end of next Monday.
Thanks for flying Kamailio!

Friday, September 22, 2017

AstriCon 2017

Kamailio is going to be present at AstriCon 2017, the Asterisk User Conference and Exhibition organized by Digium, to take place in Orlando, FL, USA, during October 3-5, 2017.
Carsten BockDaniel-Constantin MierlaFred Posner and J├Âran Vinzens will have presentations about Kamailio (see the schedule here). Besides the conference sessions, Kamailio project has a booth the expo area, be sure you stop by for a chat and some cool demos of using Kamailio alone or together with Asterisk.
We expect a consistent group of people from the Kamailio community, the event being a great chance to meet with many world wide friends, especially the North American kamailians.
Looking forward to meeting many of you in Orlando by beginning of October!
Thanks for flying Kamailio!

Wednesday, September 20, 2017

Next Kamailio IRC Devel Meeting

To sync properly for the next major release of Kamailio (v5.1.0) and ongoing development, we propose an IRC devel meeting for next week, on Wednesday, Sep 27, 2017. An alternative would be the following day, Sep 28, or if there are many devs that want to attend and cannot do it these days, we can look at another date. Just propose new day and time via sr-dev mailing list.
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!

Monday, September 11, 2017

PyFreeBilling – OSS Billing Platform

We want to highlight another project that uses Kamailio, which together with FreeSwitch, is part of PyFreeBilling, an open source billing platform targeting VoIP wholesale. It is released under AGPLv3.
The project sources are hosted on Github at:
The project has its own website at:
While not tried yet here, the screenshots show a modern design and the list of features is quite impressive — next is an excerpt taken from project’s docs:
  • Customer add/modify/delete
    • IP termination
    • SIP authentication
    • Prepaid and/or postpaid
    • Realtime billing
    • Block calls on negative balance (prepaid) or balance under credit limit (postpaid)
    • Block / allow negative margin calls
    • Email alerts
    • Daily balance email to customer
    • Limit the maximum number of calls per customer and/or per gateway
    • Multiple contexts
    • Tons of media handling options
    • Powerfull ratecard engine
  • Provider add/modify/delete
    • Powerful LCR engine
    • Routing based on area code
    • CLI Routing
    • Routing decision based on quality, reliability, cost or load balancing (equal)
    • Limit max channels by each provider gateway
  • Extensive call and financial reporting screens (TBD)
  • CDR export to CSV
  • Customer panel
  • Design for scalability
Definitely worth a try!
Enjoy! Thanks for flying Kamailio!
PS. Should you develop a project related to Kamailio or be aware of such project, do not hesitate to contact us, we are glad to publish articles about them! 

Friday, September 1, 2017

Kamailio v5.0.3 Released

Kamailio SIP Server v5.0.3 stable is out – a minor release including fixes in code and documentation since v5.0.2. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio v5.0.3 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.3
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:
Thanks for flying Kamailio!

Tuesday, August 22, 2017

Kamailio Presentation At ClueCon 2017

Fred Posner, our big friend (and baker from Florida), participated to ClueCon Conference 2017 and gave a presentation about Kamailio SIP Server. The slides deck is available at:
You can find some good hints and tips about using Kamailio for building intelligent SIP routing.
As usual, we would like to thank for spending time and financial resources for promoting Kamailio. Should you present at a large world wide event or small meetup in your area and have some notes about Kamailio, we definitely appreciate it a lot and we are more than happy to host a copy of the slides on our events directory:
Just get in touch with us!
Thank you for flying Kamailio!

Wednesday, August 9, 2017

ACC – SQL Define Removed And Diameter Code Relocated

The ACC module (accounting) in Kamailio got a bit of clean up, therefore be aware of following changes:
  • (1) the define conditions on SQL_ACC were removed — this was enabled for more than 10 years and only made the code look complex and hard to follow up its logic.
  • (2) the code related to DIAMETER accounting was relocated to acc_diameter (new) module. It was a consistent size of code that was not enabled for sooo… long. It is now a dedicated module, similar to acc_radius. The diameter accounting code, even a new module now, is in the same stage, compiling but not tested, in pair with auth_diameter module, it may work, but very likely not.
In summary, what’s important for those using the acc module — it offers the same functionality as it was enabled by default in the past 10 years or more: writing accounting records to syslog and sql databases — only the unused code was relocated.
The acc module is now slimmer, only with the code that it needs, therefore easier to maintain and enhance for the future. For any issue, as usual open a report on Github project portal.
Thanks for flying Kamailio!

Tuesday, August 1, 2017

Research On VoIP Fraud Using Kamailio As Sensor

Konstantin Tumalevich has posted an article via GitHub about his research done on VoIP fraud using Kamailio as a sensor, along with other VoIP applications such as Asterisk.
Some interesting facts extracted from the article:
For research, I created honeypot what mimics vulnerable PBX.
For emulation, I used Kamailio nodes that send any calls to termination node and answers to OPTIONS and REGISTER.
For every INVITE I recorded From, To, UA, Call-ID, IP and call time.
Termination node has Kamailio with Flask app for preprocessing calls and Asterisk for topology hiding when calls sent to PSTN.
All calls with a cost of more than 2 cents per minute were rejected with code 486.
I used 4 sensor nodes located in NL, DE, SG and NYC.
For 18 days, 254805 INVITE were collected from 296 different IP’s. On average, 860 INVITEs were received from an IP.
Reports about top source IPs, countries of origin and the operator as well as related graphs can be found in the conclusions of the research. Few hints are also provided about how to protect better.
You can read the entire article at:
Enjoy!
Thanks for flying Kamailio!

Monday, July 24, 2017

ClueCon 2017

As every August for more than a decade, the ClueCon conference takes place again in Chicago, USA, during August 7-10, 2017. Mainly organised by the people behind FreeSwitch project, ClueCon is among those events where you can meet a large group of experienced people with open source realtime communication technologies.
Kamailio will be present with a talk by Fred Posner, one of our very active advocates of the project in North America and not only. His presentation is scheduled for Wednesday, August 9, at 10:45am:
Besides Fred, you will be able to meet other relevant members of Kamailio project or friends from the VoIP world! If you haven’t checked the event so far, do it very soon and consider to register, no much time left and ClueCon is always worth attending! Read moreabout the event at:
Enjoy!
Thank you for flying Kamailio!

Tuesday, July 18, 2017

dSIPRouter – GUI For Kamailio SIP Trunking

dSIPRouter is a web GUI that facilitates deploying Kamailio for SIP trunking services, developed by dOpensource.com and offered as open source on Github under Apache 2.0 license.
It allows to manage the carriers and PBXes from a modern front end web GUI, built in Python. The application was developed for Kamailio 4.4.x series and tested mainly on CentOS.
Enjoy!
Note: should you develop or are aware of any application that is related to Kamailio, do not hesitate to contact us, we will happily publish a news about it on kamailio.org.
Thanks for flying Kamailio!

Monday, July 10, 2017

IvozProvider: Kamailio And Asterisk Based VoIP System

IvozProvider is a provider oriented multilevel IP telephony solution for use on public internet or private networks. It allows multiple access levels within the same infrastructure, from operator administrator to granular brand and company administrators as well as end user.
Here is an excerpt from its presentation:
“IvozProvider was designed always keeping in mind the horizontal scaling of each of its elements, so it can handle hundred of thousands concurrent calls and what is more important, adapt the platform resources to the expected service quality.”
It relies on an handful of open source applications, including Kamailio, RTPEngine, Asterisk, MySQL or JsSIP.
The project is available on Github at:
It has quite an extensive documentation online, offering several options for an easy install:
It is developed by Irontec, the company being another popular SIP-related project, respectively sngrep.

Friday, July 7, 2017

SIREMIS – Ongoing Updates

There is some ongoing work on Siremis (web management interface for kamailio) to make it fully compatible with Kamailio 5.0.x as well as update some of its legacy components:
So I thought to start a discussion here and see if some of those changes are going to impact too much existing installations or what are the best options to use for the future.
Done so far:
  • 1) implemented the JSONRPC client using UDP and unix domain sockets, to work in pair with jsonrpcs module as a replacement for removed MI interface. The old JSONRPC over HTTP is still an option.
  • 2) charts system has been migrated from open flash chart (ofc) to echarts (pure html5/javascript) — therefore no more requiring to enable flash in browser. Configuration is the same and the charts should look pretty similar. If you upgrade, apart of different html view for the charts, the config files should not be changed. If you notice something broken, open an issue on github project linked above.
Planned to be done:
  • 3) Relocate siremis/modules/ser to siremis/modules/sipadmin — this purely for more suggestive name for the admin module related to the SIP services offered by Kamailio, and be in pair with the module sipuser. This is mainly search and replace over php and xml files, however, it is going to impact if you developed your own internal extensions for Siremis and placed them in the ‘ser’ module. It will require that you do the same search+replace
  • 4) Review existing database tables views and add fields for missing columns.
  • 5) Add views for other database tables. First in my mind being the table for rtpengine module. If you use some modules with tables not yet managed by Siremis, reply and list them to set a list of priorities.
Should have other things to report about Siremis and are not yet listed on project’s issue tracker, let’s discuss here.
Testing and feedback for 1) and 2) are very appreciated!
Thanks for flying Kamailio!

Wednesday, July 5, 2017

Skype For Android Update Brings No User Presence

Apparently the latest update of Skype for Android from few weeks ago removed the user's presence status, so no more online, do not disturb, etc. for your contacts. Either a bug or a feature, not clear yet, but it is reported or discussed across the web (redit, microsoft, etc.).

Being one of the first RTC apps that worked cross plaform (Linux, Windows, Mac OS), I got couple of old relatives used to it and they relied a lot on presence status to start chatting. This change had an impact, as they didn't contact each other for a while, until they starting questioning what happens.

I am still using it from time to time as a channel for first discussions on a potential business prospect, if nothing else is convenient, but there I don't rely on presence status at all, anyhow, the desktop version still presents user's status.



Anyhow, the reason for blogging about is to debate the usefulness vs. complexity of presence services. The telephony and VoIP is probably one of the biggest consumers for presence, mainly related to so called BLF (busy lamp fields), very common in the PBX world. Maybe an easy to implement in old PBX models, where each phone had a unique extension (number) associated with, the implementation complexity escalated in the VoIP/IP telephony world with the possibility of a user to have many devices for the same account.

Moreover, the rise of multi-tenant cloud-based PBX systems, the presence service became an issue of scalability as well. Behind presence service is a greedy data consumer, for each state change, there is a bunch of notifications going on behind:

  • either one from device to the server, then from server to many watchers (the contacts) - presence server model
  • or many from device to each of the watchers - end-to-end presence model
I think the main reason for shrinking presence services is the monetisation, or better said, the lack of it. If there would be enough financial benefits, the RTC providers will invest in it. Besides users not willing to pay for it (or not being used to pay for it), the free RTC networks out there cannot do much with data collected on this scope -- it is no much commercial value to know how many times you went from online to idle to do-not-disturb and back within a day. Texting on the other hand is where you share your needs or thoughts, the provider learns quickly you asked a friend for suggestions on a new gadget, so your next web browsing session has the adds waiting right there.

There is another reason that presence might be disabled on mobile apps -- background traffic to update the status, which affects both battery life and data usage. This issue could be eventually overcome by doing presence requests only when the contact is displayed, so I don't see it as the main reason for not offering presence.

The free messaging services space is so crowded that the cost of operations is crucial. Many services started with no real time presence (e.g., WhatsApp). Others are following now, more or less we see a movement like in the low cost airlines model - get rid of what is not making money directly, offer only the minimal!

Friday, June 23, 2017

Kamailio v4.3.7 Released

Kamailio SIP Server v4.3.7 stable is out – a minor release including fixes in code and documentation since v4.3.6. The configuration file and database schema compatibility is preserved.
Kamailio (former OpenSER) v4.3.7 is based on the latest version of GIT branch 4.3, therefore those running previous 4.3.x versions are advised to upgrade. There is no change that has to be done to configuration file or database structure comparing with older v4.3.x.
Important Note: v4.3.7 is the last official release from branch 4.3. Consider to upgrade to v4.4.x or 5.0.x as soon as possible to benefit of proper source code maintenance.
Resources for Kamailio version 4.3.7
Source tarballs are available at:
Detailed changelog:
Download via GIT:
 # git clone git://git.kamailio.org/kamailio kamailio
 # cd kamailio
 # git checkout -b 4.3 origin/4.3
Binaries and packages will be uploaded at:
Modules’ documentation:
What is new in 4.3.x release series is summarized in the announcement of v4.3.0:
Note: the branch 4.3 is becoming an unmaintained stable branch. The maintained stable branches at this moment are 4.4 and 5.0, with v5.0.2 being released out of the latest stable branch. Therefore an alternative is to upgrade to latest 4.4.x or 5.0.x – be aware that you may need to change the configuration files and database structures from 4.3.x to 4.4.x or 5.0.x. See more details about it at:
Thanks for flying Kamailio and enjoy the summer holidays!

Friday, June 16, 2017

Kamailio v4.4.6 Released

Kamailio SIP Server v4.4.6 stable is out – a minor release including fixes in code and documentation since v4.4.5. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio v4.4.6 is based on the latest version of GIT branch 4.4. We recommend those running previous 4.4.x 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 v4.4 branch.
Resources for Kamailio version 4.4.6
Source tarballs are available at:
Detailed changelog:
Download via GIT:
 # git clone git://git.kamailio.org/kamailio kamailio
 # cd kamailio
 # git checkout -b 4.4 origin/4.4
Relevant notes, binaries and packages will be uploaded at:
Modules’ documentation:
What is new in 4.4.x release series is summarized in the announcement of v4.4.0:
Note: the branch 4.4 is the previous stable branch. The latest stable branch is 5.0, at this time with v5.0.2 being released out of it. The project is officially maintaining the last two stable branches, these are 5.0 and 4.4. Therefore an alternative is to upgrade to latest 5.0.x – be aware that you may need to change the configuration files and database structures from 4.4.x to 5.0.x. See more details about it at:
Thanks for flying Kamailio!

Wednesday, June 14, 2017

Kamailio v5.0.2 Released

Kamailio SIP Server v5.0.2 stable is out – a minor release including fixes in code and documentation since v5.0.1. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio v5.0.2 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.2
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:
Thanks for flying Kamailio!

Wednesday, June 7, 2017

Kamailio Database Structure Description

The database tables created by Kamailio, along with the description of their columns, are documented in the tutorial available at:
If you haven’t read it so far, take a bit of time to check the details for the tables of the modules you are using. It can help to understand better the purpose of each field that you have to provision for Kamailio.
The database structure is created using kamdbctl, if you start now with it, guidelines can be found in the install tutorial:
Contributions to add more documentation for database structure are very appreciated. You can update xml files from source tree in src/lib/srdb1/schema/ and then make a pull request via Kamailio’s github.com project.
Thank you for flying Kamailio!

Friday, June 2, 2017

VSCode Syntax Highlighting For Kamailio.cfg

Visual Studio Code (VSCode) is an open source edition released by Microsoft, with a special focus for development. It is an Electron application, therefore it can run on many operating systems, including Linux and MacOS (hint: if you want to give it a try, be sure you disable telemetry reports in case you want strict privacy).
If you are using it for editing kamailio.cfg, you may consider installing the extension for syntax highlighting. It can be installed from VSCode marketplace:
or from github repository:
Editing kamailio.cfg should look like next image (on a dark blue theme).
If you are using a different editor, note that there are kamailio.cfg syntax highlighting extensions for VIM, MCEdit and Atom. Contributions for other editors or enhancements to existing ones are very welcome!
Thank you for flying Kamailio!

Monday, May 22, 2017

Kamailio World 2017: Videos Online

Video recordings for all the sessions at Kamailio World Conference 2017 were made available on KamailioWorld YouTube channel next day after the event. You can see them at:
The channel has now more than 120 videos from past Kamailio World editions, being a tremendous knowledge base showing various use cases for Kamailio and other VoIP platforms.
The slides will be collected from speakers and made available in the near future.
Enjoy!
Thank you for flying Kamailio!

Thursday, May 18, 2017

Siremis v4.4.0 Released

Siremis v4.4.0 is out – the web management interface for Kamailio SIP Server.

There were few changes to mark the last release compatible with Kamailio v4.x series. Future development will focus on compatibility with Kamailio v5.x.

Step by step installation tutorial, screenshots and demo are available on the web at:



Siremis is used during Kamailio Advanced Training classes for management of SIP server, a good opportunity to learn about Siremis itself, see more details at:

Friday, May 12, 2017

Blog Tutorial: Kamailio And Siremis Installation

Recently I discovered a tutorial written on Medium blogging platform by Igor Olemskoi, published about two months ago, covering Kamailio and Siremis installation, named “Kamailio SIP proxy — installation and minimal configuration example“.
It is a good reading for anyone fresh to Kamailio, providing guidelines to get started with a SIP proxy installation, along with Siremis web management interface.
Should you write any tutorial involving Kamailio, we are more than happy to share it with the community via the website. Just contact us via mailing lists! Ping us also if you are aware of any other resource that worth sharing.
Thank you for flying Kamailio!

Wednesday, May 3, 2017

Kamailio World 2017 – Ready For The Show

Just few days and the 5th edition of Kamailio World Conference & Exhibition starts. Two days and a half full with technical tutorials, presentations, open discussions and demos. With more participants than the previous edition, the event consolidates the ecosystem around Kamailio and other VoIP related projects and products such as Asterisk, FreeSwitch, Janus, Jitsi, OpenBaton, CGRateS, Homer Sipcapture, SIPVicious, RTPEngine, Zoiper or SEMS.
Along the event, Obihai, Telnyx, Digium, NG Voice, Core Network Dynamics and FhG Fokus will be present in the exhibition area showing demos of their services and products.
The topics span from VoIP/SIP-based platform scalability and security, to next generation emergency services, usage in broadcasting industry, 5G and IMS/VoLTE, IoT and WebRTC:
See you in Berlin next week!

Friday, April 21, 2017

Kamailio World 2017 – Student Grants

With a bit of delay, given that had to accommodate and accept some requests from the last year queue, I am glad to announces that we can offer two more seats at Kamailio World Conference, May 8-10, 2017, in Berlin.
Therefore we are continuing the program from last years, based on the roots and the tight relation of Kamailio project with the academic environment, the eligible people being students enrolled in universities or research institutes (both bachelor and PhD programs qualify) as well as people from underrepresented groups.
If you think you are eligible and want to participate, email to <registration [at] kamailio.org> . Participation to all the content of the event (workshops, conference and social event) is free, but you will have to take care of expenses for traveling and accommodation. Write a short description about your interest in real time communications and, when it is the case what is the university or the research institute you are affiliate to.
Also, if you are not a student, but you are in touch with some or have access to students forums/mailing lists, it will be very appreciated if you forward these details.
Time is short, we already received few requests based on my remark in a message sent out few weeks ago, therefore in a matter of days we will do the selection, so you have to hurry up a bit.
More information about Kamailio World is available on the web site:
Expect a full house event! Looking forward to meeting many of you in Berlin!

Thursday, April 20, 2017

New Kamailio Developer: Guillaume Bour

We would like to announce that Guillaume Bour (https://github.com/gbour) has now developer privileges on Kamailio’s gihub project. He has contributed recently a new module named keepalive – more about it at:
There is also a pull request from him waiting to be merge to drouting module, adding capability of detecting active/inactive gateways used by the module.
Thanks for the contributions so far and looking forward to collaborate in the future!

Tuesday, April 18, 2017

Kamailio Development IRC Meeting On April 20, 2017

A new IRC devel meeting to is planned in order to discuss the current major issues and the logistics around the project as well as the plans for next Kamailio releases.
The date is Thursday, April 20, 2017, at 14:00UTC (16:00 in Berlin, Madrid, Paris; 15:00 in London; 10:00 in New York, …).
A wiki page has been created for it, with more details about how to join the discussions and a draft agenda:
Everyone is welcome to participate, you just need an IRC client or a modern web browser.
You are encouraged to add there the topics that you want to be discussed and your intention to join the session in order to plan the schedule properly and estimate more accurately the duration.
Thanks for flying Kamailio!

Wednesday, April 12, 2017

Kamailio - New Developer: Mikko Lehto

Mikko Lehto has joined the developers group on Kamailio gihub project. He has made a lot of good pull requests over the time, specially to documentation and unit tests that could have been just committed directly without delay on waiting for a review, saving also time from the other developers.
Taking time to express my thanks for all his contributions so far and reviving those unit tests, and I am looking forward to future collaboration!
Thank you for flying Kamailio!

Tuesday, April 11, 2017

Kamailio Lists sr-users And sr-dev Migrated To lists.kamailio.org

All the mailing lists related to the Kamailio project are using now lists.kamailio.org as primary domain, including sr-dev and sr-users.
From now on, the emails to these mailing lists should be addressed to:
The previously used domain (lists.sip-router.org) should still work, being redirected to lists.kamailio.org, so existing mailing list discussions can go on as usual.
If anyone is encountering any problems or notices some information on kamailio.org that needs to be updated, do not hesitate to contact us.
In addition, the mailing lists URLs should use now HTTPS, browsing the archive with plain HTTP being redirected to HTTPS URLs.