Showing posts with label srouter. Show all posts
Showing posts with label srouter. Show all posts

Thursday, September 10, 2009

SIP Router: Apply Changes to SIP Message in Config File

One of the most discussed architectural aspects of configuration file was the way changes done to received SIP messages are handled – even new headers are added, old are removed or different parts of message were updated, the changes were not immediately visibile.

The latest GIT repository includes a new config function – msg_apply_changes() – exported by module textops from modules_k folder. Once this function is used, all changes done up to that point are applied and further processing within config will see the new message content.

The new function can be used only in request route for now. Be carefully when using it, since it changes the expectation you had so far of always working on initially received SIP message. Once the function is used, initial content is lost forever. As it builds a new buffer and re-parses, it is not very recommended to use it extensively.

Example of usage:

append_hf(”My-Header: yes\r\n”);
if(msg_apply_changes())
{
# msg buffer has a new content
if(is_present_hf(”My-Header”))
{
# will get always here
}
}

Readme of the module:

http://sip-router.org/docbook/sip-router/branch/master/modules_k/textops/textops.html

The functionality will be part of upcoming Kamailio (OpenSER) 3.0 release.

Tuesday, July 21, 2009

Blog by MiConDa

I started this new blog by importing the stories of one of my active blogs:
http://openser.blogspot.com

The plan is to unify my blogs here, therefore shortly I will import entries from:
http://miconda.wordpress.com

OpenSER blog is no longer appropriate as the project changed the name in Kamailio, last year, July 28. More over, development of the SIP server project is hosted by sip-router.org , making possible to run Kamailio (OpenSER) and SIP Express Router (SER) extensions on the same SIP server instance. Kamailio 3.0 (planned for late September this year) will be a boost in performances and features.

The other blog hosted by wordpress.com was kind of mirror for most important news about the SIP server projects and stories about project environment, linux and life. Not much active and pretty unsync'ed. So I decided to unite them.

Why "by-miconda"? Well, miconda is taken (not active though) on blogger.com, but is the nickname I used so far. Blogger offers the export blog functionality, thus I could import entries from OpenSER blog in a minute. Importing them in wordpress.com would have taken ages. On the other hand, the stories to be imported from wordpress.com are few and can be done with copy&paste.

blogger.com offers option to rename the blog, but openser.blogspot.com worth to stay around a while.

These being said, expect here:

Thursday, July 16, 2009

Roadmap to Kamailio (OpenSER) 3.0

The roadmap to next major release of Kamailio (OpenSER), codenamed 3.0, was sketched during IRC meeting Jul 07, 2009, as:

- freezing in 1-1.5 months

- 1-1.5 months testing

- release by end of September/ beginning of October

Right now, current development state is:

- all but one module (seas) were updated to work with the new core

- several addons in kamailio core and tm still to be included in GIT master branch

- many new features developed: mecached, event_route, xml doc handling … see:

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

All of you are invites to test, startup guidelines can be found at:

http://sip-router.org/wiki/migration/kamailio-3.0-config

You can send feedback at: [sr-dev (at) lists.sip-router.org]

Wednesday, July 15, 2009

Kamailio (OpenSER) v1.5.2 Released

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

Source tarballs are available at:

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

Detailed changelog:

http://www.kamailio.org/pub/kamailio/1.5.2/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.2/

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.2/

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

Saturday, July 11, 2009

Two more modules updated

Two of the last three modules that were not ported to use the new sip router core are ready now: nat_traversal and siptrace.

Particularly, siptrace was refurbished a lot. Before release, there are couple of new features that should get in trunk since sip route core offers support for such extensions:

- ability to filter the ACK for negative replies issued by sl module in the script

- ability to store stateless forwarded messages (now only stateful ones being stored)

Testing is very much appreciated, see guidelines at Kamailio 3.0 Config wiki page.

Friday, May 15, 2009

SIP Router Ready for Testing

The period of SIP Router integration phase is more and more approaching the end. Apart of 4 modules that are not integrated yet from Kamailio - seas, siptrace, uac_redirect and nat_traversal (work being undertaken) — the rest of 88 modules are ready for http://sip-router.org core.

There is now a page to collect guidelines for the default Kamailio configuration file used with sip-router. We invite all of you to test it, not only this one, but your private configs as well.
http://sip-router.org/wiki/migration/kamailio-3.0-config

Feel free to add to the wiki page or post questions about it to sr-users@lists.sip-router.org. This is a new list created for users of sip-router project, you can subscribe to it at:
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

At this stage, sip router can be used with modules from both Kamailio (OpenSER) and SER projects, mixed in same instance at the same time. Therefore you can choose the best ones that fit your needs. For Kamailio (OpenSER) users there is a page that tries to collect new features they got from SER side (still a lot to add there, hope ser developers will contribute what they find missing). Another page collects links for ser and kamailio users to find what the other project brings:
http://sip-router.org/wiki/migration/new-features-for-k-users
http://sip-router.org/wiki/features/inherited-features

It was not only integration work in the past months, sip router has quite a bunch of brand new feature. The wiki page to collect the summary is available at:
http://sip-router.org/wiki/features/new-in-devel

Jan just set online documentation portal, available for web browsing:
http://sip-router.org/docbook/sip-router/branch/master/

Common modules are located in directory ‘modules’ while kamailio and ser specific modules can be found under module_k and modules_s. Project’s wiki portal got also good content and it is under heavy work — note that everyone can contribute to wiki:
http://sip-router.org/wiki

Couple of core and tm features are not yet integrated or not exactly as they were in Kamailio. Please report the ones you are missing in your config at:
http://sip-router.org/wiki/devel/kamailio-integration#tm_and_core_extensions

It is the place that should set the priority rank for integration. I hope that in 1-2 months time frame to get into beta stage and prepare a stable release.

Many thanks for those that allocated resources to make things evolve to this stage and many thanks in advance for those that will start testing and help improving the sip router project.

Thursday, May 14, 2009

SIP Router Online Documentation

Thanks to Jan, automatically generated HTML documentation from docbook documents stored in the git repository is available at

http://sip-router.org/docbook/sip-router/branch/master/

This is all the docbook documentation that we currently have in the repository, including the documents under doc, modules, modules_k, modules_s, and lib subdirectories.

The HTML documentation is updated automatically upon changes in the git repository.

Tuesday, May 5, 2009

Amoocon 2009 Presentation

Slides presented at Amoocon 2009, Rostock, Germany, are now available at:

http://sip-router.org/pub/events/2009-05-Amoocon/2009-amoocon-sip-router.org.pdf

The two day event, although Asterisk centric, brought many people from different projects and technologies around SIP and VoIP. Very interesting talks about integration with web and social networking, SS7 or database clustering.

Thursday, April 30, 2009

SIP Router Development Project Suggestions

There is a new page in the wiki with suggestions for some interesting sip-router related development projects. The list can be found here.

These are mostly Jan Janak’s personal suggestions, things that he considers nice-to-have
or interesting (and which he kept on his todo lists for far too long). Anyone is encouraged to add new proposal or comment existing ones. As of now, most of them would make nice projects for students.

If you are a student, or if you supervise students, or if you are interested in working on some of the topics then, please write to sr-dev@lists.sip-router.org. We’d be happy to help you get started and provide some initial implementation guidance.

Selection from the list:

Wednesday, April 29, 2009

Kamailio v1.5.1 Released

Kamailio v1.5.1 is out - a minor release of the branch 1.5, including fixes since v1.5.0 - configuration file and database compatibility is preserved...

A new release in 1.5 series is out. Kamailio 1.5.1 is based on the latest version of branch 1.5, including many fixes in code and documentation, therefore those running 1.5.0 are advised to upgrade.

Source tarballs are available at:

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

Detailed changelog:

http://www.kamailio.org/pub/kamailio/1.5.1/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.1/

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.1/

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.

Tuesday, April 28, 2009

More Amoocon 2009

Kamailio (OpenSER) and SIP-Router presence at Amoocon 2009

Amoocon (former AsteriskTag) 2009 will take place in Rostock, Germany, May 04-05, 2009.

Kamailio (OpenSER) and SIP-Router.org projects will be largely presented at the event by talks and case studies of:

If you are around Berlin the days before the event or in Rostock during the event and want to meet, send an email to: miconda [at] gmail (dot) com

Wednesday, March 11, 2009

New Module MemCached

Courtesy of Henning Westerholt, a new module was added to the repository - 'memcached'. It allows to connect to a memcached server and supports following operations:

  • add key
  • get key
  • delete key
  • atomic operations

The operations can be done directly in the configuration file via pseudo-variables.

Further details can be found in the module documentation:

http://kamailio.org/docs/modules/devel/memcached.html

Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic applications by alleviating database load.

Monday, February 9, 2009

FOSDEM2009 - Photos

First 2009 Kamailio(OpenSER) and SIP-Router.org meeting happened in Brussels, Belgium, Feb 7, during FOSDEM 2009. Some photos are available at:

http://www.asipto.com/gallery/v/FOSDEM2009/

We had couple of interesting discussions:

- scalability - combined with MySQL track, everyone was interested in how to increase the performance and integrated better what latest MySQL offers in terms of HA and replication, good input from Henning Westerholt based on experiences with 1&1’s 2 000 000 users platform

- programmable presence server - with idea and large interest of SipWise and Andres Granig

- media services - nice talks with Olle E. Johansson and Stefan Sayer

- light b2bua - pushed on the table by Alexander Dubovikov

Probably next meeting will be the SIP-Router.org integration meeting.

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.