tutorials:ims:installation-howto
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:ims:installation-howto [2013/07/22 16:34] – created carstenbock | tutorials:ims:installation-howto [2021/12/23 08:08] (current) – henningw | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **Note: This document is now (2021) outdated, as the IMS packages have been integrated into the common Kamailio repository ** | ||
+ | |||
**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 | + | This is a short installation howto for Debian |
This installation howto has been derived from here: http:// | This installation howto has been derived from here: http:// | ||
Line 21: | Line 23: | ||
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 36: | ||
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 |
+ | |||
+ | If you can not ping by DNS address, try: | ||
+ | |||
+ | host pcscf.kamailio-ims.org | ||
+ | |||
+ | If the DNS address resolved to IP address currectly. You may need to update your "/ | ||
+ | [[https:// | ||
====== Installation of the Kamailio-IMS-Packages ====== | ====== Installation of the Kamailio-IMS-Packages ====== | ||
Line 44: | Line 56: | ||
Then add the repository to your "/ | Then add the repository to your "/ | ||
- | echo "deb http:// | + | echo "deb http:// |
- | And update the available packets: | + | NOTE: |
+ | * The repository is 64 Bit only | ||
+ | * we do have packages for Debian 7, Debian 8 (jessie) and Ubuntu LTS (trusty) | ||
+ | * the packages are updated regularly from trunk | ||
- | | + | And update |
- | ===== Proxy-CSCF ===== | + | apt-get update |
+ | ===== Installation of Proxy-/ | ||
Install the modules: | Install the modules: | ||
- | 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-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 ===== | ||
+ | |||
+ | 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 - the main configuration-file (general for each entity) | ||
+ | * pcscf.cfg / icscf.cfg / scscf.cfg - inidividual configurations for the P-/ | ||
+ | * pcscf.xml / icscf.xml / scscf.xml - Diameter configurations | ||
- | Copy the required config to kamailio.cfg | + | Copy the required config |
Finally, you should edit the "/ | Finally, you should edit the "/ | ||
Line 69: | Line 96: | ||
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 Fraunhofer HSS ====== | ||
- | 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-Packages ===== | ||
+ | |||
+ | Add our repository to your "/ | ||
+ | |||
+ | echo "deb http:// | ||
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 (“/ | + | |
tutorials/ims/installation-howto.1374510880.txt.gz · Last modified: 2013/07/22 16:34 by carstenbock