Table of Contents
SIP Router - New features in development version
The page collects the summary of the new features in SIP Router development version.
This source tree branch will result in release 3.1.0.
Current stable branches are 3.0
- sr_3.0
- kamailio_3.0 - Kamailio (OpenSER) 3.0.0 was released Jan 11, 2010
New SIP Router modules
app_lua
- execute embedded lua scripts
- you get access to SIP message processed at that time
- several internal SIP router functions are exported to Lua as well
app_python
- execute embedded python scripts
- you get access to SIP message processed at that time
geoip
- perform lookups based on IP against a local geoip database
- resulted attributes are available in pseudo-variables
- support to perform many lookups and store the results at the same time
mtree
- load db tables in shared memory indexed on tree based on prefix key
- fast lookup for keys like DIDs
- can manage many trees at the same time
pipelimit
- limit traffic based on different algorithms
- spawned by reusing parts of ratelimit module
- available in branch tmp/pipelimit
New in Old SIP Router modules
pv
- new pv class to get access to timeval attributes (seconds and microseconds)
- $PV(u) - microseconds (cached)
- $PV(s) - seconds (cached)
- $PV(un) - microseconds (not cached)
- $PV(sn) - seconds (not cached)
- $PV(Sn) - string with sec.usec
- new pv class to get access to next hop address attributes
- $nh(u) - uri
- $nh(U) - username
- $nh(d) - domain
- $nh(p) - port
- $nh(P) - protocol
uac
- can perform registrations to remote SIP servers
- user profiles are loaded from database at startup
- the registrations are automatically refreshed before expiration
- cfg function to lookup local user based on contact address
xlog
- new function xlog([level], text) - print cfg line before log message
- new function xdbg(text) - print cfg line before log message