Installation

This is a short installation howto for Debian Lenny (stable).

Install the DNS-Server

If you are running the DNS on your own machine then edit the file /etc/dhcp3/dhclient.conf and uncomment this line:

prepend domain_name_servers 127.0.0.1;

Copy the open-ims DNS file to the bind folder:

cp open-ims.dnszone /etc/bind/

Add these lines to /etc/bind/named.conf.local:

zone "open-ims.test" {
              type master;
              file "/etc/bind/open-ims.dnszone";
};

You will need to restart bind for these changes to take effect.

/etc/init.d/bind9 restart

Check that this all works. Try a ping and see if you get a response:

ping pcscf.open-ims.test

(I will add an example dnszone file-later)

This installation howto is taken from here: http://uctimsclient.berlios.de/openimscore_on_ubuntu_howto.html

Installation of the Kamailio-IMS-Packages

First, install the Key for this repository:

wget http://repository.ng-voice.com/ngvoice-debian-gpg.key
apt-key add ngvoice-debian-gpg.key

Then add the repository to your “/etc/apt/sources.list”:

deb http://repository.ng-voice.com lenny main contrib non-free
deb-src http://repository.ng-voice.com lenny main contrib non-free
then update the repository:
apt-get update

Install the modules:

apt-get install kamailio kamailio-ims-modules

(for the I-CSCF please also install the  kamailio-mysql-modules, for the P-CSCF the RTPProxy)

For I-CSCF you will also need a database structure:

mysql -uroot -p < icscf.sql

(on the database server)

Copy the required config to kamailio.cfg (e.g. pcscf.cfg), adapt the config to your needs (change “ng-voice.com” and the IP to your domain/IP, please remember also the escaped versions of the domain and the IP, e.g. “pcscf\.ng-voice\.com). For components with Diameter-Interface (e.g. I-/S-CSCF) you will need to modify the according XML-files, e.g. “pcscf.xml”).

Finally, you should edit the “/etc/default/kamailio”-File, in order to run the component.

Now the Component should be able to start:

pcscf:/# /etc/init.d/kamailio start
Starting kamailio: kamailioloading modules under /usr/lib/kamailio/modules:/usr/lib/kamailio/modules_s:/usr/lib/kamailio/modules_k
Listening on
           udp: 109.239.50.67:5060
           tcp: 109.239.50.67:5060
Aliases:
           tcp: pcscf:5060
           udp: pcscf:5060
           *: pcscf.ng-voice.com:5060

And voila: Your component is running!

Installation of the FHoSS

Note: You will need to add the “non-free” packages to your repository:

deb http://ftp.de.debian.org/debian lenny main non-free
deb http://security.debian.org/ lenny/updates main non-free

Install the FHoSS from our repository:

apt-get install openimscore-fhoss

Create the data in the database:

mysql -uroot -p < /etc/fhoss/sql_files/hssdb.sql

Add some sample data, if you like:

mysql -uroot -p < /etc/fhoss/sql_files/userdata.sql

The Webinterface should be reachable on port “8080″.

The following config files (/etc/fhoss) may be of interest:

  • DiameterPeerHSS.xml: The Diameter Interconnects and listening IP definition
  • hss.properties: The listening IP definition for the Web-Interface
  • hibernate.properties: The database interconnection for the HSS
  • conf/tomcat-users.xml: Usernames and Passwords for the Web-User (default Username is: “hssAdmin” and password “hss”)

Note: You will need to restart the FHoSS (“/etc/init.d/openimscore-fhoss restart”) in order to apply changes.