INSTALLATION Complete Asterisk-OpenImsCore
INSTALLATION Complete Asterisk-OpenImsCore
INSTALLATION Complete Asterisk-OpenImsCore
--------------------Asterisk et openImscore------------
Asterisk:
DEPENDANCES:
ASTERISK:
OpenImscore:
DEPENDANCES:
sudo apt-get install libcurl4-gnutls-dev bison curl debhelper cdbs lintian build-
essential fakeroot devscripts pbuilder dh-make debootstrap dpatch flex libxml2-dev
libmysqlclient-dev ant docbook-to-man ipsec-tools subversion mysql-server-5.5
mkdir ser_ims
svn checkout https://svn.code.sf.net/p/openimscore/code/ser_ims/trunk/ ser_ims
cd FHoSS
sudo ant compile deploy
sudo sed -i 's/JAVA_HOME\/bin\/java/JAVA_HOME\/usr\/bin\/java/g' deploy/startup.sh
cd ..
--------------- Copy databases to sql server---------
mysql -u root -p -h localhost < ser_ims/cfg/icscf.sql
mysql -u root -p -h localhost < FHoSS/scripts/hss_db.sql
mysql -u root -p -h localhost < FHoSS/scripts/userdata.sql
---------------------We need to ensure that the DNS server can be contacted from
our PC, which is why we edit the file / etc / resolv.conf and add the following
lines:----------------------
search open-ims.test
nameserver 127.0.0.1
ping-pcscf.open-ims.test
As a rule, we get an answer. If the ping does not work, restart the network
interface (localhost) or attiviamola, in the case has not been activated:
sudo / etc / init.d / networking restart
gedit ~ /. bashrc
Glue the end the following string:
export CLASSPAT=.$JAVA_HOME/lib:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:/usr/lib/jvm/java-6-sun/lib
save and close the file. Launch:
source ~ /. bashrc
to apply the changes to environment variables.
Compile using the following commands FHoSS