Showing posts with label openser. Show all posts
Showing posts with label openser. Show all posts

Wednesday, June 12, 2013

Kamailio v4.0.2 Released

Kamailio SIP Server v4.0.2 stable is out – a minor release including fixes in code and documentation since v4.0.0 – configuration file and database compatibility is preserved.
Kamailio (former OpenSER) v4.0.2 is based on the latest version of GIT branch 4.0, therefore those running previous 4.0.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.0.x.
Resources for Kamailio version 4.0.2
Source tarballs are available at:
Detailed changelog:
Download via GIT:
 # git clone git://git.sip-router.org/sip-router kamailio
 # cd kamailio
 # git checkout -b 4.0 origin/4.0
Binaries and packages will be uploaded at:
Modules’ documentation:
What is new in 4.0.x release series is summarized in the announcement of v4.0.0:

Sunday, February 20, 2011

Kamailio 2010 Awards

Here we are, the 4th edition of Kamailio Project Awards, granted for activity during 2010.

The past year was full of events and achieved very important milestones set for our project. First of all was the release of version 3.0, the first as a result of the integration between Kamailio and SIP Express Router (SER), the two being since then one application - see more about 3.0 release here.

More over, another major release was done in 2010, v3.1, worked out by an enlarged development team, brought a big list of new features, including full asynchronous network communication (even TCP and TLS) - see more about 3.1 release here.

All together, 2010 was great, therefore the awards got two new categories - Innovation in Communications for those using Kamailio for services beyond voice and Academic Environment for using Kamailio in research and educational networks.

I was not able to list everyone I wished, trying to stick to the tradition of having each of the category with two winners, listed in alphabetic order. As a rule, I tried to choose people and companies that were not selected in the past editions, but of course I want to thank to everyone contributing to and using Kamailio during 2010.

Let the show begin...

Blogging:
Related Projects:
  • SEMS - (aka SIP Express Media Server) programmable and lightweight SIP back to back user agent and media server written in C++, offering features such as signaling B2BUA, Voicemail, audio conferencing, SBC, IVR, a.s.o. The project shares many developers of Kamailio and it has the roots in the same research institute as Kamailio and SER, FhG FOKUS Berlin, Germany. Web link: http://www.ipterl.org/sems/
  • SIP:Provider – full featured VoIP servicing platform using Kamailio for SIP routing, offering web management interfaces for administration and users. Among features: postpaid billing, call forwarding, call blocking, speed dial, voice mail, click-to-dial, peering, least cost routing - click here for more. Web link: http://www.sipwise.com/products/spce/
Technical Support:
  • Alex Hermann - one of the community members that spotted corner case issues and came with detailed report and patches most of the time. In addition he added enhancements to newly XAVP concept and provided straight answers on our mailing lists. Alex works for SpeakUp, Netherlands
  • Timo Reimann - omnipresent at our developer meetings and events as well as on our mailing lists. His development involvements brought many modules, such as dialog, to better structure. Timo works for 1&1, Germany
New Contributions:
Developer Remarks:
  • Carsten Bock - member of Kamailio Management team, working for Telefonica O2, Germany, Carsten worked lately a lot with dispatcher, dialog and usrloc modules, plus the newly started efforts to the IMS extensions.
  • Marius Ovidiu Bucur - the new developer landed in our project as a result of participation to Google Summer of Code. A student at Polytechnics University of Bucharest, working now part time for 1&1, Marius continued to contribute to Kamailio's SIMPLE Presence server, his latest work to this component focused on increasing the scalability (the code already in our GIT repository).
Advocating:
  • Fred Posner - I had the opportunity to meet Fred personally during the last year, a person that carries an amazing bag of experience in VoIP and security. Fred continuously helped in promoting Kamailio, on mailing lists, IRC channels and public events. Besides that, his baker skills are visible at amazing good looking and tasteful cakes by Dream Day Cakes (and yes, I did taste some of them during my last trip in USA, thanks Fred & Yeni - but just trust me, don't look to their site, after that it might be too late and it may cost you a lot by not being able to stop yourself keep ordering).
  • Olle E. Johanson - probably it is not really much to add about Olle, the VoIP Olle. However, last year Olle conducted super-human efforts to keep SIP world ahead in communications. Kamailio was always a part of that. I mention here only a few of them: SIPit in Stockholm (organized by Olle himself) where Olle and I setup Kamailio based TLS and IPv6 testbeds to be used by anyone attending there. His VoIP Forum articles kept heads up in regards to IPv6 and security in SIP, then, his involvement made possible the switch to SIP in the entire Portuguese educational network, running now about 300 pairs of Asterisk and Kamailio - deployment presented by Ruben Sousa at Astricon 2010.
VoIP Services:
  • Flowroute - early adopter of Kamailio, Flowroute, acting mainly as a SIP interconnect broker and providing quality VoIP routes, keeps pushing the SIP server towards innovation, always looking for better performances and proper security in regard to attacks and fraud detection. Flowroute is also actively involved in promoting Kamailio project, hosting related events at their premises. Web link: http://www.flowroute.com
  • XtraTelecom – Spanish telephony provider focused on enterprise market, offering SIP trunking services along with hosted PBX’s. With Inaki Baz Castillo in their team, member of Kamailio's management as well, XtraTelecom relies on a capable group of engineers that can only ensure quality of service. Web link: http://www.xtratelecom.es
Business Initiatives:
  • NG Voice - the team coordinated by Carsten Bock working with IMS extensions in Kamailio, also developing other IMS infrastructure applications. It is a new initiative with a lot of potential in business environment in the near future. Web link: http://www.ng-voice.com
  • TeamForest - every year, the number of companies offering Kamailio services is growing in USA. Knowing now them personally, TeamForest is another company that you can trust theirs skills in deploying Kamailio and offering professional support services. Web link: http://www.teamforrest.com
Events:
  • Cluecon - after missing the 2009 edition, being busy in that year to complete the integration between Kamailio and SER, the 2010 edition was amazing for me. In the first day only, Kamailio was present directly in 5 presentations (one by myself), plus a demo done by Phil Zimmermann using iptel.org sevice which runs SER flavour of our project. Purely amazing for me! I was able to catch up with many members of Kamailio community and FreeSWITCH developers. Web link: http://www.cluecon.com
  • LinuxTag - the event taking place in Berlin offered Kamailio the chance to have a booth at the exhibition and a presentation at conference track done by Henning Westerholt. All together we were about 15 Kamailio developers and community chatting with visitors, other open source developers and projects present there. Henning featured also an interview in German for RadioTux - listen the podcast here. Web link: http://www.linuxtag.org
Academic Environment:
Innovation in communications:
  • Ifbyphone - a provider of voice applications for customer interactions - relying on cloud based services to offer call tracking, dynamic inbound call routing with IVR screening, outbound call automation, virtual call center applications and a highly flexible family of API based integration tools. With two presentation at Cluecon by Irv Shapiro and Robin Rodriguez, they showed usage of Kamailio beyond the classic telephony (e.g., video of the talk Web Enabling Voice Applications with Kamailio). Web link: http://www.ifbyphone.com
  • NextIX - an innovation company that specializes in universally available information and communication technology solutions. At Astricon 2010, they presented “Asterisk, Kamailio, Openfire and Social Media Integration” - another way of using Kamailio for voice and beyond that. Web link: http://www.nextixsystems.com
As of Personal Facts related to the project, this time I want to underline the release of several complete tutorials, such as: integration with Asterisk or FreeSwitch, scanning attacks protection or SIP SIMPLE Presence server - see all of them at:
This is it for 2010. If you want to check the previous turn of awards:

Monday, September 27, 2010

Best of New in Kamailio 3.1.0 - #1: Interactive Config Debugger

Version 3.1.0 is just to be released, proposed date being October 6, 2010, that means about one week and a half since today. So it's time for the blog series to show what are the best of the new features to be introduced by this major release. Backed up by the biggest development team in the history of the project, 3.1.0 comes with a large set of new features, along with tighter integration between Kamailio (OpenSER) and SIP Express Router (SER) - the sip-router.org development project.

Let the show begin ...

One of the topics gathering complaints in the past was the complexity of debugging the config file. xlog module did the heavy work so far to help administrators understand how the processing of SIP traffic is going through the config file (I still consider xlog the best friend of config file writers, and it has some new goodies I will talk about them later).

Well, I guess this new features will make happy a lot of people: version 3.1.0 brings a new module, named debugger, providing an interactive configuration file debugger and printing of execution trace.

It allows to execute step by step the configuration file, discover which actions are involved in routing a particular SIP message and evaluate pseudo-variables in the context of that message. For those familiar with gdb tool, you can make a similar association. Tools like sercmd (command line tool, installed by default in the same location as Kamailio binary) or siremis (web management interface available at http://siremis.asipto.com) can be used to control the module with RPC, from same host or remotely.

How it works? You can tell Kamailio to stop before executing first line of config when a SIP message is received (also, you can set breakpoints at certain lines of your config). Then, via RPC commands, you can instruct to execute next action, evaluate a config variable or to execute all next actions. External applications such as sipsak or sipp can be used to inject a SIP message that is problematic, in order to debug it.

Let's look at an example: if calls set to you by a particular peering partner originating traffic from 10.0.0.10 are not routed properly, you can add at beginning for main routing route next lines:

if($si=="10.0.0.10")
dbg_breakpoint("1");

Then, when a call is sent from there, kamailio stops to execute the actions after dbg_breackpoint("1"); line. You connect with sercmd and see which kamailio process read it and issue dbg.pb next commands, walking step-by-step through the actions of config file.

You can see an example in the readme of debugger module, some snippets pasted next:
sercmd> dbg.bp show 6402
at bkp [/etc/kamailio/debugger.cfg:369] a=6 n=route

sercmd> dbg.bp next 6402
exec [/etc/kamailio/debugger.cfg:369] a=6 n=route

sercmd> dbg.bp eval 6402 $fu
$fu : t=str v=sip:test@kamailio.org
You will see each executed action for it and at each step you can print any config variable, helping to understand where is the problem in routing logic or content of SIP message.

Another useful feature of debugger module is printing execution trace. Unlike break-pointing, execution trace functionality does not stop the SIP message processing, but writes log messages with informative details about executed actions, such as config file name, line and action name. Here is an example:

9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=501 a=17 n=if
9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=470 a=25 n=has_totag
9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=386 a=17 n=if
9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=379 a=26 n=is_method
9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=386 a=25 n=t_check_trans
9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=389 a=6 n=route
9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=643 a=3 n=return
9(6285) ERROR: *** cfgtrace: c=[/etc/kamailio/debugger.cfg] l=393 a=26 n=remove_hf
This is quick and easy way to see the config actions execution path, from start to end.

Printing execution trace can be controlled at runtime, via RPC commands, without need to restart the SIP server, the admins being able to enable or disable it globally or per process.

Stay tuned for new posts of this series in the next days...

Friday, September 3, 2010

A piece of history: 9 years SER

Today are 9 years since first source code commit of SIP Express Router (aka SER) happened. It started with following three commits reported by git-log:

git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --reverse | head -3

512dcd9 Andrei Pelinescu-Onciul Mon Sep 3 21:27:11 2001 +0000 Initial revision
888ca09 Andrei Pelinescu-Onciul Tue Sep 4 01:41:39 2001 +0000 parser seems to work
e60a972 Andrei Pelinescu-Onciul Tue Sep 4 20:55:41 2001 +0000 First working release

Today, 3286 days later, it counts 14 200 commits only in development branch, estimated development cost over $8,000,000.

Some statistics about project evolution and development were made available on web site – click here to see them!

There are interesting facts about most productive time frames (i.e., hour, day, …), evolution of default configuration files, command line parameters, … IPv6 support is there since 2002, but no convenient public network to use it yet.

Enjoy and enhance the content as you have interesting aspects of history to add…

… and, VERY important, do not forget to start testing 3.1.0, we are in pre-release phase, there are a lot of new features you surely want on your production system:

http://sip-router.org/wiki/features/new-in-devel

Saturday, August 28, 2010

Cluecon 2010 Kamailio Presentations

I uploaded my presentation at Cluecon on the web site, link:
My one and a half day presence in Chicago was surprising good for kamailio and ser - people started to get the real value of the project and catch up with latest features.

Moreover, the first day had a lot of presentation with kamailio and ser (see agenda at: http://www.cluecon.com/schedule):
  • Phillip Zimmermann - did his demo with iptel.org sip service
  • Mahesh Paolini-Subramanya - a clould based system for telephony
  • Scott Burkett - back-end platform for web telephony
  • Robin Rodrigues - several nice examples using upcoming 3.1 addition: embedded http server
  • Irv Shapiro - ifbyphone platform - programmable telephony applications
  • I ended the list (the link above), no much left for me to say :-) , but I enjoyed chatting before a lot with folks in the breaks
Hopefully these presentations will be soon an event's site. I will try to publish more about each one, they were interesting use cases.

Tuesday, August 17, 2010

Testing phase for v3.1

The next major release for Kamailio (and SER), v3.1.0, is approaching. As of today, Aug 17, 2010, starts the testing phase. For about 1-1.5 months, the focus is on fixing bugs and tuning the new features added during the last development cycle.

Keep your eyes on following pages to learn how to upgrade from 3.0.x and know what is new in v3.1:

They are going to be updated to reflect properly next version.

Testing and feedback is very much appreciated, email us at:

sr-dev [at] lists.sip-router.org.

Wednesday, July 28, 2010

Two years Kamailio

On July 28, 2008, OpenSER project was renamed to Kamailio (email announcement), so here we are, two years later.

Being one of OpenSER co-founders and then leading Kamailio evolution after rename, I can say it was a hell of a time, with bad days in the beginning but fruitful and with happy end.

Soon after the fork, the developer that registered openser domain forked the project and redirected web site to its new toy (not to say he started (and is still) claiming that his new pet is openser -- well, check http://sourceforge.net/projects/openser/ - the OpenSER development portal hosted by SourceForge.net was created in May 2005 by myself, while the forked project hosted by same SourceForge.net is created in 2008, so no comment, you judge!).

Anyhow, so August 2008 found us in a complete mess. It was not only bad for our project, but a tough hit to Open Source telephony applications, the case being used by competition to suggest unreliability and high risk of using Open Source for major communication projects.

In such foggy time you cannot go in dirty fights, or at least is what I decided to do, I avoided answering stupid claims and statements -- would have been endless discussions, removing any kind of trust left.

Well, I did defend against some statements about members of Kamailio development team when were purely brainless attacks. As a matter of fact, the Kamailio development team was the real value.

OpenSER was at that time a good piece of software, could run for ages if you knew it to configure it properly. But the question was the future. With 5 out of 7 management people committed to continue with Kamailio, it was clear for me that it will succeed.

So, what to do in such time? How to go over a dirty fork? Calm down, focus on the future - even a kick in the back is a step forward - time will sort it out and reveal the truth.

Therefore we worked, worked worked - two years ago was a new beginning: new name (some didn't even like it then, changed opinion meanwhile), main web domain lost. What we achieved meanwhile? I would say not bad at all, see next:
The biggest thing for me was integration with SIP Express Router (SER) -- I was core developer of SER, involved from early days, until I joined efforts to create OpenSER (as a fork of SER). The two projects still shared lot of common code even after 3 years of different development paths, the target was still the same - flexible and rock solid SIP server. SER had lot of improvements to transport layers and performances, OpenSER had lot of extensions, therefore a combination of the two was natural and took us about 6 months to join the source code of the two projects.

Practically these days Kamailio and SER are the same application (it is same source code, hosted by http://sip-router.org) the difference is the database structure used to store phone profiles, routing info, a.s.o. This is possible by having many extensions for same purpose (e.g., user authentication). With the time, more extensions will be merged, for sake of easy development and maintenance.

At this time, Kamailio is a far better application than OpenSER 2008 - not based on cosmetic changes and buzz words, but real re-factoring where was needed. The devel team is very solid (we had three devel-dedicated face to face meetings since 2008) with broad experience (4 out of the 5 core developers of SER in 2002 are still active in project).

We know what we developed since 2001, we will continue to develop and offer the reference SIP server implementation out there - being it your choice of SER or Kamailio at this time.

Sunday, July 25, 2010

SL and AUTH modules merged

Finally I found the time to merge two important modules that existed in Kamailio (OpenSER) and SIP Express Router (SER):
  • sl - stateless reply functions
  • auth - common API for www digest authentication
Their importance is given by the usage from other modules. SL really required many other modules to be updated.

For both modules was not a simple code integration, but also addition of new features:
  • sl - ability to execute event_route[sl:filtered-ack] when an ACK to a SL reply is received
  • auth - refurbished pv_www_authenticate() and pv_proxy_authenticate()
For Kamailio (OpenSER) users, the new auth module brings many improvements in terms of security and performance, mainly related to one-time nonce and qop auth-int.

After this merge, several duplicated modules became easier to merge, targeting them before releasing 3.1.0. Stay tuned!

Wednesday, June 16, 2010

RadioTux.de - Henning Westerholt talking about Kamailio


Kamailio Project was present at LinuxTag 2010 with a presentation by Henning Westerholt and a exhibition booth.

During the event, Henning was interviewed by RadioTux.de, here you can find the recording (German):

Monday, June 14, 2010

Five years OpenSER

Today, June 14, 2010, marks five years since OpenSER project was announced. The announcement was done with the release of version 0.9.4 - the development portal hosted by SourceForge.net being created several days before: http://sourceforge.net/projects/openser/.

It started as fork of SIP Express Router (SER) branch 0.9.x, aiming to build an Open Source project that relies on community and encourages contributions. Over the years, it succeeded to build a stable and very attractive SIP server.

In 2008, under some claims of trademark infringement from an US company, OpenSER was renamed to Kamailio. In 2009, Kamailio received Best of Open Source Networking Software Award (BOSSIE'09) by InfoWorld magazine.

Kamailio and SER teams started to work together again from November 2008. As of January 2010, Kamailio v3.0.0 includes all features provided by SIP Express Router (SER), based on a joint effort of the two teams done under development portal http://sip-router.org.

These days, the two applications share the same source code, the difference is the database structure used to store subscriber profiles and routing rules.

Next major release, version 3.1.0 is scheduled for September 2010, bringing lot of new features, many for first time implemented in a SIP server.

Wednesday, June 2, 2010

Kamailio Presentation at LinuxTag 2010

Henning Westerholt will talk about Geographical Redundant VoIP Sytems with Kamailio, on Wednesday, June 9, 2010, 11:20am, at LinuxTag 2010, in Berlin, Germany.

The presentation is about designing and implementation of geographical redundant Voice over IP systems with the Kamailio SIP router. It goes through an overview about the 1&1 voice over IP backend, some performance requirements for carrier grade VoIP networks and real-world measurements.

Then are some key concepts for building a geographical redundant system are presented. This are for example partitioning of the user base and network load with different means like anycast IP and means of maintaining a shared database state for subscriber data and registration information. Finally some common problems in building bigger VoIP clusters and solutions approaches are discussed.

Saturday, April 17, 2010

Kamailio 3.0.x - DYK-01 - long strings

Break long strings

See also: Kamailio 3.0.x - DYK - Table of Content

You can break long strings in your config starting with Kamailio 3.0.0, by just closing the double quotes and opening new ones on the next line. For example:

xlog("this message is sent by caller [$fu], source address [$si], local interface [$ri], targeting user [$ru], server time [$Tf]\n");

Can be written as:

xlog("this message is sent by caller [$fu],"
" source address [$si], local interface [$ri],"
" targeting user [$ru], server time [$Tf]\n");

Super-duper for a guy like me liking old style 80 chars long line, config structure is much cleaner, easier to follow than with auto line wrapping.

It works everywhere in config, most used by me in xlog() and sql_query() functions. Enjoy!

Saturday, April 10, 2010

Users mailing list merged

As of April 10, 2010, users@lists.kamailio.org and sr-users@lists.sip-router.org have been unified. Although messages can still be posted to both addresses, the one to be primary is sr-users@lists.sip-router.org. You can subscribe or change options via web at:

Now the project is offering a single place for community discussions via email related to stable versions and generic topics, ensuring access to knowledgeable people from both Kamailio (OpenSER) and SIP Express Router (SER).

With the release of version 3.0.0, you can blend extensions from Kamailio (OpenSER) and SIP Express Router (SER) in same SIP server instance, having a common public forum for emails is a natural evolution step.

Friday, April 9, 2010

IRC Devel Meeting, Apr 14, 2010

Next IRC meeting for Kamailio (OpenSER) and SIP Router is going to take place next Wednesday, April 14, 15:00UTC. The channel is #sip-router on irc.freenode.net.

Manny members of development team announced the presence, you are welcome to join and participate to discussions. A draft agenda is available at:

Wednesday, April 7, 2010

Asterisk SIP Masterclass, April 19-23, UK

For first time in UK, Asterisk SIP Masterclass is a professional training program dedicated to Asterisk and integration with SIP Router (Kamailio/OpenSER). This class focuses on building a carrier-class scalable network architecture with Asterisk and Kamailio (OpenSER).

The course will be taught by two teachers that have all the insights you need to learn the details of Asterisk and Kamailio (OpenSER):

  • Olle E. Johansson - Asterisk SIP Developer and Kamailio (OpenSER) contributor
  • Daniel-Constatin Mierla - Kamailio (OpenSER) Developer and co-founder

Registration and more details at:

http://www.telespeak.co.uk/
http://www.telespeak.co.uk/course-detail.php?id=19

Saturday, March 20, 2010

Listen to VUC - The SIP Router Project

On March 19, 2010, starting at 16:00GMT, for more than 2 hours, VoIP User Conference was hosting a session about SIP Router Project and Kamailio 3.0.

You can listen to the podcast at:

The discussion was moderated by Randolph ‘Randy’ Resnick with participation of:

Do not forget the 24 hours Voipathlon, Friday next week, March 26, 2010:

Thursday, March 18, 2010

Kamailio Logo Artworks

Courtesy of Elio Rojano (http://www.sinologic.net) we got a series of logo artworks for Kamailio, using OpenSER and SIP Router thematics. Here is one.
You can browse gallery at:
http://www.asipto.com/gallery/v/ksr-artwork/

For download you can use as well:
http://www.kamailio.org/pub/ksr-artwork/

If you are good at graphic design and have new ideas for project's logos, please submit your work via email at users@lists.kamailio.org.

Wednesday, March 17, 2010

VUC - The SIP Router Project, March 19, 2010

March 19, 2010, 16:00GMT (09:00 US Pacific, 17:00 Paris, Berlin), VoIP Users Conference is hosting a session about SIP Router project, including presentation of what is new in Kamailio (OpenSER) 3.0.0.

You can join via SIP, Skype, PSTN and other dial in options.

See more details on the dedicated web page:

Wednesday, March 10, 2010

New look for Kamailio web site

Few days ago Kamailio (OpenSER) site got a new look, with a cleaner design and a comprehensive set of links in the right sidebar to make navigation to project resources straightforward:

http://www.kamailio.org

Here it is the first page screenshot:

Tuesday, March 9, 2010

Kamailio (OpenSER) v3.0.1 Released

The first patch release for 3.0 series is out as version 3.0.1. It includes the fixes to issues discovered since 3.0.0. Database structure and configuration file compatibility are preserved so the upgrade from 3.0.0 is straightforward.

Links and more details are available at:
http://www.kamailio.org/w/2010/03/kamailio-v3-0-1-released/