Kamailio Advanced Training
Click here for more details!

Learn how to build RTC services with Kamailio!

Thursday, January 29, 2009

Kamailio (OpenSER) 1.5.0 - Code frozen

Count down to Kamailio (OpenSER) 1.5.0 started on Jan 28, 2009. It is time for heavy testing and prepare the release with the biggest boost in features since 2005 when OpenSER was launched.

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

Target date for release is end of February, 2009.

Wednesday, January 21, 2009

SIREMIS Project Launched

Asipto SRL has launched the SIREMIS Project, aiming to build web management interface for Kamailio (OpenSER). Later will follow also the sip-router.org project.

Under management of Elena-Ramona Modroiu, the project was developed so far by Asipto - http://www.asipto.com - using OpenBiz PHP framework — the target was to make it easier to extend for non-web developers. Soon, the project sources will be hosted on sourceforge.net SVN (project name: siremis).

Homepage of the project is:
- http://siremis.asipto.com

The first beta release is available for download and includes the features:

  • subscriber, database aliases and speed dial management
  • location table view
  • dispatcher, prefix-domain translation and least cost routing (lcr) management
  • access control lists (user groups) and permissions management
  • accounting records, missed calls and call data records view
  • hash table, dial plan table and user preferences table management
  • off-line message storage view
  • it was tested with MySQL but should support other sql-like DBs

Internal design:

  • developed on top of a framework: PHP/Web2.0/Ajax
  • XML Metadata driven extensions
  • Model-View-Controller (MVC) architecture

You can see some screenshots at:
- http://siremis.asipto.com/photos/siremis-screenshots/

For few days, a demo site can be accessed at:
- http://siremis.asipto.com/demo/
- username: admin and password: admin

Download and installation details:
- http://siremis.asipto.com/install/

We hope you will enjoy it and help to extend it. The plan is to release first stable version more or less at the same time with Kamailio (OpenSER) 1.5.0.

Monday, January 19, 2009

Kamailio (OpenSER) 2008 Awards

Second edition of the awards, with a different project name and new categories. The projects grows, therefore the eco-system is bigger. 2008 had some unpleasant surprises, but also lot of good things happened. They are the subject of this post. Like last year most of the categories got two winners, listed in alphabetic order.
Blogging:
Related projects:
  • SIP-Router.org – newly launched collaboration initiative between Kamailio (OpenSER) and SIP Express Router (SER). Gathering together the developers of the two SIP servers, SIP-Router offers the reliability for a long term project development, providing the best features from both applications. Web Link: http://sip-router.org
  • WeSIP – SIP and HTTP Convergent Java Application Server developed by Voztelecom. Day by day, building innovative services and integration with Web2.0 becomes more and more important for SIP world. Wesip is one of the tools that allows you quick development of Java applications for VoIP and SIP. Web link: http://www.wesip.eu
New Contributions:
Technical Support:
  • Adam Linford – again, very supportive on Kamailio (OpenSER) web forum hosted by VoIP User. Web link: http://www.voipuser.org
  • Inaki Baz Castillo – very active member on project’s mailing lists. Recently he has become a registered developer, publishing the module ‘regex‘.
Advocating:
  • Henning Westerholt – active participation with talks and presentations to many events related to the project, many times sponsored by himself. He has become member of Kamailio (OpenSER) management board during 2008.
  • Juha Heinanen – for his entire activity inside project and web space: management, code contribution, web interviews. He is member of Kamailio (OpenSER) management board.
Events:
  • A1 Innovation Days – enthusiastic development spring hosted by A1 (Austrian Mobile Operator) to write extensions based on and using open source applications. Web link: http://www.a1innovations.at/
  • Asterisk Tag – German-European event primarily focusing on Asterisk PBX, having guests from leading open source VoIP projects. Web link: http://www.asterisk-tag.org.
Products and services:
New business initiatives:
  • Evariste Systems – A provider of engineering and systems integration solutions in the VoIP service provider and carrier space. Web link: http://www.evaristesys.com
  • VoIP Embedded – consulting company specialised in providing custom VoIP SIP based solutions. Web link: http://www.voipembedded.com
This is it for 2008. If you want to check the last year top, visit:
http://miconda.wordpress.com/2008/01/30/openser-2007-awards
New suggestions and comments are welcome as always.

Thursday, January 15, 2009

Send SIP Messages From Config File

You can initiate SIP messages from Kamailio (OpenSER) configuration file ...

uac module provides a new function that allow sending sip requests from configuration file:

- uac_send_req()

http://kamailio.org/docs/modules/devel/uac.html#id2467912


It opens the door for a new bunch of things you can do now. I can think of now:

1) send IM alerts on special events

route { 
$uac_req(method)="MESSAGE";
$uac_req(ruri)= "sip:alert[at]kamailio.org";
$uac_req(furi)="sip:server[at]kamailio.org";
$uac_req(hdrs)="Content-Type: text/plain\r\n";
$uac_req(body)="SIP request from:" + $si + ":" + $sp;
uac_send_req();
}


2) turn lamps on for some sip phones on some events - e.g., snom:

http://wiki.snom.com/Features/LED_Remote_Control


3) talk server-to-server - here one example can be building a platform with a central server for accounting. Accounting is done at 200ok. So each routing server will build a csv list (time,callid, from tag, to tag, invite from uri, invite r-uri):

onreply_route[1] {
  if(status!="200")
    return;
  $uac_req(method)="ACCOUNTING";
  $uac_req(ruri)="sip:store[at]accounting.kamailio.org";
  $uac_req(furi)="sip:server[at]server1.kamailio.org";
  $uac_req(hdrs)="Content-Type: text/accounting-csv\r\n";
  pv_printf($uac_req(body), "$TS,$ci,$ft,$tt,$T_req($fu),$T_req($ru)");
  uac_send_req();
}


note that $T_req() is given by tm module, also with Kamailio trunk:

http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:devel#tm_module_pseudo-variables


The accounting server:

route{
  # you should check the source IP also
  if(method=="ACCOUNTING" && $rU="store")
  {
       sql_query("ca",
             "insert into accounting(timeval,callid,ftag,ttag,src,dst) values ('$(rb{s.select,0,,})','$(rb{s.select,1,,})', ...)",
             "ra");
      send_reply("200", "Stored");   
  }
}


... and you can put your imagination work ... there are plenty of new and cute features you can add on your service with this functionality ...

Wednesday, January 14, 2009

FOSDEM 2009 - Social Networking Event

Meet us at FOSDEM 2009 - first Social Networking Event in 2009 will be in Brussels, Feb 7.

Several Kamailio (OpenSER) developers will attend FOSDEM 2009:
http://fosdem.org/2009/

Therefore is the opportunity for first Social Networking Event in 2009. Everyone interested in Kamailio (OpenSER), SIP Router, SIP Express Router (SER), SIP and not only are invited to join -- participation is free, everybody pays for its expenses. The event is very likely to be a dinner on Saturday evening, Feb 7, 2009.

So far, from Kamailio (OpenSER) community you can meet there:


In order to know properly the size of the place we need, please drop me an email (miconda [at] gmail (dot) com) if you intend to attend. People knowing Brussels are welcome to suggest a nice place to meet (good beer and food are a must).

Looking forward to meeting you in Brussels.

Sunday, January 11, 2009

Approaching Kamailio (OpenSER) 1.5.0

The preparations for releasing a new major version, 1.5.0, will start on Jan 26, 2009

The Kamailio (OpenSER) project approaches the time for a new stable version:

http://www.kamailio.org/dokuwiki/doku.php/development:release-policy

Proposed date to freeze the code is: Mon, Jan 26, 2009. It will follow about one month of testing and then the new version will be out.

There is a lot of new development since last major release 1.4.0, check a summary at:

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

AFAIK, before release, 2-4 new more module are going to be introduced and couple of existing modules extended. This is a notification for all users and developers (existing or upcoming) to finish the work before the freezing date if they want to get their code in Kamailio (OpenSER) 1.5.0.

The 1.5.x series will be the last to use the current core. Next releases will be based on SIP Router project:

http://sip-router.org/