SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
SaturnusDJOffline



Joined: Nov 16, 2008
Posts: 4

Status: Offline
Posted: Nov 16, 2008 - 04:54 PM Reply with quote Back to top
Ok I'm using Ubuntu 8.04LTS Desktop Alternate here.
This is what I did:
1. Installed needed software:
Code:
sudo apt-get install subversion
sudo apt-get install gcc
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install libmysqlclient15-dev
sudo apt-get install make


2. Downloaded the noTLS from here: http://www.kamailio.org/pub/kamailio/1.4.2/src/ to the desktop.
3. Used
Code:
sudo tar xvzf kamailio-1.4.2-notls_src.tar.gz
to extract.
4. Did
Code:
cd kamailio-1.4.2-notls
to enter dir.
5. Did
Code:
make clean

make all include_modules="mysql"
make prefix=/usr/local install include_modules="mysql"
as told her for OpenSER: http://consciencespeaks.blogspot.com/20 ... enser.html
6. Editted /usr/local/etc/kamailio/kamctlrc so
Code:
# DBENGINE=MYSQL
became
Code:
DBENGINE=MYSQL

7.
Code:
sudo /usr/local/sbin/kamdbctl create


But got this ERROR:
Code:
ERROR: could not load the script in /usr/local/lib/kamailio/kamctl/kamdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL'


What's wrong? :S
View user's profile Send private message
SaturnusDJOffline



Joined: Nov 16, 2008
Posts: 4

Status: Offline
Posted: Nov 16, 2008 - 05:25 PM Reply with quote Back to top
Note:
It is not necessary to fix this specific problem. All I want is a working SIP Proxy/Kamailio.
View user's profile Send private message
SaturnusDJOffline



Joined: Nov 16, 2008
Posts: 4

Status: Offline
Posted: Nov 16, 2008 - 08:22 PM Reply with quote Back to top
Fixed!
Followed http://www.kamailio.org/dokuwiki/doku.p ... r-from-svn from step 3 with some personal modifications. (Kamailio instead of OpenSER and some more.)
View user's profile Send private message
henkoegemaOffline



Joined: Oct 19, 2006
Posts: 9

Status: Offline
Posted: Mar 30, 2009 - 12:31 PM Reply with quote Back to top
SaturnusDJ :
Fixed!
Followed http://www.kamailio.org/dokuwiki/doku.p ... r-from-svn from step 3 with some personal modifications. (Kamailio instead of OpenSER and some more.)



I also followed the link above, but still I got:


Code:

ERROR: could not load the script in /usr/local/lib/kamailio/kamctl/kamdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL'


In the doc. is also written:
.........
Find the variable containing the list with to excluded module. The line is starting with:
exclude_modules?=
Remove the 'mysql' string from the list. Save the Makefile and exit.

But the string isn't even in the list.
View user's profile Send private message
micondaOffline



Joined: Feb 02, 2007
Posts: 356
Location: Germany
Status: Offline
Posted: Mar 31, 2009 - 02:34 PM Reply with quote Back to top
the mysql modules has been renamed to db_mysql.

Installing version 1.5.0 has another tutorial:
http://www.kamailio.org/dokuwiki/doku.p ... x-from-svn
View user's profile Send private message
henkoegemaOffline



Joined: Oct 19, 2006
Posts: 9

Status: Offline
Posted: Apr 02, 2009 - 03:39 PM Reply with quote Back to top
miconda :
.........
Installing version 1.5.0 has another tutorial:
http://www.kamailio.org/dokuwiki/doku.p ... x-from-svn


Yes, that helps. Tnx.
View user's profile Send private message
henkoegemaOffline



Joined: Oct 19, 2006
Posts: 9

Status: Offline
Posted: Apr 03, 2009 - 11:24 AM Reply with quote Back to top
miconda :

.......
http://www.kamailio.org/dokuwiki/doku.p ... x-from-svn


During installation I have reached step 8 in the above documentation

If you changed the password for the 'openser' user of MySQL, you have to update the value for 'db_url' parameters.


Is it this part I have to uncomment ? (I have changed the passwword of user openser and openserro)
:

Code:
# ----- auth_db params -----
/* uncomment the following lines if you want to enable the DB based
   authentication */
#a#modparam("auth_db", "calculate_ha1", yes)
#a#modparam("auth_db", "password_column", "password")
#a#modparam("auth_db", "db_url",
#a#     "mysql://openser:openserrw@localhost/openser")
#a#modparam("auth_db", "load_credentials", "")
View user's profile Send private message
micondaOffline



Joined: Feb 02, 2007
Posts: 356
Location: Germany
Status: Offline
Posted: Apr 07, 2009 - 03:07 PM Reply with quote Back to top
Depending on what modules you need to be connected to database. If you want the auth_db, then yes.

Read the top of the config file, you have comments with how to use sed command to enable some features set.
View user's profile Send private message
henkoegemaOffline



Joined: Oct 19, 2006
Posts: 9

Status: Offline
Posted: Apr 07, 2009 - 09:46 PM Reply with quote Back to top
miconda :
Depending on what modules you need to be connected to database. If you want the auth_db, then yes.

Read the top of the config file, you have comments with how to use sed command to enable some features set.


If you changed the password for the 'openser' user of MySQL, you have to update the value for 'db_url' parameters.


I don't know which db_url parameters I have to update.
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.