Žilinská univerzita > Fakulta riadenia a informatiky > Katedra informačných sietí

Kamailio

Configuring Kamailio 4.x for WebSocket

Author: Patrik Formanek 2014


This tutorial instruct how to add the WebSocket support for your kamailio SIP server. As the prerequisities we need to have successfully installed and working kamailio server (described within several tutorials in this site, for example Installing Kamailio 3.1 within SIP/Kamailio section of this site).


As the first step we need to install websocket modules:

Kamailio configuration to provide load balancing and failover for media services

In many setups Kamailio is used as a PROXY server that takes care of routing calls to servers providing voice services, e.g. voicemail, IVR or conference calls.

There are a few things an administrator must keep in mind.

Kamailio Call establishment permission rules

This article talks about deploying permission control mechanism for call establishment in Kamailio SIP Proxy.

In many VoIP solutions, it is crutial to deploy numbering scheme and write down rules where users are/aren't allowed to call.
On top of that, a company can allow the people to call outside, for example to PSTN. The rules can change over time as well as the numbering scheme itself.

Enabling SCTP support in Kamailio 3.3.x - debian squeeze

Preprepared binary package of the Kamailio server hasn't enabled the SCTP support. You may check this on your running platform both ways:

First running kamailio command with -V options and checking the output for the sctp flag:

kamailio -V

or

kamailio -V | grep SCTP

and if nothing to see, there is no SCTP support enabled.

Second, using sercmd tool, but we have to load and enable ctl module in our kamailio.cfg. Then run

Kamailio 3.2 default routing logic flowchart

 This is the flowchart of Kamailio 3.2 default routing logic. The main purpose of this flowchart is to help you understand the routing logic and navigate through it more efficiently and quickly. It should also serve as a tool when you are trying to modify something.

Most routing blocks (mainly those in which routing can end (exit)) are displayed and organized.

Authors: Michal Javorka, Ján Hrnko, Martin Pohančeník

 

Installing SIREMIS 2.1.0 components

Siremis web interface provides opportunities to extend main functionalities with special components. However, these components requires additional configuration.

Prerequisities

Installed the Kamailio server with Mysql, installed siremis with apache following steps in the guide.

 

Installing SIREMIS 2.1.0, the Kamailio web management interface, on debian (squeeze) - how to

The article is based on the article Installing SIREMIS 2.0, the Kamailio web management interface, on debian (lenny) - how to. The installation is straighforward and is working for siremis 2.1 and Kamailio 3.2. 

Observed problems

Message "can't open cmp file to write"

RTP Proxy with Kamailio 3.2 configuration on Debian Squeeze

This guide describes Kamailio 3.2 configuration with RTP Proxy.

Requirements:

Installing Kamailio from GIT - debian lenny

In some situation is direct installation of precompiled kamailio packages from prepared repositories not appropriate. There is a simple way to keep a touch with latest kamailio releases with using GIT (an revision control system).  The article describe a simple way how to manually compile and install Kamamilio and its module from source code offered through GIT.

Install kamailio from GIT

Prerequisities

 

Installing and configuring Homer SIP capture server - debian 64b squeeze - howto

Description: Homer is an Open Source SIP Capture server by Alexandr Dubovikov & Friends, based on OpenSER/Kamailio and supporting HEPv1/v2 (Homer Encapsulation Protocol) & IP proto 4 (IPIP) encapsulation and monitoring/mirroring port capture modes. Homer ships with a flexible and lightweight capture agent for unsupported scenarios and a powerful browser based UI (webHomer).

Web:

http://sipcapture.org/

http://code.google.com/p/homer/

Syndicate content