Monday, December 25, 2017

Merry Christmas and Happy Holidays!

Here we are again approaching another end of the year, the 17th since the project was started. More than ever, the year of 2017 has been full of activity, both development and community interactions. We had two major releases, 5.0 in February and 5.1 few weeks ago in December – likely the year that brought most of new features ready for production from the history of the project. We are grateful to all developers and community members that contributed to all these efforts!
The 5th edition of Kamailio World happened in the spring of 2017, now we prepare for the 6th edition during May 14-16, 2018, in Berlin, Germany. We look forward to meeting many of the community members there!
Merry Christmas and Happy Winter Holidays!
Santa is flying Kamailio!

Tuesday, December 19, 2017

Kamailio v5.0.5 Released

Kamailio SIP Server v5.0.5 stable is out – a minor release including fixes in code and documentation since v5.0.4. The configuration file and database schema compatibility is preserved, which means you don’t have to change anything to update.
Kamailio v5.0.5 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.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.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.0 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:
Check also the details of next Kamailio World Conference, taking place in Berlin, Germany, during May 14-16, 2018. Call for presentations is now open!
Thanks for flying Kamailio!

Monday, December 18, 2017

Kamailio World 2018 – Call For Presentations

Submission of presentation proposals for Kamailio World 2018 is open. Deadline for submission is February 10, 2018, notification of accepted proposals will be done latest on March 01, 2018.
Be aware that interesting proposals can be accepted before the deadline, we plan to have two intermediate review sessions before February 10, 2018, announcing any accepted presentations immediately. Note also that at the previous edition there were more proposals than available slots and we expect to happen again this time. Therefore it is recommended to send your proposal as soon as possible, do not wait till deadline.
To submit the proposal, fill in the web form at:
The main topic of the conference is Real Time Communications, with the majority of the content being about Kamailio and other open source projects in the area. However, like for the past editions, we welcome very interesting presentations beyond those subjects.
If you are interested to look at the agenda from previous edition, visit:
Have a great time during the winter holidays! Looking forward to meeting many of you at the next Kamailio World!

Monday, December 11, 2017

Kamailio v5.1.0 Released

December 11, 2017Kamailio v5.1.0 is out –  a new major release, bringing new features and improvements added during about eigth months of development and more than one and a half month of testing.
In short, this major release brings 9 new modules and enhancements to more than 50 existing modules, plus components of the core and internal libraries as well as exported functions to embedded interpreters (KEMI framework) from more than 100 modules. Detailed release notes are available at:
This is the second major release in the series of 5.x.y versions. Besides adding plenty of new features, a lot of development was directed to export existing config functions to KEMI framework, most of them being now available to be used inside scripts executed by embedded interpreters, respectively by Lua, Python, JavaScript and Squirrel.
Enjoy SIP routing in a secure, flexible and easier way with Kamailio v5.1.0!
Thank you for flying Kamailio and looking forward to meeting you at Kamailio World Conference 2018!

Friday, December 1, 2017

Dispatcher Latency Stats Monitoring With Statsd

Julien Chavanton shared via Kamailio sr-users mailing list a Python script that helps monitoring dispatcher latency stats with statsd.
Latency stats for dispatcher were added by Julien during the development cycle of Kamailio 5.1 (this is the next major release to be out in about one week).
The sample script is attached, it will post data to statsd and is working in cron
The feature can be enabled :
You have to enable the latency stats in dispatcher via the module parameter ds_ping_latency_stats:
This is one use case of this feature, another one will be to load balance based on congestion detected on latency, a follow up on using it is planned for the future.
The Python script is:
#!/usr/bin/python
import subprocess
from time import sleep
import time

# URI: sip:10.10.1.1:5060
#0 FLAGS: AP
#1 PRIORITY: 12
#2 LATENCY: {
#3      AVG: 30.529000
#4      STD: 4.849000
#5      EST: 30.999000
#6      MAX: 1270
#7      TIMEOUT: 0

def server_stats(ip):
   idx = -1
   for line in dlist.splitlines():
      if idx == 5:
         est_latency = line.strip()
      if idx == 7:
         timeout = line.strip()
      if idx >= 0:
         idx = idx + 1
      if line.find("URI: sip:{}".format(ip)) > 0:
         idx = 0

   if timeout[:9] == "TIMEOUT: ":
      timeout_count = timeout[9:]
      cmd = "echo \"fastlink.timeout.{}:{}|g\" | nc -w 1 -u 127.0.0.1 8125".format(ip, timeout_count)
      subprocess.call(cmd, shell=True)
      print(cmd)
   if est_latency[:5] == "EST: ":
      latency = est_latency[5:]
      cmd = "echo \"fastlink.latency.{}:{}|g\" | nc -w 1 -u 127.0.0.1 8125".format(ip, latency)
      subprocess.call(cmd, shell=True)
      print("est latency:{}".format(latency))

servers = ["10.40.5.175", "10.40.2.233", "10.40.1.103"]
interval = 10
it = 0
while it < 6:
# while 1:
   ts = time.time()
   print("[{}]now:{}".format(it,ts))
   next_ts = ts + 10
   it = it + 1
   dlist = subprocess.check_output(["/usr/bin/docker","exec","kamailio","kamcmd","dispatcher.list"])
   for ip in servers:
      print(ip)
      server_stats(ip)
   ts = time.time()
   print("sleeping:{}".format(next_ts - ts))
   wait_ts = next_ts - ts;
   if wait_ts < 0:
      wait_ts = 7
   sleep(wait_ts)
You can see the message on the mailing list as well as the attached Python script at:
Thanks for flying Kamailio!

Wednesday, November 15, 2017

DID Routing Solution With Kamailio

Time for sharing details of another tutorial and configurations for a common Kamailio use case shared by community members, this time by Surendra Tiwari.
He has used the Kamailio and Redis to create a DID routing solution with following features:
  • Inbound Termination with Carrier IP validation
  • Carrier LCR for DID/TFN to PSTN forwarding
  • Inbound Abuse Block
  • CDR in MongoDB
  • IPTables Block for SIP Scanners
  • Integration with RTPEngine
  • RedisDB for quick DB Access
Guidelines and configuration files are shared via a Github repository:
Enjoy!
Thanks for flying Kamailio!

Sunday, November 12, 2017

Kamailio Git Branch 5.1 Created

The GIT branch 5.1 for Kamailio project has just been created, it will host the release series v5.1.x. To get this branch from GIT, you can use:
 git clone https://github.com/kamailio/kamailio.git kamailio
 cd kamailio
 git checkout -b 5.1 origin/5.1
Hopefully in two-three weeks time frame the full release of Kamailio v5.1.0 will be out.
From now on, any corresponding fix has to be pushed first to master branch and then cherry-picked to branch 5.1. No new features can get in branch 5.1. Enhancements to documentation or helping tools, as well as kemi exports are still allowed. If you are not sure about doing or not a backport, ask on sr-dev mailing list.
The master branch can now get new features, which will be part of the future 5.2.x release series.
Thanks for flying Kamailio!

Monday, November 6, 2017

ClueCon Weekly With Fred Posner

FreeSwitch project is running a weekly video conferencing call for many years now, named ClueCon Weekly. Kamailio project has been present several times in the past.
The edition from Wednesday, Nov 8, 2017, has Fred Posner as a guest. Long time Kamailio community member and advocate, Fred invites you to attend the session and be part of the discussions about Kamailio and FreeSwitch, how to use them together for building modern real time communication systems.
How to connect to the conference call is detailed at:
For video you need an WebRTC capable browser, but there are good options to connect only for audio, via SIP or even from PSTN or mobile phone — very convenient ways to listen while still working.
Thanks for flying Kamailio!

Thursday, November 2, 2017

OSS IRIS Broadcast Project Launched

Olle E. Johansson, a very long time community member and developer of Kamailio, has announced the launch of IRIS Broadcast Project, an open source radio broadcast software:
“”IRIS Broadcast is a project founded in Sweden to publish Open Source software for professional radio broadcast.
Our solutions are based on the EBU and IETF standards and are built for national public radio to manage our external contribution platform.””
Olle had a related presentation at Kamailio World Conference 2017 (video), talking about using Kamailio in radio bradcasting industry.
The code of IRIS project is published on Github at:
It includes the repository that shows how to configure Kamailio to use it as part of IRIS project:
With the inevitable phaseout of ISDN lines in the next years, SIP has been more and more adopted in the broadcasting industry, allowing open source RTC software to enter easier into this market.
Wishing all the best to IRIS project and looking forward to more usage of Kamailio beyond IP telephony.
Thanks for flying Kamailio!

Wednesday, November 1, 2017

FOSDEM 2018 – Call For Papers

FOSDEM is one of the world’s premier meetings of free software developers,
with over five thousand people attending each year. FOSDEM 2018
takes place 3-4 February 2018 in Brussels, Belgium
This email contains information about:
  • Real-Time Communications dev-room and lounge
  • speaking opportunities
  • volunteering in the dev-room and lounge
  • related events around FOSDEM, including the XMPP summit
  • social events (the legendary FOSDEM Beer Night and Saturday night dinners
  • provide endless networking opportunities)
  • the Planet aggregation sites for RTC blogs
Call for participation – Real Time Communications (RTC)
The Real-Time dev-room and Real-Time lounge is about all things involving
real-time communication, including: XMPP, SIP, WebRTC, telephony,
mobile VoIP, codecs, peer-to-peer, privacy and encryption. The dev-room
is a successor to the previous XMPP and telephony dev-rooms.
We are looking for speakers for the dev-room and volunteers and
participants for the tables in the Real-Time lounge.
The dev-room is only on Sunday, 4th of February 2018. The lounge will
be present for both days.
To discuss the dev-room and lounge, please join the FSFE-sponsored
Free RTC mailing list: https://lists.fsfe.org/mailman/listinfo/free-rtc
To be kept aware of major developments in Free RTC, without being on the
discussion list, please join the Free-RTC Announce list:
Speaking Opportunities
Note: if you used FOSDEM Pentabarf before, please use the same account/username
Real-Time Communications dev-room: deadline 23:59 UTC on 30th of November.
Please use the Pentabarf system to submit a talk proposal for the
dev-room. On the “General” tab, please look for the “Track” option and
choose “Real Time Communications devroom”.
Other dev-rooms and lightning talks: some speakers may find their topic is
in the scope of more than one dev-room. It is encouraged to apply to more
than one dev-room and also consider proposing a lightning talk, but please
be kind enough to tell us if you do this by filling out the notes in the form.
You can find the full list of dev-rooms at:
and apply for a lightning talk at
Main track: the deadline for main track presentations is 23:59 UTC
3rd of November. Leading developers in the Real-Time Communications
field are encouraged to consider submitting a presentation to
the main track at:
First-time Speaking?
FOSDEM dev-rooms are a welcoming environment for people who have never
given a talk before. Please feel free to contact the dev-room administrators
personally if you would like to ask any questions about it.
Submission Guidelines
The Pentabarf system will ask for many of the essential details. Please
remember to re-use your account from previous years if you have one.
In the “Submission notes”, please tell us about:
  • the purpose of your talk
  • any other talk applications (dev-rooms, lightning talks, main track)
  • availability constraints and special needs
You can use HTML and links in your bio, abstract and description.
If you maintain a blog, please consider providing us with the
URL of a feed with posts tagged for your RTC-related work.
We will be looking for relevance to the conference and dev-room themes,
presentations aimed at developers of free and open source software about
RTC-related topics.
Please feel free to suggest a duration between 20 minutes and 55 minutes
but note that the final decision on talk durations will be made by the
dev-room administrators based on the number of received proposals.
As the two previous dev-rooms have been combined into one, we may decide to
give shorter slots than in previous years so that more speakers can
participate.
Please note FOSDEM aims to record and live-stream all talks.
The CC-BY license is used.
Volunteers Needed
To make the dev-room and lounge run successfully, we are looking for
volunteers:
  • FOSDEM provides video recording equipment and live streaming,
    volunteers are needed to assist in this
  • organizing one or more restaurant bookings (depending upon number of
    participants) for the evening of Saturday, 3rd of February
  • participation in the Real-Time lounge
  • helping attract sponsorship funds for the dev-room to pay for the
    Saturday night dinner and any other expenses
  • circulating this Call for Participation to other mailing lists
Related Events – XMPP And RTC Summits
The XMPP Standards Foundation (XSF) has traditionally held a summit
in the days before FOSDEM. There is discussion about a similar
summit taking place on the 2nd of February 2018
http://wiki.xmpp.org/web/Summit_22 – please join the mailing
list for details: http://mail.jabber.org/mailman/listinfo/summit
Social Events And Dinners
The traditional FOSDEM beer night occurs on Friday, 2nd of February.
On Saturday night, there are usually dinners associated with
each of the dev-rooms. Most restaurants in Brussels are not so
large so these dinners have space constraints and reservations are
essential. Please subscribe to the Free-RTC mailing list for
further details about the Saturday night dinner options and how
you can register for a seat:
Spread The Word And Discuss
If you know of any mailing lists where this CfP would be relevant, please
forward this email. If this dev-room excites you, please blog or microblog
about it, especially if you are submitting a talk.
If you regularly blog about RTC topics, please send details about your
blog to the planet site administrators:
All projects http://planet.freertc.org – planet@freertc.org
XMPP http://planet.jabber.org – ralphm@ik.nu
SIP http://planet.sip5060.net – planet@sip5060.net
(Español) http://planet.sip5060.net/es/ – planet@sip5060.net
Please also link to the Planet sites from your own blog or web site as
this helps everybody in the free real-time communications community.
Contact
For any private queries, contact us directly using the address
fosdem-rtc-admin@freertc.org and for any other queries please ask on
the Free-RTC mailing list:
The dev-room administration team:
Saúl Ibarra Corretgé
Iain R. Learmonth
Ralph Meijer
Daniel-Constantin Mierla
Daniel Pocock

Tuesday, October 31, 2017

FUSECO Forum 2017

The 8th edition of FUSECO Forum conference is organized by Fraunhofer Fokus Institute in Berlin, during Nov 9-10, 2017:
The event’s chairman is once again Prof. Dr. Thomas Magedanz, from TU Berlin and Fraunhofer Fokus.
This year’s event will again feature three dedicated tracks consisting of tutorials and interactive workshops on the first day, namely:
  1. Multi-access Network Technologies in 5G-Ready Networks
  2. 5G Edge and Core Software Networks and Emerging 5G Applications
  3. Network Virtualization and Network Slicing for 5G-Ready Networks
The second day features a full-day conference uniting these topics under one umbrella „The 5G Reality Check: 5G-Ready Applications and Technological Enablers for 5G Implementation“.
Daniel-Constantin Mierla, co-founder Kamailio project, will participate to the event, being part of the panel “Practical Experiences in Moving to NFV Infrastructures and Open Challenges” during the first day. The agenda of the two days is available at:
Fraunhofer Fokus is the place where Kamailio Project was started back in 2001 (as SIP Express Route, aka SER), a research institute in next generation communication technologies. If you want to learn about what’s going to happen next in RTC, this is a must attend event.
Besides using it in research projects, Fraunhofer Fokus Institute keeps close to Kamailio project, hosting and co-organizing all the editions so far of Kamailio World Conference.
Thanks for flying Kamailio!

Wednesday, October 25, 2017

Kamailio v5.0.4 Released

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

Monday, October 23, 2017

Kamailio Autumn Events Summary

Time flies, feels like just returning from summer vacation, but it’s already past the mid of autumn and Kamailio members and community member have been present at several event world wide.
After Cluecon in Chicago, USA, which ended the summer events in August, it was the time for TADHack Global 2017, running two rounds during Sep 22-24 and Sep 29-Oct 1.
IIT RTC Conference happened during Sep 25-28, 2017, in Chicago, hosted as usual by the Illinois Institute of Technology.
Astricon 2017 (Orlando, FL, Oct 3-5) was a big hit for Kamailio project, a good location and great time meeting many kamailians and friends from the VoIP world.
November is rather busy, next are the events where you can meet people from Kamailio project:
New events may be added to the list, keep an eye on our website!
Should you participate to a local or global event and involve Kamailio in some way, contact us, we are more than happy to publish an article about the event.
Thanks for flying Kamailio!

Wednesday, October 18, 2017

AstriCon 2017 Remarks

The 2017 edition of AstriCon was very intense, or at least it was for me (Daniel-Constantin Mierla, Asipto) and the Kamailio presence at the event. Three days without any time to rest!
Before summarising the event from personal perspective, I want to give credits to the people that helped at Kamailio booth and around. Big thanks to Fred Posner (The Palner GroupLOD), he did the heavy lifting on all booth logistics, from preparing required things in advance, setting up the space, banners and rollups, stickers, a.s.o. Of course, Yeni from DreamDayCakes baked again the famous Kamailio and Asterisk cookies, very delicious bits that people could taste at our booth.
Carsten Bock from NG-Voice was there with his Kamailio-VoLTE demos and devices. Torrey Searle’s giveaways from Voxbone were very popular again. Alex Balashov from Evariste Systems ensured that anyone in doubt understands properly the role of Kamailio in a VoIP network and the benefits of using it along with PBX systems. Joran Vinzens from Sipgate completed our team, being around as we needed.
It was a great time to catch up with many friends, VoIP projects and companies in the expo area, sharing the space with Dan Bogos from CGRateS project, chatting with the guys from Obihai, IssabelPBX, FreeSwitch, Janus WebRTC Gateway, Simwood, Bicom, Homer Sipcapture, Telnyx, Greenfield…
There were four presentations by the people at the booth — I, Carsten, Fred and Joran had talks on Wednesday or Thursday. On Tuesday, I, Fred and Torrey participated to AstriDevCon, as always a very good full day session with technical debates, with Mathew Friedrikson and Matt Jordan coordinating and talking about what’s expected next in Asterisk.
Close to the end of the event on Thursday, it was the open source project management panel, with me among the panelists. Being completely warmed up and with some pressure from James Body, I also did the Dangerous Demos, where the Ubuntu Phone decided to reboot as I was on stage, leading me towards the Riskiest Demo Prize (aka Crash & Burn). Carsten and Torrey did dangerous demos as well, with Carsten being the runner up on one of the tracks, which secured him a nice prize as well.
Kamailio related presentations will be collected at:
I expect that recordings of the sessions will become available in the near future from the organizers of Astricon.
During the breaks and evenings, I enjoyed amazing time with friends and kamailians around the world. It’s no time to bore with people such as James Body, Simon Woodhead, Susanne Bowen, David Duffett, Nir Simionovich, Lorenzo Miniero … and many others that I miss to remember at this moment…
Definitely it was one of the best AstriCon ever, credits to Digium and the organizing team! Kamailio had a great time there, see you at the next editions!
Thanks for flying Kamailio!

Tuesday, October 17, 2017

Development For Kamailio v5.1 Series Is Frozen

A short note to mark the freezing of development for Kamailio v5.1 series.
For few weeks, no new features will be pushed in the master branch. Once the branch 5.1 is created (expected to happen in 3-4 weeks from now), the master branch becomes again open for new feature. Meanwhile the focus is going 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.1 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.1.0 – likely by end of November should be out.
What is new in current master branch comparing with previous stable series (v5.0.x) will be collected at:
Changes required to do the update from v5.0.x will be made available at:
Helping with testing is always very appreciated, should you find any problem in current master branch, just open an issue on bug tracker from:
Thanks for flying 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!