This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:ims:installation-howto [2013/08/23 17:14] carstenbock [Configuration of the repository (All nodes)] |
tutorials:ims:installation-howto [2013/08/28 11:02] carstenbock [Installation of the FHoSS] |
||
---|---|---|---|
Line 1: | Line 1: | ||
**Note: This document is work in progress and yet unfinished!** | **Note: This document is work in progress and yet unfinished!** | ||
- | This is a short installation howto for Debian Squeeze (old-stable). It should work as well with current stable, but that has not yet been tested. | + | This is a short installation howto for Debian Squeeze |
This installation howto has been derived from here: http:// | This installation howto has been derived from here: http:// | ||
Line 21: | Line 21: | ||
Copy the open-ims-DNS file to the bind folder and add these lines to / | Copy the open-ims-DNS file to the bind folder and add these lines to / | ||
- | zone "open-ims.test" { | + | zone "kamailio-ims.org" { |
type master; | type master; | ||
- | file "/ | + | file "/ |
}; | }; | ||
+ | | ||
+ | **You can find a very basic dnszone-file in " | ||
| | ||
//You will need to restart bind for these changes to take effect.// | //You will need to restart bind for these changes to take effect.// | ||
Line 32: | Line 34: | ||
Check that this all works. Try a ping and see if you get a response: | Check that this all works. Try a ping and see if you get a response: | ||
- | ping pcscf.open-ims.test | + | ping pcscf.kamailio-ims.org |
====== Installation of the Kamailio-IMS-Packages ====== | ====== Installation of the Kamailio-IMS-Packages ====== | ||
Line 50: | Line 52: | ||
And update the available packets: | And update the available packets: | ||
- | apt-get update | + | |
- | + | ===== Installation of Proxy-/ | |
- | ===== Proxy-CSCF ===== | + | |
Install the modules: | Install the modules: | ||
Line 58: | Line 59: | ||
apt-get install kamailio kamailio-ims-modules kamailio-presence-modules kamailio-sqlite-modules kamailio-tls-modules kamailio-xml-modules kamailio-xmlrpc-modules | apt-get install kamailio kamailio-ims-modules kamailio-presence-modules kamailio-sqlite-modules kamailio-tls-modules kamailio-xml-modules kamailio-xmlrpc-modules | ||
- | If you want to have an RTP-Proxy/ | + | If you want to have an RTP-Proxy/ |
+ | |||
+ | apt-get install ngcp-mediaproxy-ng | ||
+ | | ||
For I-CSCF you will also need a database structure: | For I-CSCF you will also need a database structure: | ||
- | mysql -uroot -p < icscf.sql | + | |
(on the database server) | (on the database server) | ||
+ | ===== Configuration of the network entities ===== | ||
- | Copy the required config to kamailio.cfg (e.g. pcscf.cfg), adapt the config to your needs (change " | + | You find the according configs in the examples folder of Kamailio (Trunk). For the Proxy-CSCF, use the configurations in examples/ |
+ | |||
+ | The configuration for each server consists of minimum two files: | ||
+ | * kamailio.cfg | ||
+ | * pcscf.cfg / icscf.cfg / scscf.cfg - inidividual configurations for the P-/ | ||
+ | * pcscf.xml / icscf.xml / scscf.xml - Diameter configurations | ||
+ | |||
+ | Copy the required config files to your / | ||
Finally, you should edit the "/ | Finally, you should edit the "/ | ||
Line 71: | Line 83: | ||
Now the Component should be able to start: | Now the Component should be able to start: | ||
- | pcscf:/# / | + | |
- | Starting kamailio: kamailioloading modules under / | + | Starting kamailio: kamailioloading modules under / |
- | Listening on | + | Listening on |
udp: 109.239.50.67: | udp: 109.239.50.67: | ||
tcp: 109.239.50.67: | tcp: 109.239.50.67: | ||
- | Aliases: | + | |
tcp: pcscf:5060 | tcp: pcscf:5060 | ||
udp: pcscf:5060 | udp: pcscf:5060 | ||
*: pcscf.ng-voice.com: | *: pcscf.ng-voice.com: | ||
+ | * | ||
And voila: Your component is running! | And voila: Your component is running! | ||
+ | ====== Installation of the FHoSS ====== | ||
- | Installation of the FHoSS | + | The Fraunhofer HSS (FHoSS) requires the original Java from Oracle/Sun. Using OpenJDK won't work. |
+ | |||
+ | ==== Install Sun Java (on Lenny) ==== | ||
Note: You will need to add the “non-free” packages to your repository: | Note: You will need to add the “non-free” packages to your repository: | ||
- | deb http:// | + | |
- | deb http:// | + | deb http:// |
+ | |||
+ | ==== Install Oracle Java (on Squeeze) ==== | ||
+ | |||
+ | Oracle Java is no longer available in the official repository. However, there are several ways to install Oracle Java, here is one possible way: | ||
+ | |||
+ | * http:// | ||
+ | |||
+ | === Install the FHoSS === | ||
Install the FHoSS from our repository: | Install the FHoSS from our repository: | ||
- | apt-get install openimscore-fhoss | + | |
Create the data in the database: | Create the data in the database: | ||
- | mysql -uroot -p < / | + | |
Add some sample data, if you like: | Add some sample data, if you like: | ||
- | mysql -uroot -p < / | + | |
The Webinterface should be reachable on port “8080″. | The Webinterface should be reachable on port “8080″. | ||
The following config files (/ | The following config files (/ | ||
- | DiameterPeerHSS.xml: | + | * DiameterPeerHSS.xml: |
- | hss.properties: | + | |
- | hibernate.properties: | + | |
- | conf/ | + | |
- | Note: You will need to restart the FHoSS (“/ | + | |