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.

Tuesday, January 20, 2009

Kamailio (OpenSER) 2008 Awards

I have published the second edition of Kamailio (OpenSER) Project Awards - it covers year 2008:

http://miconda.wordpress.com/2009/01/19/kamailio-openser-2008-awards
/

Previous year can be found at:

http://miconda.wordpress.com/2008/01/30/openser-2007-awards

Friday, January 16, 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 ...

Thursday, January 15, 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.

Monday, January 12, 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/