_
Home
Features
News
Download
Roadmap
Management
Contributions
License
Links
Contact Us
Related
EVENTS
VoIP Events
Past Events
SUPPORT
Documentation
Install
Mailing lists
Dokuwiki
Forum
VoIP Info
IRC Channel
DEVELOPMENT
SVN
Tracker
Project Page
Doxygen

Carrierroute Extensions In Kamailio 1.5 Print
Written by Daniel-Constantin Mierla   

2008-11-19
- a bunch of extensions introduced in carrierroute module...

Courtesy of Henning Westerholt and 1&1, carrierroute module got a bunch of new features that makes the module more flexible than ever and also fixed a few annoyances in the module usage:

1. Improved routing data loading

The module supports now the partioned loading of routing data during startup and reloads. In the past when one want to load big route set it was necessary to increase the private memory pool size, as the data was stored temporarily there. Now this is not necessary anymore, its possible to load route sets with e.g. 400.000 rules in the standard (private memory) configuration.

2. Efficient matching of domains and carriers

In the old implementation a simple linear list was used, this was replaced with a fast binary search function. The module can now look up carrier and domains in most cases with O(log n), which makes it more scalable when a big number of carriers and/ or domains are involved. Only when a dynamic string is used in the config script a full list search is needed.

3. Support for non-numerical prefix matching

Carrierroute now supports also the prefix matching with non-numerical characters. Its possible to use the entire standard ascii charset for route matching. This is configurable with a module parameter, the default implementation is still the know digit matching method. Please keep in mind that memory demands will increase somewhat when the extended matching is used. This additonal flexibility will probably bring a small overhead with it, as some additional logic is involved during the routing deciscion. But this will not be noticable on today standard servers.

4. Extensive refactoring and cleanups

Restructured and refactored the code in most areas, to make the module implementation and structure more understandable, maintainable and extensible. Replaced the usage of custom datatypes and fixup functions with the standard core implementation, switched to the autogenerated DB interface and use now standard glibc functions e.g. for the list search. Changed certain structures to not store the full name of carriers and domains in memory to save space and got finally rid of this mismatch between internal and external carrier ID.

More details about the new implementation can be found in the documentation at:

http://www.kamailio.org/docs/modules/devel/carrierroute.html


Porting hints, e.g. for the new database structure are provided at:

http://www.kamailio.org/dokuwiki/doku.php/install:1.4.x-to-1.5.0

FLASHNEWS

2008-12-25
- a great 2008, looking forward to a greater 2009 ... Happy New Year! ...

Read more...

2008-12-16
- Kamailio v1.4.3 is out - a minor release of the branch 1.4, including fixes since v1.4.2 - configuration file and database compatibility is preserved...

Read more...

2008-12-10
- check latest updates related to pseudo variables and transformations API...

Read more...

2008-12-09
- access the attributes of reply while processing the request and vice-versa using latest TM module ...

Read more...

2008-12-08
- new module that provides SQL operations in config file...

Read more...

2008-12-01
- Kamailio and 25th Chaos Communication Congress in Berlin...

Read more...

2008-11-24
- OpenSER v1.3.4 is out - a minor release of the branch 1.3, including fixes since v1.3.3 - configuration file and database compatibility is preserved...

Read more...

 


© .::Kamailio Project::.