
- me (hehe, first, I am the rock star in my blog :-) )
- Henning Westerholt
- Elena-Ramona Modroiu
- Marius Zbihlei
- Olivier Taylor
- Dan Bogos
- Olle E Johansson (still to be confirmed)
Blogging about Kamailio SIP Server, Asterisk, FreeSWITCH, SIP, WebRTC, VoIP and more...
A new E-Learning class about SIP Router Configuration File is due to start on February 8, 2010. Registrations are accepted up to February 5, 2010.
The class duration is six months and gives the opportunity to learn the structure of configuration file and how to write it properly. Lessons are applied to Kamailio (OpenSER) and SIP Router SIP servers, touching VoIP security and scalability.
Kamailio (OpenSER), now at release v3.0.0, is an open source SIP server, awarded Best of Open Source Networking Software 2009 by InfoWorld magazine, used world wide in VoIP platforms servicing millions of active subscribers and routing billions of call minutes per month.
Target attendees:
Use the contact form for registration details.
A new version of SIREMIS Web Management Interface for Kamailio (former OpenSER) is available as v1.0.0.
Siremis enables straightforward management of subscriber profiles, least cost routing and load balancing rules, communication at runtime with Kamailio, displays monitoring charts. You find detailed list of feature at:
v1.0.0 is a major release introducing many new features:
Download and installation steps:
http://siremis.asipto.com/install/
Some screenshots specific for this version:
http://www.asipto.com/gallery/v/siremis/siremis_22.png.html
http://www.asipto.com/gallery/v/siremis/siremis_23.png.html
http://www.asipto.com/gallery/v/siremis/siremis_24.png.html
More screenshots:
http://www.asipto.com/gallery/v/siremis/
Demo site (it works on a database with random data, username: admin, password: admin):
...For more see module's readme:
modparam("htable", "htable", "acalls=>size=8;")
...
route {
...
if(is_method("INVITE") && !has_totag())
{
# a new call
if($shtcv(ht=>^$fU$)>=3)
{
send_reply("403", "limit exceeded");
exit;
}
$sht(acalls=>$ci) = $fU;
t_on_failure("NEW_INVITE");
}
if(is_method("BYE"))
{
$sht(acalls=>$ci) = $null;
}
...
}
failure_route[NEW_INVITE] {
$sht(acalls=>$ci) = $null;
}
Several days ago I came across this interesting article describing how to use Kamailio as carrier grade Least Cost Routing engine and FreeSWITCH as SBC, it is almost one year old, but very well maintained.
First it shows how easy is to integrate both applications to solve demands. Then, although some features offered by those applications overlap, their main target differ, therefore they complete rather than compete.
I am using FreeSwitch pretty much for any new b2bua and voice related application I have to add to my SIP servicing solutions, but still when comes to SIP signaling handling, Kamailio is the king, no mater is about SIP packets mangling, registrar and user location, load balancing or least cost routing.
Overall, it is important to value the blending of open source applications, no matter is Asterisk, FreeSwitch or Kamailio, to build outstanding services and solution. I do not believe in "one size fits all" and most troubles reported out there to each of those projects are due to misuage - trying to do everything with one application, even for functionalities they were not designed for.
#...
modparam("xmlrpc", "route", "XMLRPC");
#...
route[XMLRPC]{
# allow XMLRPC requests only on TLS and only if the client
# certificate is valid
if (proto!=TLS){
xmlrpc_reply("400", "xmlrpc allowed only over TLS");
return;
}
if (@tls.peer.verified!=""){
xmlrpc_reply("400", "Unauthorized");
return;
}
if (search("^User-Agent:.*xmlrpclib"))
set_reply_close();
set_reply_no_connect(); # optional
dispatch_rpc();
}
$sercmd core.sctp_infoIntegration of SIP with SS7 networks should be pushed forward by availability of this SCTP implementation in the Open Source space. Also I expect more and more big SIP platforms to migrate internally to SCTP, mainly because of reliability and high availability features offered by this transport layer.
{
opened_connections: 0
tracked_connections: 0
total_connections: 50007
}
$ sercmd core.sctp_options
{
sctp_socket_rcvbuf: 54784
sctp_socket_sndbuf: 54784
sctp_autoclose: 180
sctp_send_ttl: 32000
sctp_send_retries: 0
sctp_srto_initial: 3000
sctp_srto_max: 60000
sctp_srto_min: 1000
sctp_asocmaxrxt: 10
sctp_init_max_attempts: 8
sctp_init_max_timeo: 60000
sctp_hbinterval: 30000
sctp_pathmaxrxt: 5
sctp_sack_delay: 200
sctp_sack_freq: 0
sctp_max_burst: 4
}
The module can query in many servers in parallel and use the first answer , ensuring just few milliseconds to query the remote server and return the reply to the configuration script. Runtime management can be done via Kamailio's control interface (e.g., via XMLRPC, FIFO file, UDP or TCP sockets).
event_route[htable:mod-init] {Then you can pull the number of SIP requests from a different application, like web admin portal.
$mct(10.10.10.10) = 0;
}
route {
...
if(snd_ip==10.10.10.10)
$mcinc(10.10.10.10) = 1;
...
}
This time the testing phase was a bit longer way than usual, but the achievements pay the bill - you can run Kamailio (OpenSER) and SIP Express Router (SER) modules at the same time, as well as most of the core features from both applications.
Proposed date to release Kamailio (OpenSER) 3.0.0 is the 11th of January. If you are aware of issues in branch 3.0, report them to:
sr-dev [at] lists.sip-router.org
I encourage everyone to contribute to wiki pages for what is new and migration from 1.5.x:
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
To get upcoming 3.0.0 from GIT and test, see:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git
I started to detail some of the new features in blog posts, see ToC at:
http://bit.ly/4qy9cn
A great 2010 for kamailians and sip router users!