Tuesday, December 15, 2009

Best of New in Kamailio 3.0.0 - #1: include file

I'm starting a series of posts, to highlight the best new features in Kamailio (OpenSER) 3.0.0, of course, from my point of view, hoping to cover most of them before full 3.0.0 is out (RC3 was done yesterday).

First one to write about is the include_file support. Over the time, with addition of new features, the config file got bigger and bigger. Being in consultancy business, I have hundreds of config files and deployments to maintain. In terms of structure, there are some parts repeating in most of configs, like:
  • sanity checks
  • authentication
  • nat traversal
  • presence handling, a.s.0.
Every time I did an improvement, I had to update in all configs. Now, using the include_file, maintenance is much easier. Practically, you can break down the config in many files and have the master config just including them. For example, split of sanity checks:

kamailio-sanity.cfg:

if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
}
if ( msg:len >= 8192 ) {
sl_send_reply("513", "Message too big");
exit;
}
if ( is_method("NOTIFY") && uri==myself
&& $hdr(Event) =~ "keep-alive" )
{
sl_send_reply("200", "OK - keepalive");
exit;
}

Now, at the top of main route block in each config, I include the 'kamailio-sanity.cfg' file:

kamailio.cfg:

...
route {
include_file("kamailio-sanity.cfg");
...
}
...

Next is going to be about #!define support, which completes perfectly the include_file feature to ease the maintenance, troubleshooting and development of config files.

Monday, December 14, 2009

Kamailio v3.0.0-RC3

Kamailio v3.0.0-RC3 is out - last release candidate before full 3.0.0 major version - the tarball with sources of Kamailio 3.0.0 RC3 is available at:

http://www.kamailio.org/pub/kamailio/3.0.0-rc3/src/kamailio-3.0.0-rc3_src.tar.gz

Kamailio Logo

Lot of fixes to packaging, code and documentation have been committed since RC1, Kamailio 3.0.0-RC3 becoming ready for pre-production phase.

If you like to work with soucre, then use the tutorial guiding the installation of Kamailio 3.0 branch from GIT repository:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git

Two wiki pages were created to collect what is new in Kamailio 3.0 and how to migrate to this version:

http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x

http://www.kamailio.org/dokuwiki/doku.php/install:1.5.x-to-3.0.0

Feel free to contribute to wiki pages, helping to build migration tutorials.

This is the last RC before full 3.0.0 relase. Please report any issue you find to sr-dev at lists.sip-router.org.

Wednesday, December 2, 2009

Daily tarballs for 3.0 branches

Thanks to Andrei, daily snapshots of sr_3.0, kamailio_3.0 and sr master branches can be downloaded from:

http://sip-router.org/tarballs/sr/

Note that new tarballs are generated only if there are changes for the corresponding branch (so if you don’t see a tarball with today’s date it means there was no change from the previous one).

The tarballs are generated via make tar, which makes sure the correct repository version will be included in the compiled binary (make tar generates first autover.h before creating the archive).

Monday, November 16, 2009

SIP Router Masterclass - Nov 2009, Berlin - remarks

The timing was perfect for this SIP Router Masterclass. In the first day, Berlin was celebrating the 20th anniversary of Wall fall, therefore the weekend before was full of public events.

Like every time, we had good distribution of students' origins, with people from Austria, Croatia, South Africa, France, Greece and of course Germany. The training room was delivered to us in German style, everything ready at the first hour Monday morning - computers for each student, network, projector, snacks and beverages - we being left to mount our SIP devices.

The evenings gave the opportunity to talk around German beers and sausages about the challenges SIP and VoIP face now, issues of the real world deployments and upcoming Kamailio 3.0 release.

Soon I should have some photos to upload.

Thursday, November 5, 2009

Kamailio Pronunciation

Looking at kamailio.org front page, I saw the links to Alison Smith's pronunciation of "Kamailio", which makes it sound nice and clear in English, although there are people saying it is not easy to do it.
Listening is believing:



Stay tunned for Kamailio 3.0.

Wednesday, November 4, 2009

Social Networking Event, Berlin, Nov 2009

Several folks working with Kamailio, SIP Router, SER, OpenIMSCore, SEMS and Asterisk are in Berlin next week, so we are going to have a dinner (or beer) meeting Thursday, 19:00, Nov 12, 2009. If happens that you are around and want to join, please send me (miconda [at] gmail.com) an email to make sure you get a seat. As usual for this kind of event, free participation with everyone paying for himself/herself.

Just to have an idea about how it could be, see some photos from previous similar events:

From private discussions so far, we should be already about 10 people, confirmed including myself, Olle E. Johansson (Asterisk) and Elena-Ramona Modroiu. There is a lot to celebrate, from integration work within SIP Router Project to upcoming Kamailio 3.0 (now RC1).

Tuesday, November 3, 2009

Vim syntax file for Kamailio 3.0


I updated the vim syntax file for Kamailio 3.0 and SR3.0/devel. There is now as well a script to auto-detect the type of .cfg file based on matching compatibility string (i.e., #!XYZ), loadmodule or main route line.
To install, copy the files in your home dir (see the hints inside each file to know which one to place where):


If you don't install the file type detect script, then you can use ":setf ser" once you opened the config file.

Friday, October 30, 2009

Kamailio v3.0.0-RC1

Kamailio v3.0.0-RC1 is out - first release candidate for a new major version ...

The tarball with sources of Kamailio 3.0.0 RC1 is available at:

http://www.kamailio.org/pub/kamailio/3.0.0-rc1/src/kamailio-3.0.0-rc1_src.tar.gz

Target of release candidate is to ease the usage and testing. It is a version with a huge set of new features and enhancements, the first one using the SIP Router core framework, thefore we focus on heavy testing.

There is also now a tutorial to guide the installation of Kamailio 3.0 branch from GIT repository:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git

Two wiki pages were created to collect what is new in Kamailio 3.0 and how to migrate to this version:

http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x

http://www.kamailio.org/dokuwiki/doku.php/install:1.5.x-to-3.0.0

Both documents still need a lot of care since many new features are missing or are not detailed, and definitely update guidelines do not cover all changes. Anyone can contribute and that is very much appreciated.

As we keep hunting and fixing issues, improve documentation, I hope to get to full release Kamailio 3.0.0 very soon. Enjoy RC1 meanwhile and report any issue you find to sr-dev at lists.sip-router.org.

Install Kamailio 3.0.0 from GIT

Just published a new a tutorial to guide the installation of Kamailio 3.0.0 from GIT repository:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git

This is a wiki page, open for improvements to everybody.

Now it is the time of release candidate, with full 3.0.0 to be out soon, but the tutorial is going to be valid for all releases numbered 3.0.x

Thursday, October 22, 2009

Kamailio v1.5.3 Released

A new release in 1.5 series was published yesterday. Kamailio (OpenSER) 1.5.3 is based on the latest version of branch 1.5, including many fixes in code and documentation, therefore those running 1.5.0, 1.5.1 or 1.5.2 are advised to upgrade.

Source tarballs are available at:

http://www.kamailio.org/pub/kamailio/1.5.3/src/

Detailed changelog:

http://www.kamailio.org/pub/kamailio/1.5.3/ChangeLog

Download via SVN:

svn co https://openser.svn.sourceforge.net/svnroot/openser/branches/1.5 kamailio

Tag for this release can be browsed at:

http://openser.svn.sourceforge.net/viewvc/openser/tags/1.5.3/

Project site at SourceForge.net (still using old name):

http://sourceforge.net/projects/openser/

Binaries and packages will be uploaded at:

http://www.kamailio.org/pub/kamailio/1.5.3/

Modules' documentation:

http://www.kamailio.org/docs/modules/1.5.x/

What is new in 1.5.x release series is summarized in the announcement of v1.5.0:

http://www.kamailio.org/mos/view/Kamailio-OpenSER-v1.5.0-Release-Notes

Note: Kamailio is the new name of OpenSER project. First version under Kamailio name was 1.4.0. Older versions will continue to use OpenSER name. The source tree for current development version is hosted by SIP Router project, you can test it via:
http://sip-router.org/wiki/migration/kamailio-3.0-config

Next major release, Kamailio 3.0.0, with lot of new features and many improvements, is planned very soon, about the date of October 29, 2009.

Wednesday, October 21, 2009

Roadmap to Kamailio 3.0.0

I announced the plan to release Kamailio 3.0.0 next Wednesday or day after (October 28 or 29). With some delays, testing is going fine in my side, still some bits to be done, here is what I collected:
- taking in consideration $du updates in branch route
- import fixes from sr_3.0 branch
- complete core statistics and handling of drop reply

I believe is feasible, in the worse case we can package it at respective date and allow a bit more time for testing, but we unfreeze code and can go for new development. I encourage people to start writing migration documents.

Wednesday, October 7, 2009

SIP Router Development Meeting 2009 - Overview

The event was organized by FhG Fokus Institute, the place where was written first line of code for SIP Express Router (SER) and implicit of Kamailio (OpenSER).

Going through hot topics and discussions, we tried to solve current issues and to set the direction of development for next year.
Meeting Agenda

* Release of sip-router
* Short name selection
* Conflict resolution
* SEMS Advertisement
* Project Infrastructure

Participants
* Ancuta Onofrei
* Dragos Vingarzan
* Jan Janak
* Andrei Pelinescu-Onciul
* Bogdan Pintea
* Stefan Sayer
* Jesus Rodriguez
* Henning Westerholt
* Daniel-Constantin Mierla
* Grzegorz Stanislawski
* Ramona-Elena Modroiu
* Marcus Gotzl
* Markus Hunger
* Jiri Kuthan
* Christian Kaiser
* Bogdan Harjoc

Saturday, October 3, 2009

Podscast: Suzanne and I about Kamailio and Open Source VoIP

The day before SIP Router Devel Meeting in Berlin, I had very interesting Skype discussion with Suzanne Bowen about the VoIP environment today and Kamailio SIP Server project.

We could have talked for hours, Suzanne is the best at catching any new breed in IP communication world. Before ending we planed to record a short podcast (well, instead of 10min we got 14min) trying to look at best of past year:
  • releases and development
  • Best Open Source Networking Software 2009 award by InfoWord
  • sip router project
  • upcoming Kamailio 3.0
You can find the potcast at:

http://www.didx.net/podcast/?p=episode&name=2009-10-01_miconda_2009oct1.mp3

Should you be interested in learning how you can use Kamailio SIP server to build scalable and cost effective SIP/VoIP solutions, consider attending the Kamailio Masterclass, a professional training program taking place in Berlin, Germany, Nov 9-13, 2009, more details at:

http://www.asipto.com/index.php/sip-router-masterclass/

Thursday, October 1, 2009

Astricon 2009

Astricon 2009, the annual Asterisk conference, takes place in Glendale, AZ, October 13-15.

Saúl Ibarra has a talk "Asterisk, Instant Messaging and Presence: how?", touching the topic of integrating Asterisk and Kamailio (OpenSER) to get SIMPLE presence. A session that is worth to attend and discuss about with Saúl.

He is very active in IP communication and Kamailio world, with interests in SIP and virtualization, involved in SIPdoc.net project, developer of YASS and blogger.

Thursday, September 24, 2009

What is wrong with VoIP word?

Travels, talks and telephony! There is "a thing" thrown from a corner to the other, enabling fear for some, hope for others. That is VoIP and clear is misused.

Bloggers around the world chopped every news about VoIP providers failure -- let's not give names, searching web will reveal important Telcos or famous venture-capitalist backed up operators closing their VoIP offerings.

Therefore something is wrong, what the heck? Everywhere I get the technology is heavy used. But hated in the same time. In my opinion it started with the way VoIP was brought to the market, since everybody contributed to it and mixed the technology with the service, building FUD, thus confusing environment.

Simply and in first place, VoIP is a telephony technology, on the same layer as TDM, ISDN. Not a service. The operator must not go to enterprise and end user selling VoIP, they must keep selling telephony plus new services. Digital telephony came as added value against analog telephony by allowing dynamic interaction via DTMF and more features to PBX-es. That was one of the attractions that made it worth to deploy and successful.

Today the operators simply fail to present the advantages VoIP brings to customers. In addition, Telco and Mobile operators perform anti-promoting actions to VoIP and they rely on it more than others for backbones and even to end customers -- just that they say it is either IMS based service or what so ever NGN-service.

Therefore I think everyone should review how they show VoIP. If I would be Telco or Mobile operator I would stop saying VoIP provides no QoS, is insecure, a.s.o. Simply that harms them, and I do it with every occasion asking what is what they use to route international calls, what is their new service based on, ...

So, they admit doing VoIP, but on private, secure network. Here we are! What they should better say? Telephony services on VoIP over public network cannot ensure YOU, the end user, QoS, security (well, here lot to debate, but not the scope of this post) and everything else they consider being atu of doing VoIP over their walled-garden infrastructure.

Pure VoIP service providers did the big mistake of advertising VoIP as service, and even worse, free service, thus they cut the main revenue stream, trapping themselves in traffic generation for termination, strongly tied to Telcos, rather than new services business. While a I see it "free as in speech" and not "free as in bear". The freedom I see is I, the customer, have the liberty to choose my terminal and use what ever functionality I like from what VoIP enables.

Everyone should promote what VoIP enables YOU, the customer, to access hell-out of many new services, like presence, instant messaging, video, integration with social networking sites, mobility, multiple identities on the same wire, a.s.o.

First, the average guy does not care what is VoIP. He needs to communicate and businesses should focus on that demand. Look at car manufacture, nobody promotes the technology behind new models, but the better fuel consumption figures, speed and acceleration, a.s.o. -- exactly what the end user cares about.

I, on the other hand, go to operators and sell VoIP solutions. And say, hey, VoIP is the technology to build the future of telephony, showing benefits of new services, maintenance costs, etc. I must promote the technology and scream in all direction VoIP, VoIP, VoIP.

Wednesday, September 23, 2009

Kamailio - amazing autumn

It is very encouraging that the businesses around the project are growing and development speeds up. In the last days there were two requests for Kamailio specialists, so, if you are one of them and willing to work in Germany or Austria, within dynamic teams in challenging markets, check these posts were I summarize the announcements from Kamailio mailing lists.

- jobs at 1&1 Germany

- jobs at Sipwise Austria

Autumn moves forward with couple of events related to the project where you can meet people engaged in the project and learn how you can use Kamailio for various IP communication services:

- VoIP2Day, Madrid, Spain, Sep 24-25, 2009

- SIP and IMS for Next Generation Telecoms Forum 2009

- SIP Router Devel Meeting, Berlin, Germany, Oct 2, 2009

- Astricon 2009, Arizona, USA, Oct 13-15, 2009

- Training - Kamailio SIP Masterclass, Berlin, Germany, Nov 9-13, 2009

All these together with planned release of Kamailio 3.0 in October and further developement of SIP Router core framework announce an amazing autumn ahead.

Monday, September 21, 2009

SIP and IMS for Next Generation Telecoms 2009

On short notice, I will present Understanding SIP/VoIP Architecture Design at SIP and IMS for Next Generation Telecoms 2009, September 23-25, Berlin, Germany.

The presentation is held on Sep 23, 11:30, focusing on:

  • Optimising next generation SIP networks
  • Planning and implementing new SIP functionalities
  • Using SIP for prepaid systems and internet telephony platforms
  • Integrating load balancing and session border control
If you are in Berlin during the event and want to meet, send me an email at miconda [at] gmail.com .

Wednesday, September 16, 2009

Book: SIP Security

I had it from quite some time now, really enjoyed reading it, so time for blogging it.


First, all authors are former fellows at FhG Fokus Institute, Berlin, Germany and most of them tight involved in SIP Express Router from day one. So this is not something written upon theoretical research and concepts but upon years of hands on experience with SIP networks.

Having technical background, I found interesting the blending of cryptographic mechanisms, security concepts and applicability to SIP networks. Everything needed to fully understand the book is inside.

For me, it is important to mention that lot of scenarios and solutions are exemplified with SIP Express Router, project I was involved pretty much from its beginning, from where I started Kamailio (OpenSER) back in 2005 and I met again last November within SIP Router project.

The foreworld from Philip Zimmermann really synthesize the security concerns about VoIP and SIP. Shortly, the main chapters:
- introduction to cryptographic mechanisms
- introduction to SIP
- introduction to IMS
- secure access and interworking in IMS
- user identity in SIP
- media security
- denial of services attacks on VoIP and IMS service
- spam over IP telephony

The chapter about DoS attacks is comprehensive, covering over 15 type of attacks. I will blog in more details about the chapters I find most interesting for me.

The book is available on Amazon UK:
http://www.amazon.co.uk/gp/product/0470516364/

There you can see complete table of content. A dedicated site for SIP security and this book is put up together by authors at:
http://www.sipsecurity.org/

Tuesday, September 15, 2009

Kamailio Jobs at Sipwise, Vienna, Austria

Sipwise is currently hiring a VoIP System Administrator for an interesting position based in Vienna, Austria.

You have strong skills in Linux system administration (Monitoring and Alerting using SNMP/Nagios/Cacti/MRTG, Scripting in Perl/M4/sh), a deep understanding of highly available system deployments and good knowledge regarding SIP (preferably Kamailio, Sems, Asterisk)?

Sipwise offer you a challenging position to help our team further improving our Kamailio-based Class5 Softswitches, deploying them at customer sites and supporting our customers (large DSL and Cable Providers throughout Europe) and sales teams with technical details.

If you are interested, please send email to Andreas Granig, agranig [at] sipwise.com

Monday, September 14, 2009

SIP Router Development Meeting 2009

Next SIP Router Project Development Meeting coordinates:

Date: Friday, October 2, 2009

Place: Berlin, Germany

The event is co-hosted by FhG Fokus Institute and Technical University Berlin at following address:

FhG Fokus, Room 1008
Kaiserin-Augusta-Allee 31
10589 Berlin
- see venue of the location


Among the goals of the meeting:

  • analyze the development and progress so far
    • Kamailio (OpenSER) and SER integration is 99% completed
    • first major release based on SIP router – Kamailio 3.0 – is due in one month – during October
    • OpenIMSCore extensions ready to use with SIP router core
    • what was good and bad?
  • find solutions for conflicting modules and namings
    • database table structures
    • database table names
    • module names
  • future directions
    • versioning and releasing policies
    • targets for next year
  • organizational aspects
    • infrastructure
    • management
  • social networking and business environment

The participation is free of charge for anybody upon registration via short email at:

registration [at] lists.sip-router.org

this being required for proper dimensioning of meeting room and needed logistics. Registration must be done before September 28, 2009.

Who you can meet there:

Who should consider participation:

  • people willing to get a close feeling about project development
  • people willing to understand how and when SIP Router can be used
  • people willing to meet face to face with the others acting within SIP Router project environment

Agenda:

  • developer slot: presentations from developers
  • community slot: presentations from community and business representatives
  • open discussions
  • social networking event

Hacking day:

  • if there is interest from developers, the days before the public meeting can be organized as hacking session, where you get your hands dirty and code around the project. Do not forget to mention your interest in such event!

You can address general questions about the event via email to:

sr-dev@lists.sip-router.org

More details to follow soon! Stay tuned!