So... I've been working on installing Kamailio 3.0.1 on a test server to begin migration from SER 0.9.6 (yes, I know it will be a bit of a migration).
The INSTALL docs are... not perfect if working with the source (and not a package). Following the instructions did not get me mysql support. There were files that didn't install where they needed to be that I had to move over by hand -- none of which is mentioned in the docs. Even after removing the db_mysql from the list of excluded modules, it BUILT the module, but didn't install it.
I also used a different DB name, username, and password from the default (to match more closely the environment we'll be migrating from). After tinkering, I got the DB scripts to run with the right username/pass, and have now edited the kamctlrc and kamailio.cfg to have the proper db name, username, pass, etc.
However, when I try and start kamailio, it fails, and the log spits out a bunch of access denied messages using the original, default username/pass (openserro@localhost). My question is, where is that password located? What file have I missed?
N.
1. There is DB configuration in provisioning tools (e.g. kamctlrc)
2. There is DB configuration of Kamailio modules. Every modules that uses DB conections can be configured with a different DB URL. Thus, you have to configure the DB URL for every module you use, e.g:
modparam("domain", "db_url", "mysql://openser:openserrw@localhost/openser") modparam("uri_db|alias_db", "db_url", "mysql://openser:openserrw@localhost/openser") modparam("avpops", "db_url", "mysql://openser:openserrw@localhost/openser")
You can also combine this on one commands (regexp-syntax):
modparam("domain|uri_db|alias_db|avpops","db_url", "mysql://openser:openserrw@localhost/openser")
regards klaus
SIP wrote:
So... I've been working on installing Kamailio 3.0.1 on a test server to begin migration from SER 0.9.6 (yes, I know it will be a bit of a migration).
The INSTALL docs are... not perfect if working with the source (and not a package). Following the instructions did not get me mysql support. There were files that didn't install where they needed to be that I had to move over by hand -- none of which is mentioned in the docs. Even after removing the db_mysql from the list of excluded modules, it BUILT the module, but didn't install it.
I also used a different DB name, username, and password from the default (to match more closely the environment we'll be migrating from). After tinkering, I got the DB scripts to run with the right username/pass, and have now edited the kamctlrc and kamailio.cfg to have the proper db name, username, pass, etc.
However, when I try and start kamailio, it fails, and the log spits out a bunch of access denied messages using the original, default username/pass (openserro@localhost). My question is, where is that password located? What file have I missed?
N.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Klaus,
I've done that, I thought. But I'll check and see if I missed a module. Thanks for the pointer. It's been five years since I've really looked at installing a SIP server. I'm bound to have forgotten a detail here or there.
N.
Klaus Darilion wrote:
There is DB configuration in provisioning tools (e.g. kamctlrc)
There is DB configuration of Kamailio modules. Every modules that
uses DB conections can be configured with a different DB URL. Thus, you have to configure the DB URL for every module you use, e.g:
modparam("domain", "db_url", "mysql://openser:openserrw@localhost/openser") modparam("uri_db|alias_db", "db_url", "mysql://openser:openserrw@localhost/openser") modparam("avpops", "db_url", "mysql://openser:openserrw@localhost/openser")
You can also combine this on one commands (regexp-syntax):
modparam("domain|uri_db|alias_db|avpops","db_url", "mysql://openser:openserrw@localhost/openser")
regards klaus
SIP wrote:
So... I've been working on installing Kamailio 3.0.1 on a test server to begin migration from SER 0.9.6 (yes, I know it will be a bit of a migration).
The INSTALL docs are... not perfect if working with the source (and not a package). Following the instructions did not get me mysql support. There were files that didn't install where they needed to be that I had to move over by hand -- none of which is mentioned in the docs. Even after removing the db_mysql from the list of excluded modules, it BUILT the module, but didn't install it.
I also used a different DB name, username, and password from the default (to match more closely the environment we'll be migrating from). After tinkering, I got the DB scripts to run with the right username/pass, and have now edited the kamctlrc and kamailio.cfg to have the proper db name, username, pass, etc. However, when I try and start kamailio, it fails, and the log spits out a bunch of access denied messages using the original, default username/pass (openserro@localhost). My question is, where is that password located? What file have I missed?
N.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users